1. To create a webhook, go to the Settings page > Payment Processing and Carts > Stripe
2. Enter a Webhook name, select the Funnel to associate the webhook with, hit Save and Generate Webhook URL
Choose Your Integration Method
A - EMAIL CAPTURE METHOD (Recommended)
Most users do not need to make any changes.
This method works well if:
• Your shopping cart collects the customer's email before redirecting to Stripe.
• Your funnel includes an opt-in form before Stripe Checkout.
If visitors are sent directly to Stripe Checkout without entering their email first, Visiopt cannot reliably match the purchase to the original visitor. In this case, add a simple two-step checkout:
1. The visitor clicks the Checkout button.
2. Ask for the visitor's name and email.
3. Redirect the visitor to Stripe Checkout with those details pre-filled.
4. The customer completes the payment.
Capturing the email before payment allows Visiopt to correctly attribute the purchase to the visitor
B - NO EMAIL CAPTURE METHOD - This method doesn't require you to have an opt-in form that captures the customer's email.
This method is designed for checkouts that do not collect the customer's email before Stripe Checkout.
Instead of using the email address, Visiopt identifies the purchase using the Stripe Checkout Session ID.
Requirements:
• Configure the Stripe Checkout Success URL to include the Checkout Session ID.
Example:
https://yourdomain.com/thank-you?session_id={CHECKOUT_SESSION_ID}
• Make sure you create your Stripe webhook using the latest available API version.
• Enter your Stripe Secret Key when configuring the Stripe integration in VisiOpt.
Get Your Stripe Secret Key
Log in to your Stripe Dashboard.
Go to Developers → API Keys.
Under Standard keys, locate your Secret key.
Copy the Secret Key (it starts with sk_live_ or sk_test).
Head back to Visiopt Settings > Payment Processing and Carts > Find the Stripe webhook you set up earlier and click Edit:
Expand the Advanced option section and paste the key into the Stripe Secret Key field.
Enable Stripe Customer Emails
To ensure customers receive payment receipts and refund notifications from Stripe.
Log in to your Stripe Dashboard.
Go to Settings (⚙️ icon in the top-right corner).
Navigate to Business → Customer emails.
-
Under the Payments section, enable:
Successful payments
Refunds
Some carts and processors will send a separate webhook notification for the main sale and each upsell purchased. This will cause multiple conversions to be recorded.
For simple instructions to stop this click HERE.
Comments
0 comments
Article is closed for comments.