diff --git a/modules/paypal/express_checkout/payment.php b/modules/paypal/express_checkout/payment.php index 99043f3b..05a49106 100755 --- a/modules/paypal/express_checkout/payment.php +++ b/modules/paypal/express_checkout/payment.php @@ -386,9 +386,9 @@ if ($ppec->ready && !empty($ppec->token) && (Tools::isSubmit('confirmation') || // and create the prestashop order $ppec->doExpressCheckout(); - $customer_info['SHIPTOSTREET'] = $ppec->result['SHIPTOSTREET']; - $customer_info['SHIPTOCITY'] = $ppec->result['SHIPTOCITY']; - $customer_info['SHIPTONAME'] = $ppec->result['SHIPTONAME']; + $customer_info['SHIPTOSTREET'] = $ppec->result['PAYMENTREQUEST_0_SHIPTOSTREET']; + $customer_info['SHIPTOCITY'] = $ppec->result['PAYMENTREQUEST_0_SHIPTOCITY']; + $customer_info['SHIPTONAME'] = $ppec->result['PAYMENTREQUEST_0_SHIPTONAME']; // ANTADIS // si on retourne le biling on le save