mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Add save meta data for order
This commit is contained in:
parent
fd478318a2
commit
7d541812e8
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ class PaymentTokenChecker {
|
|||
try {
|
||||
$subscription_behavior_when_fails = $this->settings->get( 'subscription_behavior_when_vault_fails' );
|
||||
$wc_order->update_meta_data( self::VAULTING_FAILED_META_KEY, $subscription_behavior_when_fails );
|
||||
$wc_order->save_meta_data();
|
||||
} catch ( NotFoundException $exception ) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue