Create payment action

This action lets you create a payment via the Easy Digital Downloads integration. Use it to automate you daily work ans save time and resources.

How to create a payment

This section aims to help you getting started on how to create a payment via Easy Digital Downloads. Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

"Create payment" 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.

wpwh_call_action

(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )

Connection examples

Get inspired on how to use the "Create payment" action within our Easy Digital Downloads integrations. Down below you will find various examples with our other integrations.
When a user was updated via The WP User Manager Logo for our WP Webhooks integration WP User Manager, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a topic was created via The bbPress Logo for our WP Webhooks integration bbPress, 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 user completed a module via The WP Courseware Logo for our WP Webhooks integration WP Courseware, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a coupon 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 an action URL request was received via The WP Webhooks Logo for our WP Webhooks integration WP Webhooks, 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 ticket was created via The Fluent Support Logo for our WP Webhooks integration Fluent Support, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a note was added to a ticket via The Fluent Support Logo for our WP Webhooks integration Fluent Support, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a product review has been approved 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 a donation was abandoned via The GiveWP Logo for our WP Webhooks integration GiveWP, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a custom trigger was called via PHP 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 membership was cancelled via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, 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 profile photo was removed via The WP User Manager Logo for our WP Webhooks integration WP User Manager, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a membership was paused via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, create a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a custom button was clicked via The WP Webhooks Logo for our WP Webhooks integration WP Webhooks, 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 donation is processed via The GiveWP Logo for our WP Webhooks integration GiveWP, 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.

More available Easy Digital Downloads endpoints

Discover more of the available endpoints used for the Easy Digital Downloads integration.
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.