Skip to main content
Button v4 integrates with a JavaScript script and a merchant API key. No OAuth token is required. Use Button v4 if you want to display payment directly in a product page, cart, invoice, or customer area.

Script

Add a container to your page, then load the SoleasPay script.

Options

Modes

Initialization

SopayButton.pay(options) returns a promise. Use then to handle the result, catch to show an error, and finally if you want to reload the button after an attempt.