I am trying to create one time payment and then using the link to test it but it's getting failed and same thing happening in my code. I have node Js express server code where I have created api to get products from dodo payments and that object I have created using test mode api key but while calling that api it gives unauthorised error. **Note: Before It was working perfect. **
#Payment Failed
1 messages · Page 1 of 1 (latest)
Hey if you are using live mode you need to use live mode api key
Nope I am using test mode
Still let me check in dashboard.
Yes resolved. It got changed to live mode.
Thank you @livid adder
But payment is still getting failed @livid adder
Before I was able to payment using test mode details now all payments are getting failed. I have changed nothing. @livid adder Can you please help me
Payment failed as in payment link is not gettin generated?
No, payment link is generated. I am able to fill details like address and all but when I submit details of card which mentioned on docs after that steps it says transaction failed.
is this in live mode or test mode?
also what does the error message say? you can find it in the dashboard
test mode
are you using the test card to simulate the transaction?
Yes and in dashboard error message says Your card was declined.
what is the test card number you are using?