Sure π hereβs a clear, step-by-step guide to configure PayPal in PrestaShop (1.7 / 8.x).
1οΈβ£ Install the PayPal module
- Go to Back Office β Modules β Module Manager
- Search for PayPal
- Install βPayPal Officialβ (by PayPal / PrestaShop)
- Click Configure
π If not found:
- Go to Modules β Marketplace
- Search PayPal Official
- Download & install
2οΈβ£ Choose PayPal account type
During setup youβll be asked to select:
- PayPal Business account β (required)
- Country & currency
β οΈ Personal PayPal accounts will NOT work for live payments.
3οΈβ£ Connect PayPal account (recommended)
Option A: Automatic connection (best)
- Click Connect with PayPal
- Login to your PayPal Business account
- Approve permissions
β This auto-configures:
- API credentials
- Webhooks
- IPN
Option B: Manual API credentials (advanced)
If automatic fails:
- PayPal Dashboard β Settings
- Account Settings β API Access
- Create:
- Client ID
- Secret
- Paste into PrestaShop PayPal module
4οΈβ£ Select environment (Sandbox / Live)
In module configuration:
- Sandbox β for testing
- Live β for real payments
π‘ Always test in Sandbox first.
5οΈβ£ Enable payment methods
You can enable:
- β PayPal Wallet
- β Credit / Debit Cards (no PayPal account needed)
- β Pay Later (EMI β country dependent)
Back Office β PayPal β Payment Options
6οΈβ£ Configure order status mapping
Set correct order states:
- Payment accepted
- Pending
- Refunded
- Canceled
Path:
PayPal module β Advanced Settings β Order status
7οΈβ£ Enable currencies
Go to:
International β Localization β Currencies
β Make sure your store currency is supported by PayPal
(INR, USD, EUR, GBP, etc.)
8οΈβ£ Position PayPal on checkout
- Design β Positions
- Ensure PayPal is hooked to:
displayPaymentdisplayExpressCheckout(optional)
9οΈβ£ Test PayPal (Sandbox)
- Create Sandbox accounts in:
- Use:
- Sandbox buyer email
- Sandbox password
- Place a test order
β Order should appear in:
- PrestaShop Orders
- PayPal Sandbox dashboard
π§ Common issues & fixes
β PayPal not showing at checkout
- Currency not supported
- Module not hooked correctly
- Customer group restriction
β Payment completed but order pending
- IPN/Webhook blocked
- Server firewall issue
- HTTPS missing
β Redirect loop / white screen
- Clear cache
- Disable overrides
- Check PHP version (7.4β8.1 recommended)
β Best practices
- Use official PayPal module only
- Enable HTTPS
- Keep module updated
- Avoid multiple PayPal modules at once
π
