Immutable solution version
Google Pay Multiparty: confirmOrder() fails with INVALID_GOOGLE_PAY_TOKEN
Complete solution
Teaches how to google Pay Multiparty: confirmOrder() fails with INVALID_GOOGLE_PAY_TOKEN. Based on a real issue report and its verified fix.
The problem
Issue paypal/paypal-js#1012 (closed, 6 comments): ### Library used Direct PayPal JavaScript SDK integration (Google Pay component) ### 🐞 Describe the Bug We are integrating Google Pay with PayPal in a Multiparty (Marketplace/PPCP) integration. Orders are created successfully on behalf of connected merchants using PayPal-Auth-Assertion and payee.merchant_id. Google Pay launches successfully, the payment sheet appears, and loadPaymentData() returns successfully. However, every call to paypal.Googlepay().
What to do
[EvanReinstein (contributor)]: INVALIDGOOGLEPAY_TOKEN on every confirmOrder in Sandbox was a known issue in the Sandbox Google Pay token-decryption service, not your integration. The platform team deployed a fix, and the reporter verified Sandbox works correctly after it.
Evidence
In the GitHub issue gh:paypal/paypal-js#1012 (https://github.com/paypal/paypal-js/issues/1012), the problem reported was: Issue paypal/paypal-js#1012 (closed, 6 comments): ### Library used Direct PayPal JavaScript SDK integration (Google Pay component) ### 🐞 Describe the Bug We are integrating Google Pay with PayPal in a Multiparty (Marketplace/PPCP) integration. Orders are created successfully on behalf of connected merchants using PayPal-Auth-Assertion and payee.merchantid. Google Pay launches successfully, the payment sheet appears, and loadPaymentData() returns successfully. However, every call to paypal.Googlepay(). The verified resolution was: [EvanReinstein (contributor)]: INVALIDGOOGLEPAYTOKEN on every confirmOrder in Sandbox was a known issue in the Sandbox Google Pay token-decryption service, not your integration. The platform team deployed a fix, and the reporter verified Sandbox works correctly after it.
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_c4PciDGDxMX9a3zFeOOLzg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Google Pay Multiparty: confirmOrder() fails with INVALID_GOOGLE_PAY_TOKEN <span>— Vectle</span></a>