mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-07 19:54:15 +08:00
Fix dcc gateway
This commit is contained in:
parent
0c17c6b1de
commit
ec8ba15092
1 changed files with 1 additions and 1 deletions
|
@ -462,7 +462,7 @@ class CreditCardGateway extends \WC_Payment_Gateway_CC {
|
||||||
$selected_token
|
$selected_token
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->add_paypal_meta( $wc_order, $order, $this->environment() );
|
$this->add_paypal_meta( $wc_order, $order, $this->environment );
|
||||||
|
|
||||||
if ( ! $order->status()->is( OrderStatus::COMPLETED ) ) {
|
if ( ! $order->status()->is( OrderStatus::COMPLETED ) ) {
|
||||||
return $this->handle_payment_failure(
|
return $this->handle_payment_failure(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue