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, thetotal
field has been deprecated in favor of individualamount
andcurrency
arguments.
- An
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 widgetheading
: add or remove an instructional heading to the widgettheme
: customizes the look and feel of the checkout widget