Module Stripe: Difference between revisions

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
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.  
Line 57: Line 59:
* Events: <code>read</code>
* Events: <code>read</code>
* PaymentIntents: <code>write</code>
* PaymentIntents: <code>write</code>
* SetupIntents: <code>write</code> (if using free trials)
* SetupIntents: <code>write</code>
* Checkout Sessions: <code>write</code> (if using Stripe Checkout)
* Checkout Sessions: <code>write</code>
 
Then, you can replace the secret key with this new restricted key.


=Usage=
=Usage=

Navigation menu