Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › Free gift coupon › Reply To: Free gift coupon
I could not reproduce the issue on your site but nonetheless I found something that was off.
First of all the ‘first purchase’ functionality wasn’t working in your store because the ‘Pending payment’, ‘Awaiting payment’ and ‘Verification’ order statuses were not taken in account.
I have just released version 3.2.2 which adds ‘Pending payment’ by default and a filter to override the statuses that are taken in account.
Since ‘Awaiting verification’ and ‘Awaiting payment’ are custom statuses that are not in WC core you need to apply the following snippet so orders with these statuses are also taken in account:
add_filter( 'wjecf_first_order_statuses_to_check', function( $order_statuses ) {
return array_merge( $order_statuses, [ 'wc-verification', 'wc-pwaiting' ] );
}, 10, 1 );
After that, please remove the ‘Limit usage’ value and try again.