• oneteamsoftware

    (@oneteamsoftware)


    in class-wc-commerce-helcim.php line 470-475 you have the following code:

    public function process_payment( $order_id ) {
    
    		global $woocommerce;
    
    		// GET ORDER
    		$order = new WC_Order( $order_id );

    This is incorrect way of getting orders, it is causing duplication of the orders.

    Please change last line of your code to

    $order = wc_get_order( $order_id );

    Thanks!

Viewing 1 replies (of 1 total)
  • I see that the plugin was updated and this was corrected.. however duplicate orders still seem to happen with this plugin.

    Anyone else notice similar?

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin isn’t handling orders properly’ is closed to new replies.