Open hadi7khan opened 3 months ago
@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
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': 'test@email.com'}, '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