Merge pull request #7231 from thenbrent/fix_paypal_identify_token

[2.3] Fix "Undefined variable: identity_token"
This commit is contained in:
Claudio Sanches 2015-01-28 17:09:53 -02:00
commit 385b39a0e5
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}
}
}