Stripe integrations are linked and activated in Azavista with a Public API key, a Secret API key, and a Webhook signing secret.
====================================================================
In Stripe, you can switch to a "Test mode" which will "simulate transactions without moving any money, using special values", as per their documentation:
- https://stripe.com/docs/testing
- https://stripe.com/docs/keys#test-live-modes
You can use this mode with Azavista to make sure everything has been properly set up before accepting and issuing any real transaction.
====================================================================
1. Create a Stripe integration in Azavista and fill in the mandatory fields "Public API key" & "Secret API key", which are obtained from your Stripe account.
These keys are found in your Stripe account -> Developers tab -> API keys. Copy the Publishable key & the Secret key - Into the Azavista Stripe integration.
====================================================================
2. After clicking on save, a url (also called "End point") of this form has been generated in the integration, copy it: https://3.0.testing.azavista.com/payment/integration/618a*****/webhook
====================================================================
3. In your Stripe account -> Developers tab -> Webhooks -> click "+ Add endpoint"
- Copy the code obtained in step 2. (the Endpoint url):
- For "Events to send" select the setting "checkout.session.completed"
- Make sure that the webhook is enabled in Stripe.
====================================================================
4. Access the webhook you just created in Stripe, and copy the signing secret - Into the Azavista Stripe integration's "webhook signing secret" field.
====================================================================
5. Once everything has been copied, activate the integration.
====================================================================
6. If the integration has been successfully set up, the Stripe checkout webpage will appear when buying products on an Azavista form web page.