Follow these steps to use Stripe Payment Links in your Zap:
- In the Zap editor, click to open the Trigger step.
- In the Choose app & event section, search for and select Stripe.
- Click the Event dropdown menu, select New Event.
- Click Continue.
- In the Choose account section:
- If you already have a Stripe account connected to Zapier, select it from the account dropdown menu.
- If not, click Sign in to Stripe to connect your Stripe account.
- Once the account is connected, click Continue.
- In the Event Type dropdown menu, select Checkout Session Completed
- Click Continue.
- In the Test trigger section, click Test trigger.
- Click Continue.
(Optional) Retrieve line items from Stripe
If you need to retrieve the line items of the order, add a Webhooks by Zapier step (see instructions below).
- Click the Action step, or click the plus + icon to add an action to your Zap.
- Search for and select Webhooks by Zapier.
- In the Event dropdown menu, select GET.
- Click Continue.
- In the URL field, type
https://api.stripe.com/v1/checkout/sessions/{{data_object_id}}
. - Replace
{{data_object_id}}
with theData Object ID
field from the Stripe trigger. - In the Query String Params section, type
expand[]
in the first field, andline_items
in the second field. - In the Basic Auth field, type the Secret API Key generated from your Stripe account, followed by a
|
. - Click Continue.
- Click Test & Review to ensure the information is correct.
Once this step is completed, you can use the Stripe order information in later action steps.