Stripe (beta)
Installing Stripe in Purchasely
Last updated
Was this helpful?
Installing Stripe in Purchasely
Last updated
Was this helpful?
Installation of Stripe in Purchase is performed in 4 steps
Go to the Purchasely's app listing on
If you have more than one Stripe account (for each application) then connect the account you want to associate with the application.
Click on install app. The list of authorisations required for the proper functioning of our application is then displayed.
Validate the authorisations requested
The installation is complete, you can proceed with the configuration.
Once the Stripe Purchasely app is installed you need to configure it. Go to the Stripe console in Settings > installed apps > Purchasely.
Once on the app configuration you need to associate it with your Purchasely account and app. To do this, start by clicking on "SIGN IN".
Select the Purchasely app you wish to link your Stripe account to.
Click on "NEXT".
Once you have selected the application, you will be redirected to Stripe to finalise the configuration by clicking on "CONFIRM".
The app will appear as below when properly configured in Purchasely and Stripe.
In order for Purchasely to associate Stripe products, they must be defined in the plans. Also you must associate each Pricing Stripe to a Purchasely Plan otherwise the purchase will not be taken into account by Purchasely.
From the Stripe console, copy the API ID (price) ...
... then paste this ID into the corresponding plan or directly from the Stripe store configuration.
This last step allows Purchasely to retrieve and associate a purchase with a user.
To send us this information, simply call our API and provide it with
stripe_object_id
: the Stripe subscription ID
stripe_price_id
: the Stripe Price Id for this subscription (ON STRIPE)
stripe_object_type
: the type of Stripe object sent, currently we only accept subscription
Example request:
user_id
: the user_id associated with the purchase, the same as you enter in