-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Stripe webhook handler is failing #10092
Comments
It's not working for me also...
|
Thanks for opening a ticket, we'll have a look into it. |
@sradevski I forgot to mention that when I've integrated stripe, |
Hey @DiegoRam, could you please update your issue to follow our bug report template? Would make it a whole lot easier for us to help out 🙏 |
What Medusa version and documentation are you using?
v2
Preliminary Checks
Issue Summary
I've integrated stripe successfully following through all docs, but I think I missing the happy path.
resolve: "@medusajs/medusa/payment", options: { providers: [ { resolve: "@medusajs/medusa/payment-stripe", id: "stripe", options: { apiKey: process.env.STRIPE_API_KEY, webhookSecret: process.env.STRIPE_WEBHOOK_SECRET }, },
this is my medusa-config.ts entry
But on DB it's created the payment provider with this ID
pp_stripe_stripe
problem im getting into is on handler webhooks actually
When stripe sends me a new event like payment_intent.succesful, logs are reporting me this
{"level":"error","message":"An error occurred while processing payment.webhook_received: Error: Could not find a payment provider with id: pp_stripe","timestamp":"2024-11-13 19:59:05"} do_app_name:starfish-app do_component_name:aec-chile-backend _id:cKobJ5MBaBimwrJera5c _type: - _index:logs _score: -
please notice payment provider id reported:
pp_stripe
Where I should keep looking for the issue?
How can this issue be resolved?
...
Are you interested in working on this issue?
The text was updated successfully, but these errors were encountered: