Starting October 1, 2025, the Web Payments SDK requires all integrations to run in secure contexts (HTTPS). To ensure uninterrupted service:
- Migrate your integration to HTTPS before the deadline.
- Test your secure implementation thoroughly.
- For guidance about implementing secure contexts, see Mozilla's Secure Contexts documentation.
Error handling update - The error condition previously indicated by PlaidMissingNameError is now signaled using InvalidOptionError. While PlaidMissingNameError
remains in the SDK for backward compatibility, Square recommends updating your error handling logic to catch InvalidOptionError
for this scenario. The PlaidMissingNameError
will no longer be emitted by the SDK.
The email address (email
) and phone number (phone
) are now available as a part of tokenization results in TokenResult.TokenDetails.BillingContact.
The PaymentRequestEvent and MethodType types has been updated to return a string union rather than an enumeration.