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 flow stripe: An error occurred in InitiatePayment during the creation of the stripe payment intent #7111
Comments
I think you should validate that your stripe account accepts all the payment methods you are asking for. Or, in effect, that you have them authorized to receive payments in that way. |
I have a very similar or the same error. In my case I am implementing stripe but manually not through the plugin. Error in backend: |
@davidparys Some update about this issue? |
I have at the moment resigned from the providers that did not work I am not sure how to approach this issue. Your issue seems a little bit more different as medusa needs to know that the payment session has been completed, I suppose there are some stripe.api involved to see if the payment_session has been finished when you call the complete cart function |
|
@davidparys Can you verify that all paymet providers are installed? |
Bug report
Describe the bug
Hello, I am having a little bit of an issue, currently building a storefront with the js-client, and I am creating a checkout session with the stripe provider, I am running into the following issue when:
$medusa.carts.createPaymentSessions
(as per doc + stripe module) for my cart ID, I received the followingpayment_sessions
in my cart:As you can see some of these have the
data
object, and some don't, and this is problematic for$medusa.carts.setPaymentSession
as this needs a client_secret for my Stripe Elements to load up, so the ones that have data work perfectly fine and the ones that don't obviously throw an error message.Unfortunately not much more in the medusa logs.
It is not mentioned in the stripe module docs how to deal with
stripe-xxx
payment providers,Any clues?
System information
Medusa version (including plugins): 1.20.4 / stripe: 6.0.9
Node.js version: v21.6.1
Database: Postgre
The text was updated successfully, but these errors were encountered: