2025-08-06 Changelog

Web Payments SDK
Link to section

Details

Link to section

Deprecation announcements

The Web Payments SDK is preparing to drop support for insecure HTTP contexts. This restriction will be activated in October 2025. For more information about creating a secure context in your application, read the Mozilla Secure contexts article.

Link to section

Accessibility improvements

Significant improvements have been made to enhance the accessibility of the payment forms, ensuring a better experience for users who rely on screen readers and assistive technologies.

  • All payment iframes now include fully accessible titles.
  • All payment fields offer fully accessible validation messages.
  • Postal code input is now hidden from screen readers when the field is visually hidden on the card form.
  • Aria-invalid is only set on tokenize().
  • The card brand icon is made accessible to screen readers.
  • ApplePay documentation recommends the use of the <button> tag for clickable Apple Pay elements.
Link to section

Reliability improvements

Error handling is strengthened across multiple payment methods, focusing on common edge cases in Google Pay, Apple Pay, and Cash App Pay integrations.

  • Improved error handling when Google Pay is canceled.
  • Improved error handling when Apple Pay is used with a delay between a button click and a tokenize() call.
  • Improved error handling for buyer verification.
  • Improved error handling when Apple Pay is initialized from an insecure HTTP context.
  • Improved error handling when Cash App Pay is initialized with an invalid redirect URL.
Link to section

Miscellaneous changes

Several technical updates have been made to streamline ACH configuration, modify token status responses, and update credit card form appearance.

  • The ach() method no longer requires a redirectURI option and the transactionId option is optional.
  • The token status types have been updated to return a string rather than an unusable enumeration.
  • The credit card form has been updated to use a monospaced font variant.