When I use the Paypal Express checkout button on cart page (thus bypassing the UC checkout process) and after I return from Paypal website to complete the review process, there's no address in billing data. Only first_name, last_name and payer_email are saved with order.
I think the complete address returned through IPN should be saved to billing info also.
This is crucial if you want to apply taxes based on billing country just before submitting the order.
I don't know if there'll be any side effect when you simply copy all the shipping info to billing info right away after receiving the IPN. But simple checkbox on 'Review payment' page that is similar to 'My billing information is the same as my delivery information' checkbox from checkout pane could solve the problem also.
Comment | File | Size | Author |
---|---|---|---|
#1 | 508794-paypalEC_address_copy.patch | 837 bytes | lop |
Comments
Comment #1
lop CreditAttribution: lop commentedSo here's the patch that solves this issue.
It simply copies the returned shipping address to billing address fields at Paypal EC review stage.
I see no reason of storing the payer email to billing_street_1 field or any other fields (billing_company, billing_phone), so it's not storing it anymore.
Comment #2
itsmahitha CreditAttribution: itsmahitha commentedReviewed.
Comment #3
TR CreditAttribution: TR commentedComment #4
TR CreditAttribution: TR commentedLet's see if we can get this tested.
Comment #5
TR CreditAttribution: TR commentedComment #7
TR CreditAttribution: TR commentedNew features should go into 7.x-3.x at this point.
Anyone interested in writing a patch for this?
Comment #8
longwaveI am not convinced this is the correct thing to do. We cannot assume the billing address is the same as the delivery address, as this is not always the case - and this can make a difference where things like taxes are concerned. PayPal usually only tell you the delivery address via IPN, unless you have a special agreement with them to get access to the billing address as well.