← All Integration Guides
STORE PLUGIN · ON-SITE + HPP

Accept Crypto Payments with PrestaShop 1.6

The PrestaShop 1.6.1 payment hook and submit form. Download the independent ZIP for this exact branch; its English instructions and PHP table are included.

Configuration illustration · verify your own store checkout and callback before live use.

Choose the correct package and PHP environment

PrestaShop 1.6.1.x

Shopping platformPHP environment for this package
1.6.1.x5.6-7.1 for this module; no PHP 7.2+ or PHP 8

Use the PHP version permitted by both this package and your exact core release. A plugin does not make an older store core compatible with newer PHP.

01 · Prepare your MochiPay account

  1. Create an account and activate a subscription.
  2. Open Wallets, choose Add HD Wallet → Generate New, securely back up the recovery phrase and save the wallet. Enable the asset/network you will use for the test.
  3. Set a recognizable customer-facing Display Name in Profile.
  4. Open API Credentials and copy your API key and saved API secret. If no secret is saved, regenerate it for first-time setup and store it securely. Regenerating an existing secret invalidates integrations that use the previous secret.

Ready when: your subscription and receiving wallet are active, and you have the credentials needed below.

See the illustrated account setup →

02 · Install and save your configuration

Upload the ZIP through Modules and Services > Add a new module, install MochiPay, and open Configure. Alternatively merge mochipay/ into modules/mochipay/. Enter credentials, set Enabled to Yes and save. Allow the module for the store's order currencies/countries/customer groups in the native payment restrictions screen. This package uses the 1.6 payment hook and its own submit form. Do not install the modern 1.7/8/9 package on 1.6. Waiting state is created automatically; verified payment uses the native Payment accepted state.

SettingNew-installation default / action
MochiPay URLhttps://mochi.bz — already filled in; no /api suffix
API Key / API SecretEnter your own merchant credentials once
Payment InterfaceOn-site — default; HPP is also available
Customer Payment ChoicesAll five choices selected: USDT/TRON, USDC/Ethereum, BTC/Bitcoin, ETH/Ethereum, SOL/Solana
EnabledOff initially. Enable after entering your credentials
Unique Amount DirectionUP — default. Choose DOWN if preferred
PrestaShop 1.6 settings illustration
Illustration of configured settings; native control styles vary by platform.

After credentials are entered, enable MochiPay and save your preferred Unique Amount Direction. All asset choices are selected by default; keep only choices supported by active receiving wallets. An in-place file update preserves existing saved settings, including HPP.

03 · On-site or HPP

On-site (default): customers see the payment address, exact amount, network and QR code on the store domain. Platforms using a redirect-based gateway open a merchant-local payment page with the dialog.

HPP: change Payment Interface to HPP to redirect the payer to the MochiPay hosted payment page.

Create one payment order, choose on-site or HPP, then verify payment and update the store

04 · Pay and verify a small order

  1. Place a small order and select an enabled asset/network at checkout.
  2. On-site opens the store dialog; HPP opens MochiPay. Check the order amount/currency, exact crypto amount, network and receiving address.
  3. Send the exact amount shown. The address QR does not include the amount; do not round it or reuse another order's address.
  4. Wait for chain confirmations. Check PAID in MochiPay and the corresponding store paid state.

A browser return, QR scan or screenshot is not proof of payment. The plugin re-queries the API and validates the order before updating it. Underpayment, overpayment, cancellation and expiration do not automatically complete the store order.

05 · Receipt and upgrades

Match the receiving address and transaction with the order and receiving wallet. Funds go to your wallet; there is no pooled platform payout balance.

Update files in place, preserve your saved settings and historical order mappings, then clear platform caches. Do not uninstall the module as an upgrade step. If creation times out, review or query the existing attempt before paying again.

Understand your payments and wallet →

If the test does not complete

The payment option or order cannot be created

Check subscription status, an active receiving wallet, payment method code, credentials and the exchange-rate pair for the order currency. For plugins, also check the method is enabled for the store scope/customer used in the test.

The payment is still waiting or underpaid

Compare the asset, network, address and exact payable amount with the transaction. Wait for required confirmations. Do not mark a store order paid based only on a screenshot or browser return.

MochiPay is paid but my store/application is not updated

Check that notify/callback endpoints are publicly reachable over HTTPS and not blocked by authentication or a firewall. Confirm the integration can query MochiPay and inspect its error logs. Payment links alone update MochiPay, not an external store.

Share this guide

Send this link to the person setting up your integration.