Improved simplify commerce for free subscriptions
This commit is contained in:
parent
8914594534
commit
a344fae67f
|
@ -265,9 +265,6 @@ class WC_Addons_Gateway_Simplify_Commerce extends WC_Gateway_Simplify_Commerce {
|
||||||
// Payment complete
|
// Payment complete
|
||||||
$order->payment_complete();
|
$order->payment_complete();
|
||||||
|
|
||||||
// Add order note
|
|
||||||
$order->add_order_note( __( 'Subscription approved for a free trial period.', 'woocommerce' ) );
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue