Billing Address fields not appearing

Created on 1 February 2024, 11 months ago

Haven't been able to find any other issues in these threads mentioning this issue, so not sure if it is my setup or not, happy to provide any further relevant information.

But, in the Payment Gateways section, I have 'Collect billing information' checked, but no billing address fields are added to the checkout process.

I have tested this with the default checkout flow and my custom checkout flow.

The 'Order Information' pane has 'Contact information' and 'Payment information', the later being where I would be expecting the Billing Address fields to appear. The only thing that shows up is checkbox 'Save to my address book.'

Upon going to the next pane in the checkout flow, Review, I get the following error, obviously as the code is checking for billing values that do not exist.

Error: Call to a member function getGivenName() on null in Drupal\commerce_authnet\Plugin\Commerce\PaymentGateway\AcceptJs->buildCustomerPaymentProfile() (line 793 of modules/contrib/commerce_authnet/src/Plugin/Commerce/PaymentGateway/AcceptJs.php).

Pressing the browser back back button, I now I have a drop down to choose an existing address or enter a new one, but still no address fields.

Is there something else that needs to be done to setup the ability to collect the billing address with the payment details?

Any guidance would be very much appreciated, thanks.

🐛 Bug report
Status

Closed: cannot reproduce

Version

1.8

Component

Code

Created by

🇨🇦Canada lindsay.wils

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024