Action: Create payment

This webhook action allows you to create a payment within Easy Digital Downloads.
On this page you will find further information about the Create payment action and how to use it via WP Webhooks, as well as via other external services such as Integromat, Pabbly, Integrately, or Zapier.
The Create payment action is part of our Easy Digital Downloads integration.

Webhook setup guide

This section aims to help you getting started with the Create payment action.
Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

Arguments

Our so-called arguments are values that you can use to customize your request. They allow you to send specific data to the Create payment action which is then handled accordingly to the described purpose. You can use the arguments that you would like to send values for.
To learn more about it, please see the Setup Guide above.
customer_email *

(String) The email of the customer you want to associate with the payment. Please see the description for further details.

discounts

(String) A comma-separated list of discount codes. Please see the description for further details.

gateway

(String) The slug of the currently used gateway. Please see the description for further details. Default empty.

currency

(String) The currency code of the payment. Default is your default currency. Please see the description for further details.

parent_payment_id

(Integer) The payment id of a parent payment.

payment_status

(String) The status of the payment. Default is "pending". Please see the description for further details.

product_data

(String) A JSON formatted string, containing all the product data and options. Please refer to the description for examples and further details.

edd_agree_to_terms

(String) Defines if a user agreed to the terms. Set it to "yes" to mark the user as agreed. Default: no

edd_agree_to_privacy_policy

(String) Defines if a user agreed to the privacy policy. Set it to "yes" to mark the user as agreed. Default: no

payment_date

(String) Set a custom payment date. The format is flexible, but we recommend SQL format.

user_id

(Integer) The user id of the WordPress user. If not defined, we try to fetch the id using the customer_email.

customer_first_name

(String) The first name of the customer. Please see the description for further details.

customer_last_name

(String) The last name of the customer. Please see the description for further details.

customer_country

(String) The country code of the customer.

customer_state

(String) The state of the customer.

customer_zip

(String) The zip of the customer.

send_receipt

(String) Set it to "yes" for sending out a receipt to the customer. Default "no". Please see the description for further details.

do_action

Advanced: Register a custom action after WP Webhooks fires this webhook. More infos are in the description.

Connection examples

Get inspired on how to use the Easy Digital Downloads action. Down below you will find various examples with our other integrations.
When a quiz was completed via The LearnDash Logo for our WP Webhooks integration LearnDash, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When an appointment was rescheduled via The Amelia Logo for our WP Webhooks integration Amelia, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a customer was updated via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a new affiliate signed up via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a new referral was received via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When an order was restored via The Woocommerce Logo for our integration Woocommerce, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a customer was created via The Woocommerce Logo for our integration Woocommerce, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a product was created via The Woocommerce Logo for our integration Woocommerce, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The Forminator Logo for our WP Webhooks integration Forminator, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When an assignment was uploaded via The LearnDash Logo for our WP Webhooks integration LearnDash, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a lesson was completed via The LearnDash Logo for our WP Webhooks integration LearnDash, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a contact was deleted via The FluentCRM Logo for our WP Webhooks integration FluentCRM, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a contact was removed from a list via The FluentCRM Logo for our WP Webhooks integration FluentCRM, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a plugin was activated via The WordPress Logo for our integration WordPress, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a plugin was deleted via The WordPress Logo for our integration WordPress, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When an order was deleted via The Paid Membership Pro Logo for our WP Webhooks integration Paid Memberships Pro, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When an email was sent via The WordPress Logo for our integration WordPress, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a post was updated via The WordPress Logo for our integration WordPress, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a contact was added to a tag via The FluentCRM Logo for our WP Webhooks integration FluentCRM, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a coupon was created via The Woocommerce Logo for our integration Woocommerce, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a group access was removed via The LearnDash Logo for our WP Webhooks integration LearnDash, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.

More available endpoints

Down below you will find a list of all available triggers and actions for the Easy Digital Downloads integration.
If you want to learn more about a specific endpoint, simply click on it.
Full disclosure: When clicking on some of the links on our website and purchasing the related product and/or service, we may earn a commission free of any additional cost for you.