[FIX] payment, payment_authorize: company field in authorize.net
Steps to reproduce the bug: -Just purchase a simple product using Authorize.net -Click on "Pay Now" to be redirected to Authorize.net gateway Bug: The company field added during checkout page was not filled. opw:1817597
This commit is contained in:
@@ -312,6 +312,7 @@ class PaymentAcquirer(models.Model):
|
||||
'billing_partner': billing_partner,
|
||||
'billing_partner_id': billing_partner_id,
|
||||
'billing_partner_name': billing_partner.name,
|
||||
'billing_partner_commercial_company_name': billing_partner.commercial_company_name,
|
||||
'billing_partner_lang': billing_partner.lang,
|
||||
'billing_partner_email': billing_partner.email,
|
||||
'billing_partner_zip': billing_partner.zip,
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
<!-- Billing Information-->
|
||||
<input type='hidden' name='x_first_name' t-att-value="billing_first_name"/>
|
||||
<input type='hidden' name='x_last_name' t-att-value="billing_last_name"/>
|
||||
<input type="hidden" name="x_company" t-att-value="billing_partner_commercial_company_name"/>
|
||||
<input type='hidden' name='x_address' t-att-value="billing_address"/>
|
||||
<input type='hidden' name='x_city' t-att-value="billing_city"/>
|
||||
<input type='hidden' name='x_zip' t-att-value="billing_zip_code"/>
|
||||
|
||||
Reference in New Issue
Block a user