2

Trying to re-run/retry some 'stuck'/"pending" notifications in the system log using:

drush cvapi NotificationLog.retry sequential=1 system_log_id=XXX

but that just produces an array with the JSON data in the log entry.

drush cvapi notification_log.retry id=748 used to do the trick.

Any ideas? Thanks.

2 Answers 2

2

that notification_retry api isn't core - its an extension :-)

2

Eileen,thanks, duly noted that it's an extension, not in core. Thanks for writing the extension!

So to answer my own question -

drush cvapi NotificationLog.retry sequential=1 system_log_id=XXX

will retry/rerun system_log entries as the previous

drush cvapi notification_log.retry id=XXX

did, and I have no reason to believe otherwise.

3
  • Yep - that's correct & the output that you saw is expected - whether or not it succeeds I guess . The extension is here github.com/eileenmcnaughton/nz.co.fuzion.notificationlog It currently only supports auhorize.net although the previous (fuzion repo) version also supported paypal, paybox & omnipay & there is not a lot of work to bring those back at some point
    – eileen
    Aug 6, 2015 at 10:56
  • (I mention all that extra detail for other people who might read it Joe )
    – eileen
    Aug 6, 2015 at 10:58
  • Eileen, thanks for all the extra detail - very useful Aug 7, 2015 at 17:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.