Create subscription action

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

How to create a subscription

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

"Create subscription" 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 subscription 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.
expiration_date *

(String) The date for the expiration of the subscription. Recommended format: 2021-05-25 11:11:11

profile_id *

(String) This is the unique ID of the subscription in the merchant processor, such as PayPal or Stripe.

download_id *

(Integer) The ID of the download you want to connect with the subscription.

customer_email *

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

period *

(String) The billing period of the subscription. Please see the description for further details.

initial_amount

(Mixed) The amount for the initial payment. E.g. 39.97

recurring_amount

(Mixed) The recurring amount for the subscription. E.g. 19.97

transaction_id

(String) This is the unique ID of the initial transaction inside of the merchant processor, such as PayPal or Stripe.

status

(String) The status of the given subscription. Please see the description for further details.

created_date

(String) The date of creation of the subscription. Recommended format: 2021-05-25 11:11:11

bill_times

(Integer) This refers to the number of times the subscription will be billed before being marked as Completed and payments stopped. Enter 0 if payments continue indefinitely.

parent_payment_id

(Integer) Use this argument to connect the subscription with an already existing payment. Otherwise, a new one is created. Please see the description for further details.

customer_id

(Integer) The id of the customer you want to connect. If it is not given, we try to fetch the user from the customer_email argument. Please see the description for further details.

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.

edd_price_option

(Integer) The variation id for a download price option. Please see the description for further details.

gateway

(String) The gateway you want to use for your subscription (and maybe payment). Please see the description for further details.

initial_tax_rate

(Integer) The percentage for your initial tax rate. Please see the description for further details.

initial_tax

(Float) The amount of tax for your initial tax amount. Please see the description for further details.

recurring_tax_rate

(Integer) The percentage for your recurring tax rate. Please see the description for further details.

recurring_tax

(Float) The amount of tax for your recurring tax amount. Please see the description for further details.

notes

(String) A JSON formatted string containing one or multiple subscription notes. Please check the description for further details.

do_action

Advanced: Register a custom action after WP Webhooks fires this webhook. More info is within 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 subscription" action within our Easy Digital Downloads integrations. Down below you will find various examples with our other integrations.
When a booking was added via The Amelia Logo for our WP Webhooks integration Amelia, create a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a coupon was updated via The Woocommerce Logo for our integration WooCommerce, create a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a comment was created via The WordPress Logo for our integration WordPress, create a subscription 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 subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a paid membership was cancelled via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, create a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When an order was updated via The Woocommerce Logo for our integration WooCommerce, create a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a post was deleted via The WordPress Logo for our integration WordPress, create a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a paid membership was activated via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, create a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a cover photo was removed via The WP User Manager Logo for our WP Webhooks integration WP User Manager, create a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a group access was granted via The LearnDash Logo for our WP Webhooks integration LearnDash, create a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a contact was added to a list via The FluentCRM Logo for our WP Webhooks integration FluentCRM, create a subscription 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 subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The Ninja Forms Logo for our WP Webhooks integration Ninja Forms, create a subscription 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 subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When an order was created via The Woocommerce Logo for our integration WooCommerce, create a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The HappyForms Logo for our WP Webhooks integration HappyForms, create a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a coupon was deleted via The Woocommerce Logo for our integration WooCommerce, create a subscription 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 subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a Integrately webhook request was received via The Integrately Logo for our WP Webhooks integration Integrately, create a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a topic was favored via The bbPress Logo for our WP Webhooks integration bbPress, create a subscription 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 subscription 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.