Skip to content

Instantly share code, notes, and snippets.

@davdebcom
Last active November 2, 2017 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davdebcom/ca23a2e0d2bc3e25b227568cd7a5318e to your computer and use it in GitHub Desktop.
Save davdebcom/ca23a2e0d2bc3e25b227568cd7a5318e to your computer and use it in GitHub Desktop.
function paytium_extra_process_webhook( $payment ) {
if ($payment->status == 'paid' ) {
error_log ('Do some additional processing when Mollie calls the webhook');
}
}
add_action( 'paytium_after_pt_payment_update_webhook', 'paytium_extra_process_webhook', 10, 1 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment