Sandbox 101: Web Payments SDK

Опубликовано: 01 Июль 2026
на канале: Square Developer
42,916
128

The Square Web Payments SDK is a JavaScript browser client SDK that provides a secure buyer payment card entry method along with other secure payment methods. The SDK is the client part of the client/server Square payment solution. The SDK produces a secure one-time use payment token that your application web client sends to your backend, where it is processed as a payment with the Payments API.

To view an example of such an application, see: https://developer.squareup.com/docs/w...

The Web Payments SDK supports the following payment methods:

Card payments
Digital Wallets: Apple Pay & Google Pay
ACH Bank Transfer
Gift Card

Chapters:
0:00 - Intro
0:44 - Add Web Payments SDK Script
0:57 - Initializing Web Payments SDK
1:12 - Add Credit Card Form
2:01 - Demo Credit Card Form
2:30 - ACH Payments
3:32 - Digital Wallet Payments
3:36 - Google Pay
4:36 - Apple Pay
5:04 - Gift Card Payments
5:56 - Conclusion


Web Payments SDK: https://developer.squareup.com/docs/w...
Web Payments SDK Quickstart template: https://github.com/square/web-payment...
Web Payment SDK Showcase: https://square.github.io/web-payments...

Square Developer Forums – https://developer.squareup.com/forums
Square Developer Community – https://squ.re/slack
Square Developer Twitter –   / squaredev  
Square Developer Blog – https://developer.squareup.com/blog