Delete payment action

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

How to delete a payment

This section aims to help you getting started on how to delete 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.

"Delete 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 Delete 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.
payment_id *

(Integer) The id of the payment you want to update.

update_customer_stats

(String) Set this value to "yes" to update the statistics of the customer. Default: no

delete_download_logs

(String) Set this value to "yes" to delete the payment including all its related download logs. Default: no

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 "Delete payment" action within our Easy Digital Downloads integrations. Down below you will find various examples with our other integrations.
When a quiz was failed via The LearnDash Logo for our WP Webhooks integration LearnDash, delete 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, delete a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a donation was refunded via The GiveWP Logo for our WP Webhooks integration GiveWP, delete 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, delete a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a product was restored via The Woocommerce Logo for our integration WooCommerce, delete 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, delete a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a course was completed via The Tutor LMS Logo for our WP Webhooks integration Tutor LMS, delete a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a user voted on a poll via The WP-Polls Logo for our WP Webhooks integration WP-Polls, delete a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a referral status changed via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, delete 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, delete a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a product was updated via The Woocommerce Logo for our integration WooCommerce, delete a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a payment was completed via The Gravityforms Logo for our integration Gravity Forms, delete a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a quiz was completed via The Tutor LMS Logo for our WP Webhooks integration Tutor LMS, delete a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When an affiliate status was changed via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, delete a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The Fluent Forms Logo for our WP Webhooks integration Fluent Forms, delete 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, delete a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a free membership was cancelled via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, delete a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a shortcode was called via The WordPress Logo for our integration WordPress, delete a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The Divi Logo for our WP Webhooks integration Divi, delete a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The Contact Form 7 Logo for our integration Contact Form 7, delete a payment via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a user was created via The WordPress Logo for our integration WordPress, delete 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.