popekabu / pay_with_paystack

MIT License
9 stars 21 forks source link

Problem with credentials #2

Closed Samson11 closed 1 year ago

Samson11 commented 1 year ago

When i add my live secret key i get exception : Problem with Paystack Credentials

FergyKay commented 1 year ago

Running into same issue

Simulator Screen Shot - iPhone 12 mini - 2022-11-09 at 07 00 27

popekabu commented 1 year ago

Its may be an issue from paystack. Try again later if youre sure your paystack secret key is correct

I am testing mine again to see if its working

FergyKay commented 1 year ago

I have triple checked my credentials. I see you throw an exception of "problem with credentials" on any status code aside 200. How about the actual error code is returned for easy debugging?

popekabu commented 1 year ago

Plugin works but i will output the error out as youve suggested, expect an update latest by noon 1200GMT Screen Shot 2022-11-09 at 7 12 33 AM

FergyKay commented 1 year ago

Okay. Still debugging. Thanks a tonne, Mann!

popekabu commented 1 year ago

Mind you, reference number cannot be repeated

FergyKay commented 1 year ago

Yes I understand, it's not being repeated. Having the actual status code will provide some clarity and direction. Will be on standby for updated plugin

popekabu commented 1 year ago

v1.0.2 has been uploaded. It will be approved soon. Hope @FergyKay @Samson11 this update helps you fix your bugs now and in the future. I appreciate you!

popekabu commented 1 year ago

v1.0.2 is ready!! https://pub.dev/packages/pay_with_paystack/versions/1.0.2

Dont forget to star the plugin, thank you

FergyKay commented 1 year ago

🎊

Managed to debug to see API throwing errors as reference was longer than permitted length. v1.0.2 will really help with debugging. This can be closed now.