Here’s how to generate a Stripe API key for use with picu Pro’s e-commerce integration.
1. Log into your Stripe dashboard and go to “Developers > API Keys“.
2. Click on the “+ Create secret key” button:

3. Select “Building your own integration” and click “Create secret key”.

4. Give the new key a name, eg. “picu”:

5. Make sure to copy the key and store it somewhere safe, as you won’t be able to display it a second time. (If you forget the key, you have to create a new one.)

Now you have two options on how to integrate your newly created key with picu:
1. Save the key as a custom constant in your wp-config.php
file. Use PICU_STRIPE_API_KEY
as the name for the constant like so:
define( 'PICU_STRIPE_API_KEY', 'sk_live_xyz…' );
Code language: JavaScript (javascript)
Please note, that the settings field mentioned below, will be disabled, if you set the constant.
2. Save the key in the picu e-commerce settings:

The key will be encrypted before it is saved to the database.
That’s it! You are now set up to accept payments via Stripe.