Site icon PrestaShop | General Knowledge

PrestaShop: How to configure PayPal

Sure πŸ™‚ here’s a clear, step-by-step guide to configure PayPal in PrestaShop (1.7 / 8.x).


1️⃣ Install the PayPal module

  1. Go to Back Office β†’ Modules β†’ Module Manager
  2. Search for PayPal
  3. Install β€œPayPal Official” (by PayPal / PrestaShop)
  4. Click Configure

πŸ‘‰ If not found:


2️⃣ Choose PayPal account type

During setup you’ll be asked to select:

⚠️ Personal PayPal accounts will NOT work for live payments.


3️⃣ Connect PayPal account (recommended)

Option A: Automatic connection (best)

  1. Click Connect with PayPal
  2. Login to your PayPal Business account
  3. Approve permissions

βœ” This auto-configures:


Option B: Manual API credentials (advanced)

If automatic fails:

  1. PayPal Dashboard β†’ Settings
  2. Account Settings β†’ API Access
  3. Create:
    • Client ID
    • Secret
  4. Paste into PrestaShop PayPal module

4️⃣ Select environment (Sandbox / Live)

In module configuration:

πŸ’‘ Always test in Sandbox first.


5️⃣ Enable payment methods

You can enable:

Back Office β†’ PayPal β†’ Payment Options


6️⃣ Configure order status mapping

Set correct order states:

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

  1. Design β†’ Positions
  2. Ensure PayPal is hooked to:
    • displayPayment
    • displayExpressCheckout (optional)

9️⃣ Test PayPal (Sandbox)

  1. Create Sandbox accounts in:
  2. Use:
    • Sandbox buyer email
    • Sandbox password
  3. Place a test order

βœ” Order should appear in:


πŸ”§ Common issues & fixes

❌ PayPal not showing at checkout

❌ Payment completed but order pending

❌ Redirect loop / white screen


βœ… Best practices


πŸ‘Œ

Exit mobile version