Archives : February-2022

I’ve looked everywhere to find out what the url is for the PayPal IPN. I’ve only found instructions on how to set it up via PayPal and vague instructions on the notification url is.   I did this on a WordPress website. Basically I created a blank page called IPN and set the notification url ..

Read more

Here’s a script you can use to automatically complete virtual orders from any status. This example uses the ‘processing’ status. add_action(‘woocommerce_order_status_changed’, ‘ts_auto_complete_virtual’); function ts_auto_complete_virtual($order_id) { if ( ! $order_id ) { return; } global $product; $order = wc_get_order( $order_id ); if ($order->data[‘status’] == ‘processing’) { $virtual_order = null; if ( count( $order->get_items() ) > 0 ..

Read more