With Zapier, you can automatically run an action in another tool as soon as a new order comes in to your Plug&Pay. For example, you can add new customers straight to your mailing list or a Google Sheet. In this article, you'll learn how to set up the Zap and how to make it run for specific products only.
New to Zapier? Then first read what Zapier is and what it costs đ
Creating a Zapier account
You'll need a Zapier account. Create one, or log in with your existing account.
Creating a Zap with Plug&Pay as the trigger
In Zapier, click Create > Zaps. Search for Plug&Pay as the trigger.
[AFBEELDING: Plug&Pay zoeken als trigger]
Under Trigger event, choose Order Paid. This trigger runs the Zap as soon as the payment status of an order changes to Paid. Next, click 'Select' under Account to connect your Plug&Pay account. Already connected an account before? Then simply choose that one.
[AFBEELDING: Order Paid kiezen en account koppelen]
âšď¸ Want the Zap to run before the customer has paid? Then choose Invoice Created. This trigger runs as soon as an invoice is created, even if the payment is still pending. For example, when a customer pays by invoice or by SEPA Direct Debit.
Connecting Plug&Pay with your API key
Zapier now asks for an API key. This gives Zapier access to your Plug&Pay.
You create an API key in Plug&Pay under Settings > Developers. Doing this for the first time? Then click Get started and accept the developer agreement.
Click Add new API key and give the key a name you'll recognise, such as 'Zapier'. Copy the API key and paste it into Zapier.
[AFBEELDING: API-sleutel aanmaken in Plug&Pay]
âPlease note: Plug&Pay only shows the API key once, so make sure you copy it straight away.
Limiting the Zap to specific products
Once your account is connected, you can choose which orders the Zap runs for.
Products: choose the products the Zap runs for. Leave this field empty to run the Zap for all products.
Product groups: choose a product group. The Zap then only runs for products in that group. Leave this field empty to include all product groups.
Trigger on recurring invoices: choose what happens with subscriptions and instalment payments. Choose true to run the Zap for every new invoice. Choose false to run it for the first order only.
[AFBEELDING: extra opties van de trigger]
Testing the trigger
Zapier now tests whether the connection with your Plug&Pay works. If it does, you'll see an example of the data Zapier collects for an order.
[AFBEELDING: testgegevens in Zapier]
âšď¸ The test always shows sample data, never real customer data.
Choosing an action
Your Zap now has a trigger. Click Action and choose the tool where something should happen. Then set up the action and switch your Zap on.
đĄ Tip: place a test order once your Zap is switched on. That way, you can see exactly which data ends up in which fields.
Frequently asked questions (FAQ)
How do I see the custom fields from my checkout in Zapier?
How do I see the custom fields from my checkout in Zapier?
Search for 'Custom Field' in Zapier. Zapier numbers the custom fields in the order they appear on your checkout. So the first field is always called Custom Field 1, the second Custom Field 2, and so on.
The name you gave the field in Plug&Pay is shown under Label. What the customer filled in is shown under Value.
The Zap isn't working and shows an error. Why?
The Zap isn't working and shows an error. Why?
Check that you've connected the right Plug&Pay account in Zapier. Still not working? Create a new API key under Settings > Developers and reconnect your account in Zapier.
Do I need Zapier to connect with ActiveCampaign/MailBlue?
Do I need Zapier to connect with ActiveCampaign/MailBlue?
No. You can connect Plug&Pay directly to ActiveCampaign/MailBlue. Follow this article for more information.
