Integration with Payment Plugin (iPay88)
-
First of all, thank you so much for this plugin.
However, I have one problem. One of the payment gateway plugins that I am using is not working with your plugin. Upon checking, it should be working with WooCommerce Sequence Order Number and Sequence Order Number Pro, as seen on this code snippet:
private function get_order_id( $order_number ) { @ob_start(); // Find the order ID from the custom order number, if we have SON or SONP enabled if ( class_exists( 'WC_Seq_Order_Number' ) ) { global $wc_seq_order_number; $order_id = $wc_seq_order_number->find_order_by_order_number( $order_number ); if ( 0 === $order_id ) { $order_id = $order_number; } } elseif ( class_exists( 'WC_Seq_Order_Number_Pro' ) ) { global $wc_seq_order_number_pro; $order_id = $wc_seq_order_number_pro->find_order_by_order_number( $order_number ); if ( 0 === $order_id ) { $order_id = $order_number; } } else { $order_id = $order_number; } // Remove any error notices generated during the process @ob_clean(); return $order_id; }
How do I implement your plugin’s class on this? Thank you.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Integration with Payment Plugin (iPay88)’ is closed to new replies.