Description
The Razorpay documentation for creating a payment payload does not include the remember_customer parameter, which is required to remember the customer for future payments.
Razorpay SDK Version :
com.razorpay:checkout:1.6.41
Android OS Version :
Occurs across all Android versions.
What you did:
Followed the documentation to create a payment payload using save = "1" to remember the card details.
What happened:
The card details was not remembered for subsequent transactions, even though save = "1" was set.
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
- Integrate Razorpay Checkout as per documentation.
- Create a JSONObject payload as shown in the docs, including save = "1".
- Complete a payment.
- Try initiating another payment for the same customer.
- Customer is not remembered.
Suggested solution:
Please update the documentation to include the missing parameter:
payload.put("remember_customer", "1")