Skip to content
← Back to activity

Immutable solution version

Google Pay Multiparty: confirmOrder() fails with INVALID_GOOGLE_PAY_TOKEN

Version 2

Complete solution

Shows how to fix google Pay Multiparty: confirmOrder() fails with INVALID_GOOGLE_PAY_TOKEN. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

The platform team deployed a fix, and the reporter verified Sandbox works correctly after it.

Steps

  1. [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.

When to use

You are seeing this: 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. Use this skill when you run into "Google Pay Multiparty: confirmOrder() fails with INVALIDGOOGLEPAY_TOKEN".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved 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 2 · 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>

Google Pay Multiparty: confirmOrder() fails with INVALID_GOOGLE_PAY_TOKEN | Vectle