Migration for Integer Overflow Problem
Cashfree sends a few parameters as numbers in API calls, SDKs and Webhooks. For instance -
cf_order_id
, cf_payment_id
and cf_settlement_id
- cf_order_id is a part of Order Entity.
- cf_payment_id is a part of Payment Entity.
- cf_settlement_id is a part of Settlement Entity(Check response).
This number will soon go beyond the limit of the maximum allowed integer value for most platforms - APIs, SDKs, Webhooks. If not handled correctly, this will lead to integer overflow problems at your end.
You need to handle this at your end by fixing your code and infrastructure such that the integer overflow problem does not hamper your payments experience. Hence, we kindly request you to make required changes, if any.
You can view the below list to identify the impact and change required.
Integration | Impacted ? | Resolution | |
---|---|---|---|
API | All Versions | Yes | Merchant to handle this in their implementation |
Client SDKs | JS SDK | No | |
Android SDK (All Versions) | No | ||
iOS SDK (All Versions) | No | ||
React Native SDK | No | ||
Flutter SDK | No | ||
Backend SDKs | PHP | No | |
Java | Yes | Update their java sdk to version 2.1.0 | |
Go | Yes | Update to go sdk to version 2.1.1 | |
.Net | Yes | Update to .net sdk to versio 2.1.0 | |
Python | No | ||
NodeJS | No | ||
Plugins | All Plugins | No | |
Webhooks | All Versions | Yes | Merchant to handle this in their implementation |
To check you integration and version, you can go to Merchant Dashboard > Developers > Integration Usage. Click here how to check your integration usage.
Updated 12 months ago