-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
PayPal payment session not being updated after cart is updated #8455
Comments
PR which fixes this: #8456 |
Thanks for the fix! 💪 |
Hi @srindom @carlos-r-l-rodrigues , having a similar bug, but instead of editing the quantity for the item I get it after adding another item or a shipping method looking into the code I think this update wasn't published |
@olivermrbl #8455 is missing a changeset and wasn't included in the release. Thanks @ximenadev for the heads up |
Correction: We haven't published these changes yet. Will do that today. |
Node: 18
Medusa 1.20.9,
PayPal plugin: 6.0.4
OS: MacOS
Steps to reproduce:
The call to PayPal API is happening OK in
PayPalProvider.updatePayment()
but the PayPal order ID does not reflect the new value.In PayPal console, the PATCH request which is supposed to update the amount to $20 has no data associated with it:
This makes sense as it's calling patch order in the paypal-sdk file and that doesn't send any data (even though data is passed into it):
Perhaps the fix is to actually pass the data into the call?
The text was updated successfully, but these errors were encountered: