Skip to content

Conversation

@maxparkergene
Copy link
Contributor

When we switched over to use the PayPal SDK the callback for createOrder wasn't being set so it defaults to the fallback version which sends a single penny value to PayPal.

Updated the patch to use a proper create order with the values that are passed in through configuration when creating the Braintree drop in.

Also the onAuthorize callback isn't used by PayPal's SDK and instead it uses the onApprove callback which we've duplicated so that the correct method is used.

maxparkergene and others added 3 commits July 31, 2025 15:31
…mount

When we switched over to use the PayPal SDK the callback for createOrder wasn't being set so it defaults to the fallback version which sends a single penny value to PayPal.

Updated the patch to use a proper create order with the values that are passed in through configuration when creating the Braintree drop in.

Also the `onAuthorize` callback isn't used by PayPal's SDK and instead it uses the `onApprove` callback which we've duplicated so that the correct method is used.
@maxparkergene maxparkergene requested a review from pdredge July 31, 2025 14:33
@maxparkergene maxparkergene merged commit 0b9c9e8 into release/1.3.2 Jul 31, 2025
2 checks passed
@maxparkergene maxparkergene deleted the hotfix/paypal-create-order-amount branch July 31, 2025 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants