Magento 2.1.1
Plesk 12.5.
Apache 7.08
MySql 5.6.29
Nginx
Use credit card
The invoice address in Paypal shows the billing address
The invoice address shows the shipping address
Hi @PierAlex, thanks for reporting and please provide more details about:
authorization or sale? Also, please, enable debug mode for PayPal integration in the Magento admin configuration and attach debug log with requests and response for your transaction.
Hi @joni-jones,
I can't provide logs, sorry.
Thanks.
P.S. I'm upgrading to the 2.1.2 and it seems that something has chenged.
...same problem on 2.1.2
...in addition, on 2.1.2, enabling debug mode for paypal, i can see in the log file that values for:
COUNTRYCODE, STATE, CITY, ADDRESS, ZIP, PHONENUMBER
are the same as
SHIPTOCOUNTRYCODE, SHIPTOSTATE, SHIPTOCITY, SHIPTOADDRESS, SHIPTOZIP, SHIPTOPHONENUMBER
and that those values come from the shipping address provided in Magento.
Billing address is not provided to paypal.
@PierAlex, COUNTRYCODE, STATE, CITY, ADDRESS, ZIP, PHONENUMBER - there are billing address details. By default billing address the same as shipping, do you have different billing address for the customer?
Without debug logs it's hard to understand what happens.
@joni-jones
it is exactly what I'm reporting.
In the fields: COUNTRYCODE, STATE, CITY, ADDRESS, ZIP, PHONENUMBER there are values related to the shipping address and not to the billing address.
The customer has 2 addresses, 1 is the default billing address and the other one is the default shipping address.
To Paypal, only shipping address data are sent. In the fields for billing address there are values related to the shipping address.
This is the debug log, i have modified personal data:
[2016-10-22 07:27:34] main.DEBUG: array (
'url' => 'https://api-3t.paypal.com/nvp',
'SetExpressCheckout' =>
array (
'PAYMENTACTION' => 'Sale',
'AMT' => '218.00',
'CURRENCYCODE' => 'EUR',
'RETURNURL' => 'http://www.mywebsite.com/paypal/express/return/',
'CANCELURL' => 'http://www.mywebsite.com/paypal/express/cancel/',
'INVNUM' => '000000099',
'SOLUTIONTYPE' => 'Sole',
'GIROPAYCANCELURL' => 'http://www.mywebsite.com/paypal/express/cancel/',
'GIROPAYSUCCESSURL' => 'http://www.mywebsite.com/checkout/onepage/success/',
'BANKTXNPENDINGURL' => 'http://www.mywebsite.com/checkout/onepage/success/',
'SHIPPINGAMT' => '8.20',
'ITEMAMT' => '170.49',
'TAXAMT' => '39.31',
'BUSINESS' => NULL,
'NOTETEXT' => NULL,
'EMAIL' => '[email protected]',
'FIRSTNAME' => 'myFirstName',
'LASTNAME' => 'myLastName',
'MIDDLENAME' => NULL,
'SALUTATION' => NULL,
'SUFFIX' => 'mySuffix',
'COUNTRYCODE' => 'IT',
'STATE' => 'MI',
'CITY' => 'Milano',
'STREET' => 'Viale Milano',
'ZIP' => '22222',
'PHONENUM' => '+39 3333333333',
'SHIPTOCOUNTRYCODE' => 'IT',
'SHIPTOSTATE' => 'MI',
'SHIPTOCITY' => 'Milano',
'SHIPTOSTREET' => 'Viale Milano',
'SHIPTOZIP' => '22222',
'SHIPTOPHONENUM' => '+39 3333333333',
'SHIPTOSTREET2' => '',
'STREET2' => '',
'SHIPTONAME' => 'myFirstName myLastName mySuffix',
'ADDROVERRIDE' => 1,
'METHOD' => 'SetExpressCheckout',
'VERSION' => '72.0',
'USER' => '_',
'PWD' => '__',
'SIGNATURE' => '_**',
'BUTTONSOURCE' => 'Magento_Cart_Community',
),
'response' =>
array (
'TOKEN' => 'EC-5YJ0617902452323T',
'TIMESTAMP' => '2016-10-22T07:27:34Z',
'CORRELATIONID' => '1cfa00b8336e2',
'ACK' => 'Success',
'VERSION' => '72.0',
'BUILD' => '26106709',
),
) {"is_exception":false} []
As you can see the two addresses are exactly the same and related to the shipping address selected in Magento. The default billing address in Magetno is not present here.
Hope I was clear. Please do not hesitate to ask for further information.
Thanks,
Pierale
Hi, @PierAlex, sorry for a delay with answer.
For now, this is an expected behavior, when a customer selects shipping address, billing address is also selected the same as shipping in the background (even if the customer has default billing address).
But, on the develop branch we added an option, which allow changing a billing address on the Payment step for all available payments.
This option also will be available for 2.1.x version after ticket MAGETWO-55612 will be completed.
Thanks Ievgen, i'll wait for that release.
PierAle
Fix for this issue already backported and will be available in Magento 2.1.4 version. If issue will be still reproducible, please, be free to reopen it.
2.1.5. Still having issue.
2.1.6 Still looking for the ability to have different billing address for the Paypal Payments Standard (Website Payments Standard equivalent)
I am experiencing the same issue with a Stripe payment module. I thought it may be the vendor, but is this a Magento issue? V2.1.4
V2.1.7 still having this issue. billing address is set to shipping address
Ditto on 2.1.7. Any plans to fix? Is there an available work-around?
+1
+1
Is possible that this bug isn't fixed yet?
I have the same issue on 2.2.2
This is unacceptable!!
Most helpful comment
V2.1.7 still having this issue. billing address is set to shipping address