# PrestaShop

{% hint style="info" %}
Available for PrestaShop 8.0 - 9.x
{% endhint %}

## General Information

PrestaShop is an open-source e-commerce platform that enables small and medium-sized businesses to create and manage their own online stores.

### Links

* PrestaShop [Website](https://prestashop.com/)
* PrestaShop [Documentation](https://doc.prestashop.com/)
* [Plugin](https://github.com/payrexx/prestashop-payrexx-gateway) Download

### Features

* ✅ Multi-currency support
* ✅ Payment method icons in checkout
* ✅ Cart transmission
* ✅ Webhook status synchronization
* ✅ Look & Feel configuration
* ✅ Individual payment method configuration
* ❌ Subscription support

{% hint style="info" %}
Please note that integration with PrestaShop is only available in the Standard and Premium plans. [For more information](https://payrexx.com/en/prices)
{% endhint %}

### Payment methods

The following payment methods are supported by the PrestaShop plugin:

<table data-full-width="true"><thead><tr><th width="206.74072265625">Payrexx Pay</th><th width="244.1112060546875">Payrexx Pay Plus</th><th width="197.5555419921875">External Payment Providers</th><th data-hidden></th></tr></thead><tbody><tr><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FU23TjmbpT2uSiA98Urvr%2Fimage.png?alt=media&#x26;token=698cb2dc-2958-4bae-ac0d-8f14fd23f25a" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/mastercard">Mastercard</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FU23TjmbpT2uSiA98Urvr%2Fimage.png?alt=media&#x26;token=698cb2dc-2958-4bae-ac0d-8f14fd23f25a" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/mastercard">Mastercard</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2F17PQY0D9XBWslkOAePIi%2Fimage.png?alt=media&#x26;token=f15fecf0-8c7a-4133-bbd1-c4f8b9f326e3" alt="" data-size="line"> Masterpass</td><td></td></tr><tr><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FTExzR53XajpaGXyBwloF%2Fimage.png?alt=media&#x26;token=910ca6c0-3c57-4a66-aa82-aecca278a33c" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/visa">Visa</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FTExzR53XajpaGXyBwloF%2Fimage.png?alt=media&#x26;token=910ca6c0-3c57-4a66-aa82-aecca278a33c" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/visa">Visa</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FEbCDmeC8V30Jp7cfDMmL%2Fimage.png?alt=media&#x26;token=356dfeca-69b7-485b-ba90-40dfa368c642" alt="" data-size="line"> <a href="../../payment-provider/external-payment-provider/wallets-and-more/paypal">PayPal</a></td><td></td></tr><tr><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FkoBQe0VPM9dFWRiqiZVs%2Fcard_postfinance-pay%402x.png?alt=media&#x26;token=94fcb934-b618-4e76-8881-7fdc961b03b9" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/postfinance-pay">PostFinance Pay</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FgvjappUZx21s50KJp4jJ%2Fimage.png?alt=media&#x26;token=15aa7958-2b06-4387-8e36-18f55879ef35" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/american-express">American Express</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FiXS2EAWFgZUKDMoPfTxC%2Fimage.png?alt=media&#x26;token=e61fd9d7-3579-4d54-b4a5-b53b3ce2ae09" alt="" data-size="line"> Maestro</td><td></td></tr><tr><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FuQnNZ6B30ek4HB4NiAO6%2Fimage.png?alt=media&#x26;token=8d50396a-d987-4392-8c55-0ecff02976bf" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/twint">TWINT</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FBZc94MTsGISKMNY1yKQe%2Fimage.png?alt=media&#x26;token=3784cbc5-9f73-4480-9e0c-438247cc53b0" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/diners-club-international">Diners Club International</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FvP1GRJlnETPS7p5KFRAO%2FHeyLight_Payment_Badge_White.png?alt=media&#x26;token=81cac928-18b6-492b-a3d3-e881781f33f5" alt="" data-size="line"> <a href="../../payment-provider/external-payment-provider/creditcards/heylight">HeyLight</a></td><td></td></tr><tr><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FpwPvTQKg4H1YJeURXsto%2Fimage.png?alt=media&#x26;token=7d902d5d-b146-4dbd-802e-7c762d6e05c7" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/google-pay">Google Pay</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2Fh8W88W7CrPvrzaQywetK%2Fimage.png?alt=media&#x26;token=43218142-4c7e-4688-876c-07093b12b52c" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/discover-card">Discover Card</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FWQHRVQgGmdw802wCvl9D%2Fimage.png?alt=media&#x26;token=f93e95fc-9fc5-4639-8c18-4577268ea402" alt="" data-size="line"> Swissbilling</td><td></td></tr><tr><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FMUQjzVxIb5xVmktv5I5Z%2Fimage.png?alt=media&#x26;token=ec1fa7a9-1abc-416d-98bc-cd83a0dbb630" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/samsung-pay">Samsung Pay</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FtJrGerqbRZ7PnyycbF8w%2Fimage.png?alt=media&#x26;token=15669ef8-8632-4440-a185-4df688d0d3c3" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/apple-pay">Apple Pay</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FZSohpmUv7PTvADtybLAw%2Fimage.png?alt=media&#x26;token=8d98e944-cde2-420d-a402-ffbc8dab69d9" alt="" data-size="line"> <a href="../../payment-provider/external-payment-provider/wallets-and-more/wirpay">WIRpay</a></td><td></td></tr><tr><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2F3JUbAMvaOppm7c9gGfgd%2Fimage.png?alt=media&#x26;token=646e064b-c936-4555-9730-e8c1324bdb63" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/pay-by-bank">Pay by Bank</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FpwPvTQKg4H1YJeURXsto%2Fimage.png?alt=media&#x26;token=7d902d5d-b146-4dbd-802e-7c762d6e05c7" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/google-pay">Google Pay</a></td><td> <img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FMZMtqLFfwlzj9Zaoulw6%2Fimage.png?alt=media&#x26;token=ee2793c3-66f2-446d-969e-52467cbe6a76" alt="" data-size="line"> <a href="../../payment-provider/external-payment-provider/wallets-and-more/viacash-barzahlen">Barzahlen/viacash</a></td><td></td></tr><tr><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FbwkGZ28bKoihwWZJ0rKW%2Fimage.png?alt=media&#x26;token=eb4af57b-6ad7-4428-a9d2-1dc72b9b87ca" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/purchase-on-invoice">Purchase on Invoice</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2F7ecpO7opevIFqeQ5E7d4%2Fimage.png?alt=media&#x26;token=8dfa9e55-d11f-41c9-9b65-03c052f5eabf" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/klarna">Klarna</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FvkmsRbygISp7pc6iXcmd%2Fimage.png?alt=media&#x26;token=0f7a14df-65b4-498f-ad07-b126fe99d58f" alt="" data-size="line"><a href="../../payment-provider/external-payment-provider/wallets-and-more/giropay">giropay</a></td><td></td></tr><tr><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FtG7oej4GlXAVj5MRaDQA%2Fcard_centi.svg?alt=media&#x26;token=25ba20bd-f570-42b2-aca3-87c16c1df6a0" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/centi">Centi</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FHwwUJhzcX6YzTw45qjKw%2Fimage.png?alt=media&#x26;token=7f9840ce-59f6-4b9a-b871-d2d7ddcdbbce" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/eps">eps</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2Fjzn76C9v6tUnn1hQPdaN%2Fimage.png?alt=media&#x26;token=2c4f6971-3961-49b3-8641-278d99ef9589" alt="" data-size="line"> JCB</td><td></td></tr><tr><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2F3LT9LH8V4NSBBmWfgooX%2Fimage.png?alt=media&#x26;token=40d38d30-ad42-4266-8284-a2d6a25bb56c" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/crypto">Crypto</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FR70JoByqgsnuRAwSdg7f%2Fimage.png?alt=media&#x26;token=9667be85-b0f5-402b-a13e-a120646e8c9a" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/bancontact">Bancontact</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FpGQLIbq6wkmvwSQxewIZ%2Fimage.png?alt=media&#x26;token=e2c03107-7e30-4e1a-a716-e05d537a5f85" alt="" data-size="line"> <a href="../../payment-provider/external-payment-provider/wallets-and-more/paysafecash">Paysafecash</a></td><td></td></tr><tr><td></td><td> <img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FMts8OSpJ5AO1qkvBncyE%2Fimage.png?alt=media&#x26;token=7642ba06-c7dd-477f-919f-04d2a6836f70" alt="" data-size="line"><a href="../../payment-provider/payrexx-pay/payment-methods/ideal">iDEAL</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2F8WH9kMh6Z07ADfe6CHBW%2Fimage.png?alt=media&#x26;token=ac95e696-743b-4059-bba1-f72966c9ea61" alt="" data-size="line"> Bitcoin</td><td></td></tr><tr><td></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FBRuHxvclDXyJir6BtQDi%2Fimage.png?alt=media&#x26;token=b00559e7-8d52-4177-a08d-76464413a825" alt="" data-size="line"> WeChat Pay</td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FYYLrvgXBU7xPlfaWrbxj%2Fimage.png?alt=media&#x26;token=8a417150-7869-467d-974d-1e1d29c182a2" alt="" data-size="line"> <a href="../../payment-provider/external-payment-provider/manual-payment-methods/bill">Bill</a></td><td></td></tr><tr><td></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FxFQzcG4wzL2EHLlkFofZ%2Fimage.png?alt=media&#x26;token=9c02f810-d568-4cc3-9825-334c28b69263" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/alipay">Alipay</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FbL6kUpIXTk8sTR4Ruoau%2Fimage.png?alt=media&#x26;token=8a90d4ef-8206-41c1-aa27-fa5fa303f165" alt="" data-size="line"> <a href="../../payment-provider/external-payment-provider/wallets-and-more/powerpay">POWERPAY</a></td><td></td></tr><tr><td></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FM4wmgTkpUsoXqwaYlMgY%2Fimage.png?alt=media&#x26;token=63f52928-469b-469d-9a3b-748ad8069da8" alt="" data-size="line"> <a href="../../payment-provider/payrexx-pay/payment-methods/sepa-debit-direct">SEPA Debit Direct</a></td><td><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FfrGPp9ikEtnbgH0WQWnV%2Fcembrapay.png?alt=media&#x26;token=4d4c9b24-ec21-4152-aff6-4b519b466099" alt="" data-size="line"> <a href="../../payment-provider/external-payment-provider/wallets-and-more/cembrapay">CembraPay</a></td><td></td></tr><tr><td></td><td></td><td> <img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2F4D7UFV9iKD1d35YFeIM8%2Fimage.png?alt=media&#x26;token=299bb3fc-55d2-470e-8a1a-d5009a14f906" alt="" data-size="line"> <a href="../../payment-provider/external-payment-provider/wallets-and-more/verd.cash">VERD</a></td><td></td></tr></tbody></table>

## Setup

Follow the instructions below to integrate Payrexx into PrestaShop.

### Configuration of Payrexx

{% hint style="info" %}
Make sure you're [logged in](https://login.payrexx.com/) to your Payrexx account before you begin. If you don’t have a Payrexx account yet, you can [register](https://signup.payrexx.com/) now.
{% endhint %}

* Navigate to the **API & Plugins** section in the merchant administration of your Payrexx account.
* Click on "Show All" below "Add E-Commerce Integration".
* Click on "Add" next to PrestaShop:

<figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2Fpv35S3HSPDrGwR4K3t8t%2Fimage.png?alt=media&#x26;token=62b76ebe-94d8-45b8-8109-31909ea95397" alt=""><figcaption><p>Configuration of PrestaShop in Payrexx</p></figcaption></figure>

* In the window below, apply the following settings:

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2F6QpZaJJTKIGZVICEr47p%2Fimage.png?alt=media&#x26;token=9aa12bb3-f92c-43a8-92a2-3e093c4781ec" alt=""><figcaption><p>Configuring the connection between PrestaShop and Payrexx</p></figcaption></figure></div>

1. **API Key:** Copy the displayed API key to your clipboard, as you will need it later.
2. **Instance Name:** Copy the displayed instance name to your clipboard, as you will also need it later.
3. **Enter shop address:** In this field, enter the URL of your shop. If your shop is not located in the root directory (e.g., <https://my-shop.com>) but in a subdirectory, please enter the full path to your shop. Example: <https://my-shop.com/shop>

{% hint style="warning" %}
Please ensure that the shop URL is entered correctly. Any discrepancies (e.g. using http\:// instead of https\://) may cause errors when processing webhooks.
{% endhint %}

4. **Webhooks:** Define whether a failed webhook should be retried. If the checkbox is activated, the system will attempt to resend the webhook up to 10 times. The retry intervals are as follows: 5 minutes, 15 minutes, 1 hour, 2 hours, 4 hours, and then every 24 hours.
5. **Finalize:** Click the green "Activate" button to complete the configuration.

### Plugin installation

* Download the latest version of the [plugin](https://github.com/payrexx/prestashop-payrexx-gateway) from GitHub:&#x20;

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FUF7QtDa6byNPwZqii09s%2Fimage.png?alt=media&#x26;token=21a87b00-0f34-4312-9033-8e3d21dd4987" alt=""><figcaption><p>Download the ZIP file from GitHub</p></figcaption></figure></div>

* Extract the file *prestashop-payrexx-gateway-master.zip*.
* Open the folder containing the *payrexx* subfolder and the *.gitignore* file.
* Compress the *payrexx* folder into a ZIP file.
* Log in to your PrestaShop account.
* Navigate to **Modules > Module Manager**.
* Click on the <img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FHkCMYcQGCllh5nArTBNQ%2Fimage.png?alt=media&#x26;token=cb91c0e4-8717-4c21-ae09-c0dc9f4184d7" alt="" data-size="line"> button.
* Upload the ZIP file of the plugin.

### Configuration of PrestaShop

* Navigate to **Modules > Module Manager**.
* Set the Category field filter to "Payment":

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2Fi9ucqUShURYuZNbt5uZI%2Fimage.png?alt=media&#x26;token=f7320774-e155-4958-89e8-6d3ff0b86c6f" alt=""><figcaption><p>Showing the payment modules</p></figcaption></figure></div>

* Scroll down to Payrexx and click "Settings":

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FZ0oPlJy5SXDHst3Fgiea%2Fimage.png?alt=media&#x26;token=61c89623-9927-4792-85f4-68803d3d7a7d" alt=""><figcaption><p>Accessing the Payrexx module settings</p></figcaption></figure></div>

PrestaShop can be connected to Payrexx in two ways – automatically or manually:

**Automatically connect PrestaShop to Payrexx**

* Click the "Connect With Platform" button to establish the connection to Payrexx:

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FZJNtImD918FmNV62GbEE%2Fimage.png?alt=media&#x26;token=2225a5b4-7a02-4cf5-81b0-8139b27c4565" alt=""><figcaption><p>Automatic connection of PrestaShop and Payrexx</p></figcaption></figure></div>

**Manually connect PrestaShop to Payrexx**

* Fill in the following fields to manually establish the connection to Payrexx:

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FktFg7KGC8l4qigaRVjda%2Fimage.png?alt=media&#x26;token=be7556b2-b1c2-4b13-96b2-723fd50c68d7" alt=""><figcaption><p>Manual connection of PrestaShop and Payrexx</p></figcaption></figure></div>

1. **Payrexx Platform:** Select the platform where your Payrexx account is located.
2. **API Secret:** Enter the API key that was generated during the [configuration of Payrexx](#configuration-of-payrexx).
3. **Instance Name:** Enter the instance name of your Payrexx account. The instance name corresponds to the first part of your Payrexx URL. For example, if your URL is *example*.payrexx.com, the instance name is *example*.
4. **Look and Feel Profile ID:** Optionally, enter the ID of the desired [Look & Feel profile](https://docs.payrexx.com/merchant/english/account/settings/look-and-feel).

{% hint style="success" %}
The connection between Payrexx and PrestaShop has been successfully established.
{% endhint %}

* Navigate to **Advanced Parameters > Performance**.
* In the "Smarty" section, ensure that the option "Recompile templates if the files have been updated" is selected next to "Template compilation":

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FYyDHIJeEhdP5bYQVbZWX%2Fimage.png?alt=media&#x26;token=db36ac14-4879-4bd0-8523-301dbbe927e6" alt=""><figcaption><p>Template compilation settings in PrestaShop</p></figcaption></figure></div>

### Configuration of Payment Methods

In this section, you will learn how to configure the payment methods available for your customers in your PrestaShop store.

* Navigate to **Modules > Module Manager**.
* Scroll down to the "Payment Methods" section.
* Select the payment methods you want to enable:

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FBXXYLyUk0h1K9rE2SdU4%2Fimage.png?alt=media&#x26;token=34d6ef0f-acfc-4234-b565-94d9c391509f" alt=""><figcaption><p>Management of payment methods in PrestaShop</p></figcaption></figure></div>

## Order from the Customer’s Perspective

The following steps illustrate how a customer places and pays for a product on a website using PrestaShop with the integrated Payrexx payment solution:

The customer selects a product and adds it to the cart:

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FSWnCyHC3oxqMdPgoClJd%2Fimage.png?alt=media&#x26;token=3e86fce8-3299-4784-9b7c-f65ef9f5a1ae" alt=""><figcaption><p>Selecting the product "Hummingbird printed sweater"</p></figcaption></figure></div>

The customer clicks the “Proceed to checkout” button:

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FSbLxwIygb189PHvoW6AY%2Fimage.png?alt=media&#x26;token=5d52e0a9-0910-40f3-93f5-567dbd9186f2" alt=""><figcaption><p>Proceed to checkout</p></figcaption></figure></div>

The customer fills in the required fields and accepts the terms and conditions and privacy policy:

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FECVKL2mZk1P3I6EcWEda%2Fimage.png?alt=media&#x26;token=cafd9f69-67ab-4658-ad63-a200b74cee07" alt=""><figcaption><p>Filling in the form fields and accepting the terms and conditions</p></figcaption></figure></div>

The customer selects "Payrexx" under "Payment", and the payment methods enabled in Payrexx appear – in this example: [Mastercard](https://docs.payrexx.com/merchant/english/payment-provider/payrexx-pay/payment-methods/mastercard), [Visa](https://docs.payrexx.com/merchant/english/payment-provider/payrexx-pay/payment-methods/visa), [Purchase on Invoice](https://docs.payrexx.com/merchant/english/payment-provider/payrexx-pay/payment-methods/purchase-on-invoice), and [TWINT](https://docs.payrexx.com/merchant/english/payment-provider/payrexx-pay/payment-methods/twint):

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FbponMznQn3hWOIdMlzGS%2Fimage.png?alt=media&#x26;token=5a89ecb4-3535-4306-8c3a-178090dd0900" alt=""><figcaption><p>Selecting Payrexx</p></figcaption></figure></div>

The customer completes the order on the website by:

1. choosing one of the available payment methods (e.g., Visa)
2. accepting the terms of service
3. clicking "Place order"

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FUNZbZ7vK54NMWAEd1Xzv%2Fimage.png?alt=media&#x26;token=c259bdb9-71f5-4882-91fd-585b8d661e0b" alt=""><figcaption><p>Selecting the payment method Visa</p></figcaption></figure></div>

The customer is then redirected to Payrexx to complete the order:

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2Fo16RANBnbUnWckFH00IF%2Fimage.png?alt=media&#x26;token=83b3f8e1-2403-4f5c-92c9-e71a7b272324" alt="" width="282"><figcaption><p>Completing the order on Payrexx</p></figcaption></figure></div>

After completing the order, the customer is redirected back to the website, where the order and payment confirmation is displayed:

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FFP9pNgutQw26C8GteljA%2Fimage.png?alt=media&#x26;token=09d18730-5b9c-45df-8cda-30b0f4fabce3" alt=""><figcaption><p>Order confirmation displayed in the webshop</p></figcaption></figure></div>

{% hint style="success" %}
The order is now successfully completed.
{% endhint %}

### Place your own test order

If you want to see how an order works from the customer’s perspective, visit our [demo shop](https://showcase.payrexx.com/prestashop/) and place a test order.

For more information and test credit card details, please refer to the following article:

{% content-ref url="../../payment/testing" %}
[testing](https://docs.payrexx.com/merchant/english/payment/testing)
{% endcontent-ref %}
