Skip to content
This repository was archived by the owner on Aug 24, 2022. It is now read-only.

Releases: square/react-square-payment-form

Deprecated

23 Aug 19:16

Choose a tag to compare

⛔️ 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

30 Sep 17:50

Choose a tag to compare

Always call the default methodsSupported method even if a prop is supplied for a custom methodsSupported

Fix bug with loading SqPaymentForm library

08 Sep 18:45

Choose a tag to compare

Error handling fix, gift card support, Masterpass migration

03 Sep 16:18

Choose a tag to compare

  • Important: fix cardNonceResponseReceived error that was returning [null] instead of null #58
  • Gift card support #77
  • Masterpass is now Click to Pay #42
  • Custom onLoad behavior for auto-filling postal code #78
  • Fix script loading multiple time #73

Support additional prop values

02 Jul 18:39

Choose a tag to compare

Public:

  • Ability to change the placeholder text
  • Ability to change the inputClass value

Internal:

  • Use eslint-plugin-square for React @ Square consistency

Minor fixes

10 Apr 17:20

Choose a tag to compare

  • Remove event parameter when calling context.onVerifyBuyer
  • Error returned from verifyBuyer should be an object, not an array. This was suppressing errors when the location ID is not valid.

Fix Context export

04 Mar 22:18

Choose a tag to compare

v0.6.1

Update v0.6.1

Upgrade to use react hooks

03 Feb 18:57

Choose a tag to compare

  • Upgrade to use react hooks
  • Add documentation for using Context for customizations

Single-element payment form (beta)

15 Jan 21:38

Choose a tag to compare

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

23 Sep 20:07

Choose a tag to compare

Add billingContact, shippingContact, and shippingOption to callback