Easy Digital Downloads plugin on order updates (WordPress)
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

Hi,

I need a quick plugin for Easy Digital Downloads that when the order is updated calls a function.
https://wordpress.org/plugins/easy-digital-downloads/

When the order is updated -> The customer ID is found & get the uuid (below).

uuid = get_user_device_token($user_id);

$message = 'Status updated to: '.$status;

Then trigger sendPushNotifications($retrunedUUID, $message);

Functions to call:
https://pastebin.com/YkE1w8eu

Another example is this plugin that works with WooCommerce.

https://pastebin.com/mhgMrP20

Thanks

Dave

I'm happy to tip if $25 isn't enough.

@davesargent, have you had a chance to review the solution for this bounty? Thanks!
bevan 24 days ago
@davesargent, please review the solution to this bounty when you get a chance. Thank you.
bevan 5 days ago
awarded to Zhopon

Crowdsource coding tasks.

1 Solution

Winning solution

You can add this codes in functions.php . This should work with your existing code.

https://pastebin.com/qgQTa73D

Let me know it this help you.
I will really appreciate if you could tip me, as I had a hard time to figure out "payment_status".
Thanks.

Have you tested my solution ?
Zhopon 1 month ago