Skip Navigation

[Resolved] cred_commerce_after_payment_completed behaving like after_order_completed hook

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 1.80 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 6 years, 3 months ago.

Assisted by: Christian Cox.

Author
Posts
#1077321

I have been using the cred_commerce_after_payment_completed hook successfully (apart from the patch needed a month ago), and the code has fired after payment has been taken, while order is still 'Processing'.
However, recently the code only fires after the order has been changed to Completed, i.e. behaving the same as cred_commerce_after_order_completed.
Please advise. We need to be able to fire this code on receipt of payment (as the hook description indicates), not wait until administrator has finished with the order.

#1077513

Hi, I'll be glad to take a look at this.
- Please update your Toolset plugins. Various bugs in CRED and CRED Commerce have been addressed in recent updates, and they will not be patched in older versions.
- Can you tell me what payment types are in use on the site, and if the behavior is different for any single payment type?
- Can you tell if there is a difference in the behavior between regular payments and subscription payments?