Zapier integration with Checkout Fields Manager

The Checkout Fields Manger extension for Easy Digital Downloads allows you to collect custom information from your customers while they are checking out. If you have the Zapier extension for Easy Digital Downloads as well, you can use that custom information in your Zapier account to send the custom information to hundreds of 3rd party apps. This is a very common integration. This document will describe how to set that up. 

Step 1: Set up your custom checkout fields

The first thing you need to do is make sure you have your custom checkout fields set up using Checkout Fields Manager for Easy Digital Downloads.  Follow the setup guide for it here. Note that you'll want to make sure your custom fields are set to save to the Payment and not to the Customer

You'll also need to make sure you have installed the EDD Zapier extension in your WordPress.

Additionally, you need to be ready to make a "test" purchase. So put your EDD store into Test Mode by going to Dashboard → Downloads  → Settings → Payment Gateways, and enable Test Mode. You'll also want to enable the Test Payment Gateway:

Now you are ready to make a test purchase. 

Step 2: Set up the "Zap" in your Zapier account. 

Now that you have the custom fields created, you can set up the "Zap", which will collect the new order information and allow you to port it to the 3rd party app of your choice. 

In your Zapier account:

  1. Click this link to gain access to the (currently private) EDD App: https://zapier.com/developer/invite/26897/ef9fb387de3ff31c7661a7ffaa919d45.
  2. Create a new Zap and select Easy Digital Downloads as a triggering service:
  3. For the trigger, choose "New Order":
  4. Choose the site you are dealing with. If this is the first time you have create a Zap with Easy Digital Downloads, you will need to authenticate your site by providing your site URL, API Key & API Token. To find those keys, follow the steps in this article
  5. Once you have authenticated your site, you'll be on "Test this Step". Here you need to complete a test purchase in your store, making sure you fill out the custom fields you've set up on your Checkout. By filling them out and completing a test purchase, Zapier will become aware that your custom fields exist.

    First, click the "Connect & Continue" button. This will make Zapier "Listen" for your test purchase. 

    Second, complete a test purchase in your EDD Store. In a separate browser tab, go to your store, add one of your products to the cart, and click "Checkout". Again, make sure you fill out the custom fields on your Checkout page with some test data. 
  6. Once you've completed the test purchase, go back to the Zapier tab. It should now say "Test Successful" and look like this:
  7. Now you can set up the integration with the 3rd party app of your choice. For this example I will use the "Email" action to email myself whenever a new . I'll make the email body contain my custom field information from the customer entered at checkout. For the Body (HTML or Plain) area, click on the top right icon and find your custom field in the dropdown. This will add it to the body.Now that you've put your custom field data into the body, you can finish setting up the "Zap" as normal and activate it in your Zapier account. That's all there is to it!

Important:

Keep in mind that it is extremely important that you follow all of these steps in this order. Otherwise you may not see your custom fields in Zapier. 

Also, once you've set up your "Zap" successfully, make sure to take your store back out of Test Mode in your EDD settings.