Changes

m
Line 50: Line 50:     
'''What about the Restricted API keys ?'''
 
'''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.  
 
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 <a href="https://stripe.com/docs/keys#create-restricted-api-secret-key">steps provided by Stripe</a>. When creating the key, the permissions needed by Dolibarr include:
+
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>
   −
TODO
+
Then, you can replace the secret key with this new restricted key.
    
=Usage=
 
=Usage=