-
Notifications
You must be signed in to change notification settings - Fork 151
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
Razorpay subscriptions in flutter not working #396
Comments
@hadi7khan Can you share the error message you receive? |
Payment failed error shows on Razorpay. My options payload is correct? |
@vivekshindhe Can you please share how to implement Razorpay subscriptions in flutter? I did everything that the docs say but it's not working. |
it's not working. Payment failed |
Please check your live key with your backend team. The issue will be resolved |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to use recursive payments in Flutter using razorpay subscriptions. I have created plans and subscriptions on Razopay dashboard. When i try to subscribe to it in flutter it throws an error that payment failed.
Here's my code:
amount = amount * 100; var options = { 'key': key, 'subscription_id': subcriptionId, 'amount': amount, 'name': 'Subscription', 'description': 'Live Payment', 'retry': {'enabled': true, 'max_count': 3}, 'prefill': {'contact': 'number', 'email': '[email protected]'}, 'external': { 'wallets': [ 'paytm', 'phonepe', 'mobikwik', 'freecharge', 'airtelmoney', 'olamoney', 'jiomoney' ], } }; try { razorpay.open(options); } catch (e) { debugPrint('exception : $e'); }
What am I missing? When i use test key it is working fine. With live mode it is not working. Please help
The text was updated successfully, but these errors were encountered: