Configure the Stripe Connector for PrestaShop
To use Stripe with PrestaShop, you must install and then configure the Stripe connector.
Configure the connector
Use the PrestaShop dashboard to configure the connector.
Under Modules, select Module Manager.
On the Modules tab, for the Stripe payment module, click Configure.
Configure the Stripe Connector for PrestaShop:
Connect to Stripe to accept payments
Connect PrestaShop to your Stripe account to start accepting payments.
On the Stripe Configure page, click Connect with Stripe.
Provide your business information to create your Stripe account.
After you create your Stripe account, log in to your Stripe Dashboard.
In the Stripe Dashboard, under For developers, copy the Publishable key.
In the PrestaShop dashboard, on the Stripe Configure page, paste the key in the appropriate field.
Repeat steps 4 and 5 for the Secret key. Click the key first to reveal it.
Click Save.
Choose your payment form
Configure the payment form that displays to your customers during checkout. Under Payment form settings, you can choose from the following:
- Integrated payment form–The Payment Element is an embeddable UI component that lets you accept 25+ payment methods with a single integration.

- Redirect to Stripe–Stripe Checkout lets you redirect your customers to a Stripe-hosted, customizable checkout page to finalize payment.

Customize the payment form
You can customize the appearance of the integrated payment form. Under Select a theme for the integrated payment form, choose one of the following: Stripe, Night, Flat, or None.
Collect your customer’s postal code
You can specify whether or not to collect your customer’s postal code at checkout using the Never collect the postal code field. Stripe recommends collecting and verifying postal code information, which can help decrease the card decline rate.
(Recommended) Unselect this field if you want to require a postal code at checkout. This applies to cards issued in Canada, the United Kingdom, or the United States.
Select this field if you don’t want to collect a postal code at checkout.
Choose how to capture funds
You can specify how you want to authorize and capture funds using the Enable separate authorization and capture field.
Unselect this field to use simultaneous authorization and capture. The issuing bank confirms that the cardholder can pay, and then transfers the funds automatically after confirmation.
Select this field to use separate authorization and capture. The authorization occurs first, and the capture occurs later.
You can usually authorize a charge within a 7-day window.
To capture funds, do either of the following:
In the PrestaShop dashboard, change the order’s payment status from
Authorized
to the status you specify in the Catch status field. For example, you can useShipped
as the catch status. The capture occurs automatically when the status changes.If the capture is unsuccessful, the status changes to the specified value in the Transition to the following order status if the authorization expires before being captured field.
In the Stripe Dashboard, under Payments, select All payments. On the Uncaptured tab, select the order and then click Capture.
Refunds
To refund a payment, you need the Stripe Payment ID for the order.
In the PrestaShop dashboard, under Orders, select Orders.
Find the order you want to refund and copy the Payment ID under Stripe.
To initiate a full or partial refund, do the following:
Go to the Refund tab on the Stripe payment module.
In the Stripe Payment ID field, paste the payment ID.
Select Full refund or Partial refund. If you want to initiate a partial refund, you must provide the amount to refund.
Click Request Refund.