-
Notifications
You must be signed in to change notification settings - Fork 123
Description
Library used
paypal-js & google pay
π Describe the Bug
For some reason, sandbox tests on our end were not able to proceed anymore because of googlepay_payment_error being thrown when calling paypal.Googlepay().confirmOrder(params) which then calls the sandbox.paypal.com/graphql?ApproveGooglePayPayment. Upon tracing the error, we saw that the graphql call is having a 500 error.
Surprisingly, when initial tests were done (since Oct 20) both on local and on a live staging server everything were okay except for today.
Preview tab is empty.
π¬ Minimal Reproduction
I'm sorry cannot reproduce a minimal app for reproduction as of now.
π Actual Behavior
paypal.Googlepay().confirmOrder(params) with correct params should proceed
π€ Expected Behavior
paypal.Googlepay().confirmOrder(params) calls to sandbox.paypal.com/graphql?ApproveGooglePayPayment is having a 500 error.
π Environment
- Node.js/npm: - v18.20.4
- OS: - Nobara Linux 42 (Workstation Edition) x86_64
- Browser: - Chrome Version 141.0.7390.54 (Official Build) (64-bit)
β Additional Context
Web app is a decoupled Laravel (api/backend) and a Quasar/Vue3 app on fe.
On the backend we use php package for calling to paypal apis for creation and capturing orders
- "srmklive/paypal": "~3.0"
On the frontend we use
- "@paypal/paypal-js": "^8.0.2" and dynamically importing
https://pay.google.com/gp/p/js/pay.js