Line 12:
Line 12:
nom=Stripe|
nom=Stripe|
num=50300|
num=50300|
−
devdoc=|
+
devdoc=[[Online Payment Module Architecture]]|
userdoc=This page|}}
userdoc=This page|}}
Line 35:
Line 35:
=Installation / Upgrade=
=Installation / Upgrade=
{{NoInstallModuleEn}}
{{NoInstallModuleEn}}
+
+
Also, because this is a native module, if you need to upgrade the module, you must just upgrade your Dolibarr application.
=Configuration=
=Configuration=
Line 45:
Line 47:
[[File:Doc setup stripe 1.png]]
[[File:Doc setup stripe 1.png]]
</div>
</div>
+
+
+
'''What about the Restricted API keys ?'''
+
+
This chapter has not been tested yet !!!!
+
+
A restricted API key allows you to specify which Stripe resources the API key has access to read and/or write.
+
To create a restricted key, follow the [https://stripe.com/docs/keys#create-restricted-api-secret-key steps provided by Stripe]. When creating the key, the permissions needed by Dolibarr include:
+
+
* Customers: <code>write</code>
+
* Events: <code>read</code>
+
* PaymentIntents: <code>write</code>
+
* SetupIntents: <code>write</code>
+
* Checkout Sessions: <code>write</code>
+
+
Then, you can replace the secret key with this new restricted key.
=Usage=
=Usage=