-
-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
checkout breaks when Paystack is the only payment provider #278
Comments
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. |
I have the same problem.
It is clear that the bad request made to Paystack third-party, as reported by @nathaniel1616, causes In the API documentation, it is mentioned that
However, it is not clear to me why the foregoing request to third-party only occurs when there is one provider and not when there are more providers. Is this what it means to "select by default"? @VariableVic is there any reasonable way to disable this default selection? Perhaps understanding this would make for a better fix than what I have provided. |
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: