We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97fdd93 commit 718bc42Copy full SHA for 718bc42
includes/addons/trait-wc-monei-subscriptions.php
@@ -76,7 +76,9 @@ public function add_extra_info_to_subscriptions_payment_method_title( $payment_m
76
public function scheduled_subscription_payment( $amount_to_charge, $renewal_order ) {
77
$sequence_id = $this->get_sequence_id_from_renewal_order( $renewal_order );
78
$description = $this->shop_name . ' - #' . (string) $renewal_order->get_id() . ' - Subscription Renewal';
79
-
+ if($renewal_order->get_status() === 'processing') {
80
+ return;
81
+ }
82
$payload = array(
83
'orderId' => (string) $renewal_order->get_id(),
84
'amount' => monei_price_format( $amount_to_charge ),
0 commit comments