tolu360 / cordova-plugin-paystack

This plugin allows to add Paystack Payments to your application using Paystack Native Mobile SDKs for Android & iOS
Other
34 stars 16 forks source link

Possible cause of "Invalid token" #6

Closed darmie closed 7 years ago

darmie commented 7 years ago

Hi,

Token generated by this plugin is being returned as invalid when I try to charge the token.

{"data":{"status":false,"message":"Invalid Token"}

What could be the cause? I didn't find any explanation on Paystack docs.

tolu360 commented 7 years ago

I'm hoping it was a one-off occurrence, please try again. I just obtained and charged a token successfully few minutes ago. Also bear in mind you can only charge a token once - no re-use. If the issue persists, you can mention it on the Paystack Slack channel to see if anyone has had issues charging mobile tokens.

darmie commented 7 years ago

Yes you are right, it was a one off experience.

On Mon, 7 Nov 2016, 10:39 Tolu Olowu, notifications@github.com wrote:

I'm hoping it was a one-off occurrence, please try again. I just obtained and charged a token successfully few minutes ago. Also bear in mind you can only charge a token once - no re-use. If the issue persists, you can mention it on the Paystack Slack channel to see if anyone has had issues charging mobile tokens.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tolu360/cordova-plugin-paystack/issues/6#issuecomment-258788420, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzwgqV9oSeWzsPoO_sCRR--fMj-BlVRks5q7vHBgaJpZM4KqmSP .