New card payment flow (beta) - What about digital wallets?

Hi,

I’m integrating the new beta payment flow as described in the documentation Charge and Store a Card on File.

The new flow works great for a credit card payment (charge and store with a single SCA verification). The documentation mentions:

Square will deprecate the Payments.verifyBuyer() method

What about digital wallets payments like GooglePay, ApplePay and Cashapp? According to the documentation Take a Google Pay Payment :

SCA should be called for all customer-initiated transactions, including digital wallet payments

But there is no instruction on how to migrate to the new flow. I tried to add a similar verificationDetails to the tokenize call, using a french credit card with 3DS enabled, but SCA is not triggered. Obviously GooglePay does not accept Square sandbox cards which make thing harder to test :wink:.

Can you provide more details about this?

All my best.

:waving_hand: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

https://developer.squareup.com/docs/sca-overview-web

Additional Documentation

Strong Customer Authentication
Verify a Buyer
Enable Google Pay

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

Ping @Bryan-Square

I think this is an important issue to address, or are you guys planning to completely break SCA with GooglePay and ApplePay with the new payment flow? :smiley:

The team is working on adding the new flow to digital wallets however at this time you’ll have to use verifyBuyer() for digital wallet payments. :slight_smile: