5e13e13a207910aadfa98a1186ba3632303db213
The response profile of an ACH transaction won't contain a credit card number since ACH transactions use bank accounts instead. It looks like this: <getCustomerPaymentProfileResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> <messages> ... </messages> <paymentProfile> <billTo> <firstName>XXX</firstName> <lastName>XXXX</lastName> <address>XXX XXX XXX</address> <city>XXX</city> <state>XX</state> <zip>XXXXX</zip> <country>XXX</country> <phoneNumber>XXXXXXXXX</phoneNumber> </billTo> <customerProfileId>XXXXXXXXX</customerProfileId> <customerPaymentProfileId>XXXXXXXXX</customerPaymentProfileId> <payment> <bankAccount> <accountType>checking</accountType> <routingNumber>XXXXXXXX</routingNumber> <accountNumber>XXXXXXXX</accountNumber> <nameOnAccount>XXX</nameOnAccount> <echeckType>WEB</echeckType> </bankAccount> </payment> </paymentProfile> </getCustomerPaymentProfileResponse> This causes the transaction not to get confirmed in Odoo: ... File ".../authorize_request.py", line 241, in create_customer_profile_from_tx res['name'] = response_profile.find('paymentProfile/payment/creditCard/cardNumber').text AttributeError: 'NoneType' object has no attribute 'text' - - - To solve it fall back on the accountNumber if there's no cardNumber. opw-2062784 closes odoo/odoo#36298 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%