Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add documentation for stripe payment gateway

Unknown40933e6e6008
diff --git a/docs/gettingstarted/configuration.rst b/docs/gettingstarted/configuration.rst
index acd55f6d27..6116eda1d5 100644
--- a/docs/gettingstarted/configuration.rst
+++ b/docs/gettingstarted/configuration.rst
@@ -29,7 +29,8 @@ Payments Gateways
- ``DUMMY`` (for tests purposes only!);
- ``BRAINTREE``;
- - ``RAZORPAY``.
+ - ``RAZORPAY``;
+ - ``STRIPE``.
``PAYMENT_GATEWAYS``
diff --git a/docs/payment-gateways.rst b/docs/payment-gateways.rst
index 09da4bf73d..17309067d4 100644
--- a/docs/payment-gateways.rst
+++ b/docs/payment-gateways.rst
@@ -11,6 +11,7 @@ and their configuration guide.
payment-gateways/braintree.rst
payment-gateways/razorpay.rst
+ payment-gateways/stripe.rst
The default configuration only uses the `dummy` backend
(see :ref:`how to enable/disable payment gateways <payment_gateways_configuration>`).
diff --git a/docs/payment-gateways/stripe.rst b/docs/payment-gateways/stripe.rst
new file mode 100644
index 0000000000..87edb4f07c
--- /dev/null
+++ b/docs/payment-gateways/stripe.rst
@@ -0,0 +1,20 @@
+Stripe (supports Credit Cards)
+===========================================
+
+This gateway implements payments using `Stripe <https://stripe.com/>`_.
+
+.. table::
+
+ ================================== ======================================================================================================
+ Environment variable Description
+ ================================== ======================================================================================================
+ ``STRIPE_PUBLIC_KEY`` Your Stripe's public key (test or live)
+ ``STRIPE_SECRET_KEY`` Your Stripe's secret key (test or live)
+ ``STRIPE_STORE_NAME`` Your store name to show in the checkout form
+ ``STRIPE_STORE_IMAGE`` An absolute or relative link of your store logo to show in the checkout form
+ ``STRIPE_PREFILL`` Prefill the email adddress in the checkout form if set to ``True`` (default)
+ ``STRIPE_REMEMBER_ME`` Add "Remember Me" for future purchases in the checkout form if set to ``True`` (default)
+ ``STRIPE_LOCAL`` Specify auto to display checkout form in the user's preferred language (default)
+ ``STRIPE_ENABLE_BILLING_ADDRESS`` Collect the user's billing address in the checkout form if set to ``True``. The default is ``False``
+ ``STRIPE_ENABLE_SHIPPING_ADDRESS`` Collect the user's shipping address in the checkout form if set to ``True``. The default is ``False``
+ ================================== ======================================================================================================