# Stripe gateways

Configuring a Stripe payment gateway for a market lets you safely process payments through [Stripe](https://stripe.com/docs). The Stripe gateway is compliant with the PSD2 European regulation so that you can implement a payment flow that supports SCA and 3DS2 by using the Stripe's official JS SDK and libraries.

To create a Stripe gateway choose a meaningful name that helps you identify it within your organization and gather all the credentials requested (like [secret and publishable keys](https://stripe.com/docs/keys#obtain-api-keys), etc. — contact [Stripe's support](https://support.stripe.com/) if you are not sure about the requested data).

{% hint style="warning" %}
If you're leveraging Stripe `auto_payments` option on your gateway, make sure to specify a `return_url` when you create a [Stripe payment](https://docs.commercelayer.io/core-api-reference/stripe_payments).
{% endhint %}

<details>

<summary>How-to</summary>

Check the related [guide](https://docs.commercelayer.io/developers/v/how-tos/payments/stripe) to learn more on how Commerce Layer handles the server-side part of the integration process with Stripe.

</details>
