-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
fix(medusa-payment-stripe): missing transaction on create payment #2603
Conversation
🦋 Changeset detectedLatest commit: 4d922d7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
/snapshot-this |
ready just to trigger the snap |
f050593
to
b059897
Compare
b059897
to
45ab3da
Compare
/snapshot-this |
🚀 A snapshot release has been made for this PRTest the snapshots by updating your yarn add @medusajs/medusa@0.0.0-snapshot-20221114155607 yarn add medusa-payment-stripe@0.0.0-snapshot-20221114155607
|
@adrien2p Snapshot is ready 💪 |
|
Yes, that is very likely! We are currently testing in staging. Feel free to give the snapshot version a go - the more tests, the merrier. |
Okay. We talk about it here - https://discord.com/channels/876835651130097704/1041669823043731466 |
No, it's still giving me errors. |
/snapshot-this |
🚀 A snapshot release has been made for this PRTest the snapshots by updating your yarn add @medusajs/medusa@0.0.0-snapshot-20221114182648 yarn add medusa-payment-stripe@0.0.0-snapshot-20221114182648
|
@LWJerri can you try the last snap |
Sure, 1 min. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Waiting for @LWJerri to run a test as well 💪
No, still get this error ;( |
I still think @LWJerri issue is a race condition between stripe webhook completing the cart and storefront completing the cart. |
I also restarted all services (back, front, admin)
|
@LWJerri Have you set up the Stripe webhook for the plugin? |
Yes. |
We can meet in Discord channel and I show you my code. |
When he disabled webhook, then it worked for him. |
Yes the amount capturable updated webhook need to be disabled for now. Is that the one? |
Alright, let's proceed in Discord. Can I get you to create a fresh entry in the help forum? I think we should keep it out of this PR |
What
Add missing transaction in the new stripe base service.
Also, now there is a number of intents equal to the number of expected sessions based on the number of providers instead of for example 3 payment intents for 2 providers.
The number of customers created on stripe is still equal to the number of intent when they are meant for different payment providers such as stripe + stripe blik
FIXES CORE-787