Configuration
The PTS Stripe module is configured from its administration panel, accessible through Modules → Module Manager (in PrestaShop 1.7+). The panel is divided into several thematic sections that group the configuration options.
General
This section groups general module options related to debugging, automatic behavior and event logging.
Debug mode
Enables debug mode for debugging in development environments. When activated, the module logs detailed information about payment flows in PrestaShop logs (Advanced parameters → Logs).
Type: Switch (enable/disable)
Default value: Disabled
IP
Text field to specify the IP address that is allowed to access the module in debug mode. This option is only visible when "Debug mode" is enabled.
Type: Text
Default value: Empty
Note: Includes a button that automatically adds your current IP address.
Enable debug logs
Enables detailed logging of all the module's payment flows. All events (Payment Intent creation, payment confirmation, errors, etc.) are recorded in the Advanced Parameters → Logs section of the PrestaShop back office.
Type: Switch (enable/disable)
Default value: Disabled
Recommendation: Keep it disabled in production to avoid very large log files. Enable it only when you need to debug specific issues.
Auto-refund on credit slip
When you enable this option, the module automatically processes a refund in Stripe each time a credit slip is created in PrestaShop. The refund amount will be equal to the credit slip amount.
Type: Switch (enable/disable)
Default value: Disabled
Stripe
Configuration of the Stripe API keys and webhook secret. This section is essential to connect your PrestaShop store with your Stripe account.
Sandbox mode (test)
Toggles between the test (sandbox) and production (live) API keys. When enabled, all transactions are processed in test mode and Stripe does not apply real charges. Use this option to fully test the module before going live.
Type: Switch (enable/disable)
Default value: Enabled
Public test key
Stripe publishable key for the test environment. It is used on the front end to initialize Stripe.js and create interactive payment elements. Only visible when "Sandbox mode" is enabled.
Type: Password field
Default value: Empty
Format: Must begin with pk_test_
Where to get it: Stripe Dashboard → Developers → API keys
Secret test key
Stripe secret key for the test environment. It is used on the back end to create, confirm and process payments. Only visible when "Sandbox mode" is enabled.
Type: Password field
Default value: Empty
Format: Must begin with sk_test_
Where to get it: Stripe Dashboard → Developers → API keys
Important: Never share this key. Store it securely.
Public live key
Stripe publishable key for production. Only visible when "Sandbox mode" is disabled.
Type: Password field
Default value: Empty
Format: Must begin with pk_live_
Where to get it: Stripe Dashboard → Developers → API keys
Secret live key
Stripe secret key for production. Only visible when "Sandbox mode" is disabled.
Type: Password field
Default value: Empty
Format: Must begin with sk_live_
Where to get it: Stripe Dashboard → Developers → API keys
Important: Never share this key. Store it securely.
Webhook secret
Secret value used to validate the authenticity of the events sent by Stripe. Every webhook received is validated using this secret. If the HMAC signature is invalid, the webhook is rejected.
Type: Password field
Default value: Empty
Format: Begins with whsec_
Where to get it: Stripe Dashboard → Developers → Webhooks → Select your endpoint → Reveal signing secret
Special note: The section displays an information box with the full webhook URL that you must configure in the Stripe dashboard, along with a button to copy it to the clipboard. This URL must be registered in Stripe so the module can receive payment notifications.
Payments
This section configures the payment methods available at your store's checkout. Here you decide which payment options you will offer your customers.
Enable integrated payment form
When you enable this option, all enabled payment methods are displayed in a single modern form (Payment Element) designed and managed by Stripe. When disabled, each payment method is shown as an individual payment option in the PrestaShop checkout.
Type: Switch (enable/disable)
Default value: Disabled
Integrated form design
Defines how the payment methods are visually arranged within the integrated form. Only visible when "Enable integrated payment form" is enabled.
Type: Dropdown selector
Default value: tabs
Available options:
tabs: Payment methods are displayed in horizontal tabs
accordion_radio: Methods are displayed in an expandable accordion with radio buttons to select
accordion: Methods are displayed in an expandable accordion without radio buttons
Integrated form theme
Defines the visual appearance and color scheme of the integrated payment form. Only visible when "Enable integrated payment form" is enabled.
Type: Dropdown selector
Default value: stripe
Available options:
stripe: Stripe's default theme (recommended)
flat: Minimalist, clean theme
night: Dark theme
none: No theme (the form inherits your store's CSS styles)
Individual payment methods
The following switches are available only when "Enable integrated payment form" is disabled. Each switch enables or disables a specific payment method at the checkout.
Per-method restrictions (delivery country and customer group): Enabling any method reveals additional fields to restrict its visibility:
- Allowed countries: delivery countries for which the method will be available. Empty = all countries (subject to the method's own availability in Stripe).
- Allowed customer groups: PrestaShop customer groups that will see the method. Empty = all groups.
These restrictions apply per method, independently of each method's inherent geographic restrictions (e.g. iDEAL only in the Netherlands). A ⚠ warning indicates that the method requires a Stripe account registered in a specific country (e.g. PIX/Boleto in Brazil, OXXO in Mexico, Affirm in the US/Canada).
Credit/Debit Card
Enables payments with international credit and debit cards (Visa, Mastercard, American Express, Discover, etc.). Includes automatic support for 3D Secure 2 (SCA) when required.
Type: Switch (enable/disable)
Default value: Enabled
Flow: Inline form integrated into the checkout
Show postal code
Displays an additional field to request the customer's postal code when paying by card. This can increase the approval rate in some cases. Only visible when "Credit/Debit Card" is enabled.
Type: Switch (enable/disable)
Default value: Disabled
iDEAL
Redirect payment method that is very popular in the Netherlands. Allows customers to pay by bank transfer from their bank.
Type: Switch (enable/disable)
Default value: Disabled
Flow: The customer is redirected to their bank to complete the payment
Availability: Mainly in the Netherlands and Belgium
Bancontact
Redirect payment method used in Belgium and the Netherlands. Customers complete the payment through their banks.
Type: Switch (enable/disable)
Default value: Disabled
Flow: Redirect to the bank
Availability: Mainly in Belgium
Klarna
"Buy now, pay later" (BNPL) service popular in Europe and the United States. Allows your customers to pay for their purchase in installments through Klarna.
Type: Switch (enable/disable)
Default value: Disabled
Flow: Redirect to Klarna to complete the credit application
Availability: Several European countries and selected U.S. states
EPS
Redirect payment method used in Austria for bank transfers.
Type: Switch (enable/disable)
Default value: Disabled
Flow: Redirect
Availability: Austria
Przelewy24 (P24)
Redirect payment method that is very popular in Poland. It integrates multiple Polish payment options (e-wallets, transfers, etc.).
Type: Switch (enable/disable)
Default value: Disabled
Flow: Redirect
Availability: Mainly in Poland
BLIK
Mobile payment method used in Poland. The customer enters a 6-digit code generated in their banking app to confirm the payment.
Type: Switch (enable/disable)
Default value: Disabled
Flow: Inline code integrated into the checkout (no redirect required)
Availability: Poland
TWINT
Mobile payment method used in Switzerland. Customers pay by scanning a QR code with their TWINT app.
Type: Switch (enable/disable)
Default value: Disabled
Flow: Redirect
Availability: Switzerland
Afterpay / Clearpay
"Buy now, pay later" (BNPL) service. Available as "Afterpay" in selected European countries and as "Clearpay" in the United Kingdom.
Type: Switch (enable/disable)
Default value: Disabled
Flow: Redirect
Availability: France, Spain, Italy, the Netherlands, Belgium, Germany, the United Kingdom
PayPal
Enables payments via PayPal through the Stripe integration. Customers can use their existing PayPal accounts or complete the payment as a guest.
Type: Switch (enable/disable)
Default value: Disabled
Flow: Redirect to PayPal
Availability: Available in most countries
SEPA Direct Debit
SEPA direct debit for the euro area. Allows customers to pay by providing their IBAN number, which will be charged directly from their bank account.
Type: Switch (enable/disable)
Default value: Disabled
Flow: Inline form integrated into the checkout
Availability: Euro area
Pix
Instant payment method used in Brazil. It generates a dynamic QR code that the customer scans with their banking app to confirm the payment.
Type: Switch (enable/disable)
Default value: Disabled
Flow: Voucher with QR code
Availability: Brazil only
Important restriction: Requires a Stripe account registered in Brazil
OXXO
Cash payment method used in Mexico. It generates a voucher that the customer prints or notes down and pays at any OXXO store.
Type: Switch (enable/disable)
Default value: Disabled
Flow: Voucher
Availability: Mexico only
Important restriction: Requires a Stripe account registered in Mexico
Boleto
Cash payment method used in Brazil. It generates a bank slip that the customer can pay at banks, lottery agents or through online banking.
Type: Switch (enable/disable)
Default value: Disabled
Flow: Downloadable PDF voucher
Availability: Brazil only
Important restriction: Requires a Stripe account registered in Brazil
Multibanco
Bank reference payment method used in Portugal. It generates an entity and reference that the customer pays at ATMs, online banking or bank branches.
Type: Switch (enable/disable)
Default value: Disabled
Flow: Voucher with reference data
Availability: Portugal
Affirm
"Buy now, pay later" (BNPL) service used in the United States and Canada. Allows customers to pay in interest-free installments.
Type: Switch (enable/disable)
Default value: Disabled
Flow: Redirect
Availability: United States and Canada
Important restriction: Requires a Stripe account registered in the United States or Canada
Express Checkout
Express Checkout lets your customers complete purchases quickly and securely using digital wallets and popular payment services. The Express Checkout buttons appear directly on the product, cart and checkout pages.
Product Page — Button Position
Defines where the Express Checkout buttons will be rendered on the product page.
Type: Dropdown selector
Default value: displayProductAdditionalInfo
Available options:
displayProductAdditionalInfo: After the product's additional information
displayAfterProductAddCartBtn: After the "Add to cart" button
displayProductActions: In the product actions area (next to the add-to-cart button)
Custom CSS selector (advanced): Places the buttons next to any element on the page via a CSS selector, ignoring the theme hooks
Note: The first three options depend on the hooks your theme supports. Use the "Custom CSS selector" when none of them renders in the position you need.
CSS selector (advanced)
CSS selector pointing to the element next to which the Express Checkout buttons will be injected. Only visible when "Product Page — Button Position" is set to Custom CSS selector.
Type: Text
Default value: Empty
Example: #add-to-cart-or-refresh .add-to-cart
Test it in your theme's product page DevTools (document.querySelector(...)) to confirm it matches a single element.
Position relative to the element
Defines where to place the buttons relative to the element matched by the CSS selector. Only visible in Custom CSS selector mode.
Type: Dropdown selector
Default value: afterend
Available options:
beforebegin: Before the element
afterbegin: Inside the element, at the start
beforeend: Inside the element, at the end
afterend: After the element (default)
Button Height (px)
Defines the height of the Express Checkout buttons in pixels. Stripe limits this value to between 40 and 55 pixels.
Type: Dropdown selector
Default value: 48
Range: 40 to 55 pixels
Max Columns
Defines the maximum number of columns for displaying the Express Checkout buttons in the grid.
Type: Dropdown selector
Default value: 0 (no limit)
Available options: 0 (unlimited), 1, 2, 3, 4
Max Rows
Defines the maximum number of rows for displaying the Express Checkout buttons in the grid.
Type: Dropdown selector
Default value: 0 (no limit)
Available options: 0 (unlimited), 1, 2, 3, 4
Note: When there are more buttons than fit in the defined grid, an additional overflow menu is shown (see the "Overflow Menu" option).
Overflow Menu
Defines the behavior when there are more payment buttons than the available space allowed by the Max Columns and Max Rows options.
Type: Dropdown selector
Default value: auto
Available options:
auto: Stripe automatically decides whether to show an overflow menu
never: Never shows an overflow menu; it simply hides the buttons that do not fit
Hide carriers
Lets you exclude specific carriers from the wallet modal (Apple Pay / Google Pay). Carriers selected here will not appear in the Express Checkout popup.
Type: Multiple carrier selection
Default value: Empty (all carriers visible)
Use case: Pickup-point carriers that require the customer to choose a physical location, which is not possible inside the native wallet UI. Hiding them prevents the customer from selecting an option they cannot complete correctly from the wallet.
Apple Pay
Enables the Apple Pay button for fast payments. Only available in Safari and on Apple devices.
Type: Switch (enable/disable)
Default value: Enabled
Show as a payment option
In addition to the Express Checkout button, shows Apple Pay as another option inside the checkout payment method list. With the customer already identified and their address selected, they can pay in one tap (1-tap) without re-entering data. Only appears on Apple devices / Safari. Only visible when "Apple Pay" is enabled.
Type: Switch (enable/disable)
Default value: Disabled
Show on Product Page
Displays the Apple Pay button on the product page. Only visible when "Apple Pay" is enabled.
Type: Switch (enable/disable)
Default value: Enabled
Show on Cart Page
Displays the Apple Pay button on the cart page. Only visible when "Apple Pay" is enabled.
Type: Switch (enable/disable)
Default value: Enabled
Show on Checkout
Displays the Apple Pay button on the checkout page. Only visible when "Apple Pay" is enabled.
Type: Switch (enable/disable)
Default value: Enabled
Button Text
Defines the text shown on the Apple Pay button. Only visible when "Apple Pay" is enabled.
Type: Dropdown selector
Default value: check-out
Available options: plain, add-money, book, buy, check-out, contribute, donate, order, reload, rent, subscribe, support, tip, top-up
Button Theme
Defines the color of the Apple Pay button. Only visible when "Apple Pay" is enabled.
Type: Dropdown selector
Default value: black
Available options: black, white, white-outline
Google Pay
Enables the Google Pay button for fast payments in Chrome and other compatible browsers.
Type: Switch (enable/disable)
Default value: Enabled
Show as a payment option
In addition to the Express Checkout button, shows Google Pay as another option inside the checkout payment method list. With the customer already identified and their address selected, they can pay in one tap (1-tap) without re-entering data. Only appears on Chrome and compatible browsers. Only visible when "Google Pay" is enabled.
Type: Switch (enable/disable)
Default value: Disabled
Show on Product Page
Displays the Google Pay button on the product page. Only visible when "Google Pay" is enabled.
Type: Switch (enable/disable)
Default value: Enabled
Show on Cart Page
Displays the Google Pay button on the cart page. Only visible when "Google Pay" is enabled.
Type: Switch (enable/disable)
Default value: Enabled
Show on Checkout
Displays the Google Pay button on the checkout page. Only visible when "Google Pay" is enabled.
Type: Switch (enable/disable)
Default value: Enabled
Button Text
Defines the text shown on the Google Pay button. Only visible when "Google Pay" is enabled.
Type: Dropdown selector
Default value: plain
Available options: plain, book, buy, checkout, donate, order, pay, subscribe
Button Theme
Defines the color of the Google Pay button. Only visible when "Google Pay" is enabled.
Type: Dropdown selector
Default value: black
Available options: black, white
Link by Stripe
Link lets customers pay quickly using payment information saved in Stripe Link. Useful for customers who already have information saved in Stripe.
Type: Switch (enable/disable)
Default value: Enabled
Show on Product Page
Displays the Link button on the product page. Only visible when "Link by Stripe" is enabled.
Type: Switch (enable/disable)
Default value: Enabled
Show on Cart Page
Displays the Link button on the cart page. Only visible when "Link by Stripe" is enabled.
Type: Switch (enable/disable)
Default value: Enabled
Show on Checkout
Displays the Link button on the checkout page. Only visible when "Link by Stripe" is enabled.
Type: Switch (enable/disable)
Default value: Enabled
PayPal
Enables the PayPal button for fast payments via Express Checkout. Customers can use their PayPal accounts saved in the browser.
Type: Switch (enable/disable)
Default value: Disabled
Show on Product Page
Displays the PayPal button on the product page. Only visible when "PayPal" is enabled.
Type: Switch (enable/disable)
Default value: Enabled
Show on Cart Page
Displays the PayPal button on the cart page. Only visible when "PayPal" is enabled.
Type: Switch (enable/disable)
Default value: Enabled
Show on Checkout
Displays the PayPal button on the checkout page. Only visible when "PayPal" is enabled.
Type: Switch (enable/disable)
Default value: Enabled
Button Text
Defines the text shown on the PayPal button. Only visible when "PayPal" is enabled.
Type: Dropdown selector
Default value: checkout
Available options: paypal, checkout, buynow, pay
Button Theme
Defines the color of the PayPal button. Only visible when "PayPal" is enabled.
Type: Dropdown selector
Default value: gold
Available options: gold, blue, silver, white, black
Amazon Pay
Enables the Amazon Pay button for fast payments using existing Amazon accounts.
Type: Switch (enable/disable)
Default value: Disabled
Show on Product Page
Displays the Amazon Pay button on the product page. Only visible when "Amazon Pay" is enabled.
Type: Switch (enable/disable)
Default value: Enabled
Show on Cart Page
Displays the Amazon Pay button on the cart page. Only visible when "Amazon Pay" is enabled.
Type: Switch (enable/disable)
Default value: Enabled
Show on Checkout
Displays the Amazon Pay button on the checkout page. Only visible when "Amazon Pay" is enabled.
Type: Switch (enable/disable)
Default value: Enabled
Klarna
Enables the Klarna button for fast payments using "buy now, pay later".
Type: Switch (enable/disable)
Default value: Disabled
Show on Product Page
Displays the Klarna button on the product page. Only visible when "Klarna" is enabled.
Type: Switch (enable/disable)
Default value: Enabled
Show on Cart Page
Displays the Klarna button on the cart page. Only visible when "Klarna" is enabled.
Type: Switch (enable/disable)
Default value: Enabled
Show on Checkout
Displays the Klarna button on the checkout page. Only visible when "Klarna" is enabled.
Type: Switch (enable/disable)
Default value: Enabled
Button Text
Defines the text shown on the Klarna button. Only visible when "Klarna" is enabled.
Type: Dropdown selector
Default value: pay
Available options: pay, continue
Button Theme
Defines the color of the Klarna button. Only visible when "Klarna" is enabled.
Type: Dropdown selector
Default value: dark
Available options: dark, light, outlined
Translation
The Translation section lets you manage the module's translations for the different languages installed in your PrestaShop store.
Functionality: This section is provided by the pts_modulobase framework and offers:
- A list of the translation files available for each language
- An inline editor with support for multiple languages without reloading the page
- Export translations to a file
- Import translations from a file
- Share translations with the PresTeamShop team for continuous improvement
Note: No additional initial configuration is required.
Code Editors
The Code Editors section lets you edit the module's custom CSS and JavaScript files without modifying the source code.
Functionality: This section is provided by the pts_modulobase framework and offers:
- Automatic detection of override files in the
views/css/ and views/js/ directories
- A code editor with syntax highlighting for better readability
- Automatic saving of changes
- Changes are stored in the PrestaShop configuration and applied immediately on the front end
Use cases: Customize the module's CSS styles, add custom JavaScript functionality, or modify behaviors without altering the module's original files.
Backups
The Backups section lets you automatically create, restore and manage backups of all the module's settings.
Functionality: This section is provided by the pts_modulobase framework and offers:
- Generate new backup: Creates a snapshot of all the PTSS_* settings at that moment
- Restore backup: Overwrites the current settings with those of a previous backup
- Download backup: Downloads a ZIP file with the backup data
- Upload backup: Imports a backup from a previously downloaded ZIP file
- Delete backup: Removes backups you no longer need
- History: View the history of all backups created, with date and time
Note: Backups are stored in the PrestaShop database in the ptss_backup table. Each backup includes metadata about when it was created and how it was generated (automatic, manual, imported, etc.).