• Resolved GalinaBublik

    (@galinabublik)


    Hello.
    I use gift cart plugin and Payment by Cardknox (your plugin).
    Gift card created code on
    add_action( ‘woocommerce_payment_complete’, …, 10 );
    add_action( ‘woocommerce_order_status_completed’, …, 10, 2 );

    BUT your plugin not use $order->payment_complete($result[‘xRefNum’]); for catch do_action( ‘woocommerce_payment_complete’, $transaction_id );

    I changed line 390 (from $order->set_transaction_id($result[‘xRefNum’]); to $order->payment_complete($result[‘xRefNum’]); ) of woocommerce-gateway-cardknox.php file for mi site.
    Please do this changes in you new release.

Viewing 1 replies (of 1 total)
  • Plugin Author mstein

    (@dlehren)

    @galinabublik Thank you for your suggestion. We will review and and update the plugin accordingly.
    For further questions or suggestions please reach out to [email protected].

    P.S. Is the gift card plugin you’re referring to the WooCommerce Gift Cards plugin?

Viewing 1 replies (of 1 total)

The topic ‘Can’t catch ‘woocommerce_payment_complete’’ is closed to new replies.