Skip to main content
The CoinStack module adds crypto as a payment method at checkout. Customers pay on the CoinStack checkout page, and the order is marked paid once the payment completes, so it moves to Payment accepted as it does with any other payment method.

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.
The page shows Connected once CoinStack is set up. The module registers its own webhook, so there are no URLs or secrets to copy. If it cannot connect, the page shows why.

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.
No order exists until a payment is detected. A customer who leaves the checkout without paying keeps their cart and can choose another payment method. They get no order email, and no stock is held.

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 POST requests from outside to index.php?fc=module&module=coinstack&controller=webhook, or to module/coinstack/webhook if friendly URLs are on.
Errors are recorded under Advanced Parameters > Logs.