PrestaShop Installation

Step-by-step guide to install LayerPay on PrestaShop

Requirements

  • PrestaShop 1.7.0 or higher
  • PHP 7.2 or higher
  • SSL certificate (HTTPS required)
  • cURL PHP extension enabled

Installation

Method 1: Upload via Back Office (Recommended)

  1. Download layerpay-prestashop.zip
  2. Go to your PrestaShop Back Office
  3. Navigate to Modules → Module Manager
  4. Click "Upload a module" in the top right
  5. Drag and drop the ZIP file or click to select it
  6. Wait for installation to complete

Method 2: FTP Upload

  1. Download and unzip layerpay-prestashop.zip
  2. Upload the layerpay folder to /modules/
  3. Go to Modules → Module Manager
  4. Search for "LayerPay"
  5. Click "Install"
# Directory structure after installation
/modules/
└── layerpay/
    ├── layerpay.php
    ├── config.xml
    ├── controllers/
    ├── views/
    └── translations/

Configuration

After installation, configure the module:

  1. Go to Modules → Module Manager
  2. Search for "LayerPay"
  3. Click "Configure"

Required Settings

Merchant Wallet Address

Enter your Ethereum wallet address (starts with 0x). All payments will be sent directly to this address.

0x742d35Cc6634C0532925a3b844Bc9e7595f...

Settings Overview

Setting Description Default
Enable LayerPay Show/hide payment method at checkout Yes
Merchant Address Your Ethereum wallet (0x...) Required
Network Mode Test (testnets) or Live (mainnets) Test
Price Margin Volatility buffer percentage 2%
Debug Mode Enable logging No

Testing

  1. Enable Test Mode in LayerPay settings
  2. Get testnet ETH from sepoliafaucet.com
  3. Place a test order on your store
  4. Select "Pay with Crypto" at checkout
  5. Connect your wallet (MetaMask or WalletConnect)
  6. Complete payment with testnet ETH
  7. Verify order status updates correctly
💡 Check the order details in Back Office to see the transaction hash and payment information.

Going Live

  1. Change Network Mode to "Live"
  2. Verify your Merchant Wallet Address
  3. Disable Debug Mode
  4. Click "Save"
LayerPay is now accepting real crypto payments!

Order Status Flow

LayerPay creates a custom order status for crypto payments:

Status Description
Awaiting crypto payment Order created, waiting for blockchain confirmation
Payment accepted Payment verified on blockchain

Translations

LayerPay includes translations for:

  • English (default)
  • Italian
  • French
  • German
  • Spanish

The module automatically uses the customer's language based on PrestaShop settings.

📧 Need help? Contact us at contact@l2pay.app