Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save card feature is not working in Test Mode. #74

Open
rishabhunthinkable opened this issue Jun 11, 2024 · 2 comments
Open

Save card feature is not working in Test Mode. #74

rishabhunthinkable opened this issue Jun 11, 2024 · 2 comments

Comments

@rishabhunthinkable
Copy link

I am trying to save card on the Razorpay and as per the documentation i am supposed to follow 2 major steps.

  1. Create customer on Razorpay.
  2. Pass save as "1" and customer_id which start with 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);

@rishabhunthinkable rishabhunthinkable changed the title Save card feature is not working. Save card feature is not working in Test Mode. Jun 11, 2024
@ankitgupta-unthinkable
Copy link

+1

1 similar comment
@ashutosh-gupta5426
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants