- Implemented Google Pay parser in bongooglepay.js - Added Buckaroo 3 payment parser in buckaroo3.js - Introduced DataTrans CW Mastercard parser in datatranscw.js - Created DataTrans CW Credit Card parser in datatranscw_creditcard.js - Developed DHL Assistant shipping parser in dhlassistant.js - Added Estimated Delivery parser in estimateddelivery.js - Implemented Floapay payment parser in floapay.js - Created FS Pickup at Store shipping parser in fspickupatstore.js - Developed Generic Iframe parser in generic_iframe_parser.js - Added Geodis Officiel shipping parser in geodisofficiel.js - Implemented Glob Kurier module shipping parser in globkuriermodule.js - Created Latvija Post Express Pickup Terminal parser in latvijaspastsexpresspastspostterminalslv.js - Developed LP Shipping parser in lpshipping.js - Added Mijora Venipak parser in mijoravenipak.js - Implemented Apple Pay parser in pm_applepay.js - Created Przelewy24 payment parser in przelewy24.js - Developed Pshugls shipping parser in pshugls.js - Added Redsys Insite payment parser in redsysinsite.js - Implemented Tpay payment parser in tpay.js - Updated third-party integration documentation for FedEx DotCom
27 lines
776 B
Plaintext
27 lines
776 B
Plaintext
### [shipping] fedexdotcom
|
|
|
|
Add postcode to Shipping required fields (The Checkout configuration)
|
|
|
|
Edit /modules/fedexdotcom/classes/FedExDotComHandler.php, in method getShippingAddresses(...)
|
|
|
|
Change:
|
|
if (!Validate::isLoadedObject($customer)) {
|
|
return false;
|
|
}
|
|
|
|
To:
|
|
if (!Validate::isLoadedObject($customer)) {
|
|
$customer_email = '';
|
|
// return false;
|
|
} else {
|
|
$customer_email = $customer->email;
|
|
}
|
|
|
|
|
|
And few lines below:
|
|
|
|
Change: (notice customer->email vs. customer_email)
|
|
'EMailAddress' => (isset($this->destination_address['EMailAddress']) ? $this->destination_address['EMailAddress'] : $customer->email),
|
|
|
|
To:
|
|
'EMailAddress' => (isset($this->destination_address['EMailAddress']) ? $this->destination_address['EMailAddress'] : $customer_email), |