Open rishabhunthinkable opened 5 months ago
I am trying to save card on the Razorpay and as per the documentation i am supposed to follow 2 major steps.
save
"1"
customer_id
cust_
After following these 2 steps the payment for the order gets successfully completed but the cards are not saved.
Card No: 4111 1111 1111 1111 CVV: 123 Exp. Date: 01/39 OTP: 1111 Card Network: Visa
Map<String,dynamic> params = { 'key': secreteKey, 'amount': amount, 'card[cvv]': cvv, 'card[expiry_month]': expMonth, 'card[expiry_year]': expYear, 'card[name]': cardName, 'card[number]': cardNumber, 'currency': currency, 'email': email, 'contact': contactNumber, 'description': desc, 'method': 'card', "order_id": orderId, 'customer_id':'cust_', 'save':'1' };
_razorpay.submit(params);
+1
I am trying to save card on the Razorpay and as per the documentation i am supposed to follow 2 major steps.
save
as"1"
andcustomer_id
which start withcust_
.After following these 2 steps the payment for the order gets successfully completed but the cards are not saved.
Card No: 4111 1111 1111 1111 CVV: 123 Exp. Date: 01/39 OTP: 1111 Card Network: Visa
Map<String,dynamic> params = { 'key': secreteKey, 'amount': amount, 'card[cvv]': cvv, 'card[expiry_month]': expMonth, 'card[expiry_year]': expYear, 'card[name]': cardName, 'card[number]': cardNumber, 'currency': currency, 'email': email, 'contact': contactNumber, 'description': desc, 'method': 'card', "order_id": orderId, 'customer_id':'cust_', 'save':'1' };
_razorpay.submit(params);