This documentation guides you through integrating the Accept Stripe Payments plugin with Zapier using a simple webhook. This integration allows you to send customer and transaction data to Zapier whenever a Stripe payment is completed, enabling automation with hundreds of apps supported by Zapier.
This is ideal for sending post-payment data (like customer name and email) to your CRM, email marketing service, or Google Sheets using Zapier’s “Catch Hook” trigger.
Table of Contents
Download the Integration Code
Use the link below to download the ready-to-use example addon:
Download Zapier Integration Example Addon
How to Use
Step 1) Create a Zap in Zapier
- Go to your Zapier Dashboard.
- Create a new Zap and select “Webhooks by Zapier” as the trigger app.
- Choose “Catch Hook” as the trigger event.
- Copy the Webhook URL provided by Zapier.
Step 2) Install and Activate the Example Addon
- Go to Plugins → Add New → Upload Plugin on your WordPress dashboard.
- Upload the downloaded Zapier example addon ZIP file.
- Activate it.
Step 3) Edit the Addon File
Open the plugin file (asp-zapier-webhook.php
) using a text editor or via your hosting file manager.
Find the following line near the top of the file:
$zapier_webhook_url = 'https://hooks.zapier.com/hooks/catch/XXXXXXX/XXXXXXXX';
Replace it with your actual Zapier Catch Hook URL. For example:
$zapier_webhook_url = 'https://hooks.zapier.com/hooks/catch/1234567/abcdefg';
Step 4) Save the File
That’s it! From now on, whenever a Stripe payment is completed, this addon will send the following data to your Zapier Webhook:
- Customer name
- Customer email
- Product ID
- Item name
- Transaction ID
- Payment amount
Troubleshooting Related
If you encounter issues, enable debug logging feaature in the core plugin then do a new test. If everything is set up correctly, you should see a log entry that includes the following line:
Data sent to Zapier webhook URL
Also ensure your Zapier webhook URL is correct to avoid data transmission issues.
Developer Notes
The addon uses the asp_stripe_payment_completed action hook to send data to Zapier.