@tenderpay/square
v0.2.0
Published
Square provider plugin for Tender.
Maintainers
Readme
@tenderpay/square
Square provider plugin for Tender. Implements CreatePaymentLink, Web Payments SDK token handling, Subscriptions, Refunds, and webhook handling with signature verification.
Installation
pnpm install @tenderpay/squareKey Features
- Hosted Payment Links: CreatePaymentLink with return URL handling
- Web Payments SDK: Payment token support for custom payment forms
- Subscriptions: Customers and Subscriptions APIs with immediate-active creation
- Webhooks:
payment.created,payment.updated,customer.deleted,subscription.*handlers with HMAC-SHA256 signature verification - Refunds: Full and partial refunds with idempotency support
- verifyBuyer SCA: Maps to
requires-actionstatus with verification URL - Location ID: Required on all charges; resolver validates before outbound API call
Requirements
- Square account (production or sandbox)
- API credentials and location ID configured in EmDash context
License
MIT
