Requirements
- Blesta 6 or newer
- The PHP cURL extension
- A Blesta address that starts with
https://
Install
1
Create an API key
In the CoinStack dashboard, open Developers and create an API key with Read and write access.
2
Upload the gateway
Download the gateway and unzip it. Copy its
components folder into your Blesta root.3
Install it
In Blesta, go to Settings > Payment Gateways > Available and install Crypto (CoinStack).
4
Paste the key
Paste the API key, choose the currencies to accept, and save.
How it works
- When a customer chooses to pay with crypto, the gateway creates a checkout for the amount they are paying and shows a Pay with crypto button that takes them to it. A customer can pay several invoices with one checkout.
- When the checkout is completed, the payment is recorded as a transaction and applied to the invoices.
- While a payment is confirming, the transaction shows as pending.
Currencies
CoinStack accepts invoices in 146 currencies. You choose which of them the gateway is offered for in its settings.Partial payments
If a checkout expires partly paid, what arrived is recorded and applied to the invoices, and the customer can pay the rest from the client area. If you mark the checkout as resolved in the CoinStack dashboard, the remainder is recorded and applied as well.Refunds
Refunds are sent from your own wallet, not from Blesta.Troubleshooting
If you change the address of your Blesta installation, save the gateway settings again so CoinStack sends payment updates to the new address. If invoices are not being marked paid:- Your Blesta address must start with
https://and have a valid certificate. - Your firewall or security plugin must allow
POSTrequests from outside tocallback/gw/.