Connect with Stripe

Stripe is a popular payment processing platform that facilitates online transactions for individuals and businesses. With its secure and user-friendly interface, many businesses rely on Stripe for managing their online payments. At HeyForm, we have integrated with Stripe to empower our users in collecting payments seamlessly through our forms.

In this guide example.com will be used to represent the location you are hosting HeyForm, it should be replaced with the correct value.

Stripe Connect OAuth

Stripe Connect OAuth

Stripe payment Webhook

  • Go to https://dashboard.stripe.com/webhooks
  • Click “Add endpoint
  • Paste https://example.com/payment/intent/webhook to “Endpoint URL”
  • Select “Events on Connected accounts
  • Select “payment_intent.succeeded” event to listen to.
  • Click “Add endpoint

Listen to Stripe events

You will be redirected to the detailed webhook page once it has been created.

Stripe payment Webhook

  • Click “Reveal
  • Make a note of “Signing secret

Stripe API keys

Environment variables

Add the values noted from the above process in the following environment variables:

STRIPE_CONNECT_CLIENT_ID=
STRIPE_WEBHOOK_SECRET_KEY=
STRIPE_PUBLISHABLE_KEY=
STRIPE_SECRET_KEY=