2025-04-22 Changelog

Web Payments SDK
Link to section

Details

The Web Payments SDK's newest changes include updates to the ach.tokenize() parameters and a rebranded Afterpay experience for US-based buyers.

  • ACH

    • An intent field has been added to the ACH tokenization result to indicate the executed authorization flow.
    • Within the AchChargeTokenOptions object, the total field has been deprecated in favor of individual amount and currency arguments.
  • Afterpay

    • US-based buyers see a new Afterpay experience in accordance with the announcement of Cash App Afterpay.
    • New styling options have been added for the AfterpayCheckoutWidget. Square is working on expanding this functionality to other locales. The new options include:
      • border: add or remove a border from the widget
      • heading: add or remove an instructional heading to the widget
      • theme: customizes the look and feel of the checkout widget