@bateswebtech/react-square-payments
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

React Square Payments

React Square Payments is a React component library that provides a simple and intuitive way to integrate Square payments into your React applications.

Majority of the work was created by https://github.com/weareseeed/react-square-web-payments-sdk/tree/main. We had some changes we wanted to make to the library, so we decided to create our own version.

Notable changes:

  • Added support for external buttons. https://github.com/weareseeed/react-square-web-payments-sdk/pull/104
  • Added validateBeforeTokenization prop to the main wrapper component. This allows easier validation with custom logic before the tokenization process and allows you to render errors easier.
  • Removed stitches dependency
  • Currently only supporting credit card payments but may add the other methods in later versions.

Readme

Keywords

none

Package Sidebar

Install

npm i @bateswebtech/react-square-payments

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

150 kB

Total Files

34

Last publish

Collaborators

  • bateswebtech-dev