Requirements
- PrestaShop 8 or 9
- The PHP cURL extension
- A shop 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 module
Download the module. In PrestaShop, go to Modules > Module Manager, select Upload a module and choose the zip file.
3
Paste the key
Open Configure, paste the API key and save.
How it works
- When a customer chooses Pay with crypto and places the order, the module creates a checkout for the cart total and sends the customer to it.
- When a payment is detected, the order is created with the status Awaiting crypto payment.
- When the checkout is completed, the payment is recorded on the order and it moves to Payment accepted.
Currencies
CoinStack accepts orders in 146 currencies. You choose which of your shop’s currencies it is offered for under Payment > Preferences. For a currency CoinStack does not accept, it is not shown at checkout.Partial payments
If a customer pays less than the order total, the order stays at Awaiting crypto payment and its page gives them a link to pay the rest. If the checkout expires before they do, the order moves to Payment error with a note in its messages. Mark the checkout as resolved in your CoinStack dashboard to mark the order paid, or refund the customer.Orders that need a look
The module leaves a note in the order’s messages instead of marking it paid when:- The cart changed after the checkout was opened, so the amount paid does not match the order total. The order moves to Payment error.
- The customer paid with crypto after already placing the same order with another payment method. The note is left on that order.
Refunds
Refunds are sent from your own wallet, not from PrestaShop.Troubleshooting
If orders are not being created or marked paid:- Your shop address must start with
https://and have a valid certificate. SSL is turned on under Shop Parameters > General. - Your firewall or security module must allow
POSTrequests from outside toindex.php?fc=module&module=coinstack&controller=webhook, or tomodule/coinstack/webhookif friendly URLs are on.