How do I get the new SCA payment flow to work?

Our new payment flow allows you to charge and store a card on file using the CHARGE_AND_STORE intent. This flow handles buyer verification automatically during tokenization, so you don’t need to call verifyBuyer separately.

  1. Tokenization: You need to create a payment token with the required parameters.
  2. Payment Processing: Use this token in a Payments API call.
  3. Storing Card on File: After a successful payment, create a card on file using the payment ID.

The new payment flow will replace the existing Web Payments SDK card payment acceptance implementation and become the new default card payment flow when Square releases it for General Availability.

When Square releases the new payment flow for General Availability, Square will deprecate the Payments.verifyBuyer() method that performs buyer verification and generates a verification token. Square will provide a migration guide so that you can update your application to take card payments with the new payment flow. :slightly_smiling_face: