Configure wallets in Collect.js
Maintain Apple Pay and Google Pay setup in an existing Collect.js checkout.
Choose the right integration
These settings belong to Collect.js. New integrations should start with the Payment Component. Wallet callbacks still return a payment_token for server processing.
Configure Apple Pay
Set data-price, data-country and data-currency. Download the domain verification file from Merchant Portal Apple Pay settings, publish it under .well-known and register the domain. Request only the contact information needed for fulfillment.
Configure Google Pay
Choose the button selector and required billing/shipping fields. FULL billing address format includes street and locality data; phone collection has its own flag. The callback card.authMethod distinguishes NONE (PAN-only) from 3DS (cryptogram).
Match any upfront charge
Apple Pay recurring or vault setup normally starts with a zero authorization. Upfront-price attributes change the payment sheet. The server must also submit type=sale and the matching amount to charge upfront.