You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checkout page works fine when there are two payment provider.
When I select , paystack only as the only payment provider , I get this error at the backend
error: Error from Paystack API with status code 400: Invalid Email Address Passed
Error: Error from Paystack API with status code 400: Invalid Email Address Passed
at Paystack. (C:\Users\nat\medusa\my-medusa-store\node_modules\medusa-payment-paystack\dist\lib\paystack.js:121:35)
at step (C:\Users\nat\medusa\my-medusa-store\node_modules\medusa-payment-paystack\dist\lib\paystack.js:33:23)
I found a similar issue solved on Stripe on issue here #261
I would like to see an implementation with paystack.
The text was updated successfully, but these errors were encountered:
I don't know the specifics of your setup, but it looks like you're trying to initiate a Paystack payment when there's no email address available yet.
The solution will be similar to my Stripe example you mentioned.
When you have only one payment provider active, Medusa will select it by default when you check out. Make sure you're not trying to initiate e.g. PaystackPop.setup before the customer email and order amount are available. You might want to add specific conditions to the checkout flow to fit your use case.
I am using medusa-paystack plugin at medusa.
https://medusajs.com/plugins/medusa-payment-paystack
Checkout page works fine when there are two payment provider.
When I select , paystack only as the only payment provider , I get this error at the backend
error: Error from Paystack API with status code 400: Invalid Email Address Passed
Error: Error from Paystack API with status code 400: Invalid Email Address Passed
at Paystack. (C:\Users\nat\medusa\my-medusa-store\node_modules\medusa-payment-paystack\dist\lib\paystack.js:121:35)
at step (C:\Users\nat\medusa\my-medusa-store\node_modules\medusa-payment-paystack\dist\lib\paystack.js:33:23)
I found a similar issue solved on Stripe on issue here #261
I would like to see an implementation with paystack.
The text was updated successfully, but these errors were encountered: