• Resolved operationcmyk

    (@operationcmyk)


    Hi,
    I noticed in the pre-order method in the gateway-addons.php file that i was getting an error for users adding a new card for pre-orders at line 174..

    To fix I changed line 171 to include a conditional for the “new” option..

    It reads:

    if ( isset( $_POST[‘wc-authnet-payment-token’] ) && !empty( $_POST[‘wc-authnet-payment-token’] ) && wc_clean( $_POST[‘wc-authnet-payment-token’] ) != “new”) {

    Im not sure if this is problematic but this seem to fix some compaibility with pre-orders..

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

    (@cardpaysolutions)

    Hello,

    You are absolutely correct. Thanks for pointing that bug out. We just corrected this in version 2.0.3.

    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Pre Order Issue’ is closed to new replies.