Merge pull request #7231 from thenbrent/fix_paypal_identify_token
[2.3] Fix "Undefined variable: identity_token"
This commit is contained in:
commit
385b39a0e5
|
@ -53,7 +53,7 @@ class WC_Gateway_Paypal extends WC_Payment_Gateway {
|
|||
|
||||
if ( $this->identity_token ) {
|
||||
include_once( 'includes/class-wc-gateway-paypal-pdt-handler.php' );
|
||||
$pdt_handler = new WC_Gateway_Paypal_PDT_Handler( $this->testmode, $identity_token );
|
||||
$pdt_handler = new WC_Gateway_Paypal_PDT_Handler( $this->testmode, $this->identity_token );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue