Gathering detailed insights and metrics for @francisco_delgado_developer/react-square-web-payments-sdk
Gathering detailed insights and metrics for @francisco_delgado_developer/react-square-web-payments-sdk
Gathering detailed insights and metrics for @francisco_delgado_developer/react-square-web-payments-sdk
Gathering detailed insights and metrics for @francisco_delgado_developer/react-square-web-payments-sdk
Easily create PCI-compliant inputs to accept payments online with the Square Payments API. It supports the following payment methods: credit and debit cards, ACH bank transfers, Apple Pay, Google Pay, Gift Cards and Afterpay/Clearpay.
npm install @francisco_delgado_developer/react-square-web-payments-sdk
Typescript
Module System
Node Version
NPM Version
TypeScript (99.93%)
Shell (0.07%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
45 Stars
444 Commits
45 Forks
4 Watchers
7 Branches
13 Contributors
Updated on Jul 03, 2025
Latest Version
3.2.2
Package Id
@francisco_delgado_developer/react-square-web-payments-sdk@3.2.2
Unpacked Size
319.05 kB
Size
68.28 kB
File Count
211
NPM Version
8.19.3
Node Version
18.13.0
Published on
Feb 15, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
1
27
react-square-web-payments-sdk
lets you easily create PCI-compliant inputs to accept payments online with the Square Payments API. It supports the following payment methods: credit and debit cards, ACH bank transfers, Apple Pay, Google Pay, and Gift Cards.
This one is pretty simple, everyone knows what to do:
1npm install react-square-web-payments-sdk
1yarn add react-square-web-payments-sdk
1// Dependencies 2import * as React from 'react'; 3import { CreditCard, PaymentForm } from 'react-square-web-payments-sdk'; 4 5const MyPaymentForm = () => ( 6 <PaymentForm 7 /** 8 * Identifies the calling form with a verified application ID generated from 9 * the Square Application Dashboard. 10 */ 11 applicationId="sq0idp-Y0QZQ-Xx-Xx-Xx-Xx" 12 /** 13 * Invoked when payment form receives the result of a tokenize generation 14 * request. The result will be a valid credit card or wallet token, or an error. 15 */ 16 cardTokenizeResponseReceived={(token, buyer) => { 17 console.info({ token, buyer }); 18 }} 19 /** 20 * This function enable the Strong Customer Authentication (SCA) flow 21 * 22 * We strongly recommend use this function to verify the buyer and reduce 23 * the chance of fraudulent transactions. 24 */ 25 createVerificationDetails={() => ({ 26 amount: '1.00', 27 /* collected from the buyer */ 28 billingContact: { 29 addressLines: ['123 Main Street', 'Apartment 1'], 30 familyName: 'Doe', 31 givenName: 'John', 32 countryCode: 'GB', 33 city: 'London', 34 }, 35 currencyCode: 'GBP', 36 intent: 'CHARGE', 37 })} 38 /** 39 * Identifies the location of the merchant that is taking the payment. 40 * Obtained from the Square Application Dashboard - Locations tab. 41 */ 42 locationId="LID" 43 > 44 <CreditCard /> 45 </PaymentForm> 46); 47 48export default MyPaymentForm;
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Thanks goes to these wonderful people (emoji key):
Daniel Esteves 💻 📖 💡 ⚠️ | Rowland Saer 📖 | Hleb Siamionau 💻 | Gabriel De Andrade 💻 📖 💡 |
This project follows the all-contributors specification. Contributions of any kind welcome!
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 8/16 approved changesets -- score normalized to 5
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
33 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More