Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Bijay

    (@bijaykumar)

    So doing these thing seems to do the trick on woorazorpay.php file
    First Change
    const WC_ORDER_ID = ‘woocommerce_order_id’;
    to
    const WC_ORDER_ID = ‘woocommerce_order_no’;

    2nd
    Remove these lines
    //update it in order comments
    $order = new WC_Order($orderId);
    $order->add_order_note(“Razorpay OrderId: $razorpayOrderId”);

    @chetangn please give your suggestion.

    Thank You

    Thread Starter Bijay

    (@bijaykumar)

    Hi There, I am using latest version of plugin & WordPress version.

    I am using YITH Custom Order Number Plugin For Custom Order Number.

    This plugin was previously passing the custom order number in Razorpay Order Notes Field.

    But after updating the razorpay plugin, it is not passing order number instead its passing order_id.

    I am pretty sure this incident caused after V2.3.2 release. On the other hand, i do not want to use old release of the plugin because of security issue. So please guide me a step for this current version of the plugin.

    We have multiple website and matching order with Website is really hard using order_id instead of custom order number

Viewing 2 replies - 1 through 2 (of 2 total)