Skip to content
aeropage-round-dark
Aeropage Documentation
Stripe cart

icon picker
Stripe Cart Webhook

Create an automation that records when people have clicked to make a purchase and update products with the Stripe product ID. This also sync products with stripe.

Copy webhook and paste to stripe cart tool


megaphone
Make sure you automation is ‘ON’

image.png

image.png

Trigger webhook

Go to preview page, copy session id, go to line items table and paste this as “Session ID“ field value. When it’s done you can reload cart and you should be seeing your items. Just click ‘CHECKOUT’ button and it will generate the payment link but also trigger webhook
image.png

Check body

Click “Test trigger” and you should see the content of the webhook response. You can review the data, you will need it in the next steps.
image.png

Add log record

This is useful for debugging and quick review of customers that uses your link.
image.png

Update stripe product ids

Webhook in response has products and stripe product ID generated for them, you can assign them to products
image.png

Automation in practice

Customer generates payment
image.png

Automation updates stripe product id and sync products with stripe
image.png
image.png

In addition, if an error occurs, we provide a payload stringified that can be used for debugging purposes
image.png
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.