Add order intent from settings on check saved payment scheduled action

This commit is contained in:
dinamiko 2022-03-16 11:50:01 +01:00
parent 89001f6533
commit 25ca7451e7
3 changed files with 9 additions and 8 deletions

View file

@ -178,6 +178,7 @@ trait ProcessPaymentTrait {
array(
'order_id' => $order_id,
'customer_id' => $wc_order->get_customer_id(),
'intent' => $this->config->has( 'intent' ) ? $this->config->get( 'intent' ) : '',
)
);
}