This repository was archived by the owner on Aug 24, 2022. It is now read-only.
Releases: square/react-square-payment-form
Releases · square/react-square-payment-form
Deprecated
⛔️ SqPaymentForm is deprecated and will no longer be supported. Please use the Web Payments SDK to take payments on a web client. To migrate from the Square Payment Form to the Web Payments SDK, see the Migrate to the Web Payments SDK migration guide.
Always call internal methodsSupported
Always call the default methodsSupported method even if a prop is supplied for a custom methodsSupported
Fix bug with loading SqPaymentForm library
v0.7.1 Update v0.7.1
Error handling fix, gift card support, Masterpass migration
Support additional prop values
Public:
- Ability to change the placeholder text
- Ability to change the
inputClassvalue
Internal:
- Use
eslint-plugin-squarefor React @ Square consistency
Minor fixes
- Remove event parameter when calling
context.onVerifyBuyer - Error returned from
verifyBuyershould be an object, not an array. This was suppressing errors when the location ID is not valid.
Fix Context export
v0.6.1 Update v0.6.1
Upgrade to use react hooks
- Upgrade to use react hooks
- Add documentation for using
Contextfor customizations
Single-element payment form (beta)
The single-element payment form is an alternative to building a payment form if you don't need the flexibility of individually placed payment card fields.
You can not use digital wallets with this form. If you would like to accept digital wallets, please follow the instructions here.
Add additional fields to `cardNonceResponseReceived` callback
Add billingContact, shippingContact, and shippingOption to callback