astrolabb
Forum Replies Created
-
Whouaaaa ! GG WP ! it works like a charm !
thanks a lot !
i have the same result with Paypal classic
just after paypal :
after validation (“Commander”)
link 2and after refresh of this order received page
link 3Serial Numbers are created only when the order status is “complete” so i use in function.php
add_action( ‘woocommerce_thankyou’, ‘custom_woocommerce_auto_complete_order’ );
function custom_woocommerce_auto_complete_order( $order_id ) {
if ( ! $order_id ) {
return;
}$order = wc_get_order( $order_id );
$order->update_status( ‘completed’ );
}plugins :
Woocommerce : Version 3.8.1
License Manager for WooCommerce : Version 2.1.2
WordPress : Version 5.3.2template : twenty seventeen
thanks you for your help
Hi ! thanks for your message
I use “PayPal Checkout” for payment. i don’t have check with others gateways