Migration to latest Version
We have released our latest version 2022-09-01 to make our integration more secure for merchants and customers to use. In the this latest version, we have revamped the integration method for using our pre-built checkout and made some changes in our SDKs.
Following are the key changes made in the latest version. Please check respective pages for detailed changes.
- Create Order API Change
Deprecated use of order_token and payment_link from our APIs and instead introducedpayment_session_id
in response of Create Order APIs. Hence, you can not redirect the customer to the checkout page just by using the API. You'll need to use our JS SDK for starting checkout. - New Javascript SDK
Released new improvised JS SDK which will take inpayment_session_id
to redirect to checkout. This is a single SDK which can be used to either redirect the customer to checkout or render components check JS Component Integration. - New Order Pay API
New endpoint for order pay API is released. This will takepayment_session_id
as body parameter instead oforder_token
- New SDKs
Going forward, all SDKs will usepayment_session_id
instead oforder_token
to complete the payment. - Whitelisting of domain name/package name
All new integrations require whitelisting of domain or app package from where the checkout page is being opened. If you're using web integration, please whitelist your website domain name. If you're using a mobile app, please whitelist the app package name
You can check step-by-step process of making whitelisting request here.
INTEGRATION TOOLKIT
Try our IntegrationIntegration Migration
Integration | Old Integration doc | Migration Required? | New Integration doc |
---|---|---|---|
Android SDK (V1) | doc | Yes | new doc How to migrate |
Android SDK (V2) | doc | Yes | new doc How to migrate |
iOS SDK (V1) | doc | Yes | new doc |
iOS SDK (V2) | doc | Yes | new doc |
Flutter SDK (V1) Drop | doc | Yes | new doc |
Flutter SDK (V2) Drop | doc | Yes | new doc |
ReactNative SDK (V1) Drop | doc1 doc2 | Yes | new doc |
ReactNative SDK (V2) Drop | doc | Yes | new doc |
Standard Checkout | doc | Yes | new doc How to migrate |
Seamless Pro | doc | Yes | new doc |
PG APIs (V0) | Yes | new doc How to migrate | |
PG APIs(V1+V2) Using cashfree's hosted checkout page | doc1 doc2 | Yes | new doc How to migrate |
Updated 5 days ago