Mike, there's (obviously) an error in the upgrade instructions posted in the online upgrade documentation.
Find this section in /includes/modules/payment/paypalwpp.php (in the ec_step2_finish method)
Code:
// -----
// Allow an observer to override the default address-creation processing.
//
$bypass_address_creation = false;
$this->notify('NOTIFY_PAYPALEXPRESS_BYPASS_ADDRESS_CREATION', $paypal_ec_payer_info, $bypass_address_creation);
if ($bypass_address_creation) {
$this->zcLog('ec_step2_finish - 2a, address-creation bypassed based on observer setting.');
}
and change to
Code:
// -----
// Allow an observer to override the default address-creation processing.
//
$bypass_address_creation = false;
$this->notify('NOTIFY_PAYPALEXPRESS_BYPASS_ADDRESS_CREATION', $paypal_ec_payer_info, $bypass_address_creation);
if ($bypass_address_creation) {
$this->zcLog('ec_step2_finish - 2a', 'address-creation bypassed based on observer setting.');
}
I'll create an issue on GitHub and get those instructions corrected. Thanks for the report!
Bookmarks