Page cover

Stripe

To acquire this feature, you must have premium

Integrating Stripe with Equate Forms

Stripe allows you to accept payments on any form you create, whether it’s a one-time payment or a subscription. Follow these step-by-step instructions to integrate Stripe with your Equate Forms.

1

Create a stripe account

Activate your account and enabled payments

2

Head over to the "Developers" section

Located at the bottom left of your screen on the Stripe overview page.

3

Click on the "API Keys" tab

These are the API keys you want to input into the settings overlay located on the equate forms overview page. - Ensure you fill these out or stripe won't work!

4

Click on the "Webhooks" tab

Back to stripe - Click "Add Endpoint" and enter the URL "(your_domain)/umbraco/api/stripe/confirmpayment"

5

Click on the "Select Events" button

Located on the "Add Endpoint" overlay. Add the following events below:

  • customer.subscription.deleted

  • subscription_schedule.canceled

  • charge.refunded

  • invoice.payment_succeeded

  • invoice.payment_failed

  • payment_intent.payment_failed

6

Click "Add Endpoint"

This will set-up your endpoint to confirm payments, refunds and cancellations.

7

Copy the Webhook ID

This is located at the top-right of the Webhook URL, copy this and place it in the same location where you put your stripe API keys before. You should see underneath a "Webhook ID" input.

How to set-up Subscriptions

Navigate to your stripe overview page, we need to grab a price ID so that we can parse this through to our stripe field on our equate form.

1

Click on "Product Catalog"

This should be present on the navigation menu, locate at the left of your screen.

2

Click on "Create Product"

This is located at the top-right of the stripe

3

Enter your product details

Ensure you are setting up a "Reoccurring" product, Once satisfied click the "Add product" button.

4

Copy the price ID

This ID is generated alongside the product you just created. Located on the price table while present on the product page, click the price that was just created (The price table item)

It should take you to the price page where you'd be able to copy the ID similar to how you copied the Webhook ID previously, at the top-right of your screen.

5

Enabled Subscriptions on the stripe field/question

Locate the stripe field/question on the form you'd like to activate subscriptions on. Proceed to click "edit" and toggle the "Configuration" accordion.

After, toggle the "Subscriptions" toggle and you should see a field to enter your recently copied price id. Enter your ID and click save.

Last updated