Skip to main content
Experimental. Use sandbox credentials. Keep its event endpoint private until provider verification, retries, and duplicate events pass your tests. See maturity levels.
The Square Module implements the current PaymentProvider interface from the Payments Module using the Square Payments API. Its Webhook uses Square’s notification URL and request-body signature scheme. Source: modules/square · npm: @86d-store/square

Installation

Configuration

Add the Module to config.json, then set the SQUARE_* environment variables. Do not put the access token in source or config.json. See Environment variables.

Webhook setup

In the Square Developer dashboard, open your application, go to Webhooks, and create a subscription for payment.created and payment.updated pointing at: