[FIX] payment_stripe: add email for shipping partner
Before this commit, the shipping partner was created without an email address. After this commit, the shipping partner will be created with the email given by the customer on the express checkout form. closes odoo/odoo#120037 X-original-commit: 527b498811d3e3f83ca64bf58f5c0a882432bf87 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
@@ -105,6 +105,7 @@ paymentExpressCheckoutForm.include({
|
||||
if (this.txContext.shippingInfoRequired) {
|
||||
addresses.shipping_address = {
|
||||
name: ev.shippingAddress.recipient,
|
||||
email: ev.payerEmail,
|
||||
phone: ev.shippingAddress.phone,
|
||||
street: ev.shippingAddress.addressLine[0],
|
||||
street2: ev.shippingAddress.addressLine[1],
|
||||
|
||||
Reference in New Issue
Block a user