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)
- Download layerpay-prestashop.zip
- Go to your PrestaShop Back Office
- Navigate to Modules → Module Manager
- Click "Upload a module" in the top right
- Drag and drop the ZIP file or click to select it
- Wait for installation to complete
Method 2: FTP Upload
- Download and unzip layerpay-prestashop.zip
- Upload the
layerpayfolder to/modules/ - Go to Modules → Module Manager
- Search for "LayerPay"
- Click "Install"
# Directory structure after installation
/modules/
└── layerpay/
├── layerpay.php
├── config.xml
├── controllers/
├── views/
└── translations/
Configuration
After installation, configure the module:
- Go to Modules → Module Manager
- Search for "LayerPay"
- 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
- Enable Test Mode in LayerPay settings
- Get testnet ETH from sepoliafaucet.com
- Place a test order on your store
- Select "Pay with Crypto" at checkout
- Connect your wallet (MetaMask or WalletConnect)
- Complete payment with testnet ETH
- Verify order status updates correctly
💡
Check the order details in Back Office to see the transaction hash and payment information.
Going Live
- Change Network Mode to "Live"
- Verify your Merchant Wallet Address
- Disable Debug Mode
- 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