Learn more about integrating Cashfree SDK in your react native app
Web Checkout
UPI Intent Checkout
info.plist
file.
order_id
and payment_session_id
that you need for subsequent steps.
You can view all the complete api request and response for /orders
here.
Web Checkout
UPI Intent Checkout
CFSession
object.payment callback
.payment_session_id
) and order ID (order_id
) obtained from Step 1. It also specifies the environment (sandbox or production).
Web Checkout
doWebPayment()
to open the Cashfree checkout screen. This will present the user with the payment options and handle the payment process.UPI Intent Checkout
Web checkout
UPI Intent Checkout
/pg/orders
endpoint from your backend. You can also use our SDK to achieve the same.
Error Codes
ERROR CODES | MESSAGE | |
---|---|---|
MISSING_CALLBACK | The callback is missing in the request. | |
ORDER_ID_MISSING | The “order_id” is missing in the request. | |
SESSION_OBJECT_MISSING | The “session” is missing in the request | |
PAYMENT_OBJECT_MISSING | The “payment” is missing in the request | |
ENVIRONMENT_MISSING | The “environment” is missing in the request. | |
ORDER_TOKEN_MISSING | The “order_token” is missing in the request. |
(Optional) Enable logging to debugging issues
<integer name="cashfree_pg_logging_level">3</integer>
Following are the Logging levels.(Optional) Disable Quick Checkout in Payment Page
values.xml
file.<bool name="cf_quick_checkout_enabled">false</bool>
(Optional) Add Custom Analytics subscriber
<bool name="cashfree_custom_analytics_subscriber_enabled">true</bool>