People who code: we want your input. Take the Survey

Questions tagged [billing-address]

Denotes questions about customer billing address which is used in checkout process

129 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
2answers
2k views

Magento2 : How to force Shipping Address is the same as Billing Address?

Is there a way to prevent the addition of a different address at checkout, so that billing and shipping addresses are always the same? With this I'd like to also prevent the user adding a shipping ...
4
votes
0answers
69 views

Magento 2 - Remove option for same biling and shipping

I have a site which requires all customers to enter a different shipping and billing address. I know a little strange but all orders will have a different shipping and billing. The problem I have is ...
4
votes
0answers
409 views

Magento 2 add customer address attribute to REST APIs response?

I have created customer address attribute "city_id" with setup script. I am able to save the value. but want to display the city_id field to the below apis json response. how we can we add city_id in ...
4
votes
0answers
490 views

Before place order validation in magento2

In magento2 before place order check new customer form (billing address form) open and filed is not fill then not place order and show message please fill the form then place order, now in magento2 ...
3
votes
1answer
460 views

How to remove the error message in magento2 checkout page

I need to remove the error message in the magento2 billing address on the checkout page. How to remove that.
3
votes
0answers
501 views

Force to show the billing address form on checkout

What I want to do is to force user to fill out the billing address on step two at checkout. In my javascript file I've added a subscription: quote.billingAddress.subscribe(function (billingAddress) {...
3
votes
0answers
1k views

How to bind custom field to billing address Magento 2

The Question: How to override/customize/add billing address bindings? The Context: I've added some custom inputs to Shipping page in Checkout page. As shown below. These fields are there to replace ...
3
votes
0answers
958 views

Default Billing Address not saved when user having no address and do checkout In Magento 2

I need help to save the default shipping address as Default Billing address. Steps to follow : Register as a new customer Now add product into cart Go to Checkout and fill Shipping Address Place an ...
3
votes
0answers
471 views

Magento 2 : Add Custom Fee Based On Shipping and Billing Address

I already refer this : how to add fee to order totals in magento2 But my requirement is diffrent. I need to add custom fee in order total based on Shipping or Billing address selected by customer ...
3
votes
2answers
4k views

How to add custom attribute in BILLING address in Magento 2

I actually have two new inputs in my customer address, admin, shipping and billing address, but i want just to show them in the billing address of each payment method, I am trying to hide them via xml ...
2
votes
1answer
937 views

Magento2 - How to add static country code in Phone Number input field?

I have only one country in country dropdown and I want to add static country code in Phone Number field in shipping and billing address in checkout. How Can I add this in checkout shipping and ...
2
votes
1answer
3k views

magento 2.3.2: checkout Uncaught TypeError: Cannot read property 'getCacheKey' of null

I have an issue on checkout page and we are getting below error on console. It looks like address object is not loaded correctly on quote object and we are getting different error each time. i know ...
2
votes
1answer
175 views

Magento 2 call customer/address/new/ form in popup

I am looking for solution to add new address form in my custom module phtml file.This form will save with ajax. I have no idea about it.Please help me.
2
votes
1answer
652 views

Error in default API testing | V1/carts/mine/shipping-information

I just wanted to test this API for understanding order flow { "addressInformation": { "shipping_address": { "region": "New York", "region_id": 43, "region_code": "NY", ...
2
votes
0answers
19 views

How to get customer default shipping and billing address data (i am after country and postcode)

I have customer ID - Not sure how to grab the default shipping/billing address. I can get the current shipping address and billing address but not the default. Is there any way I could get the default ...
2
votes
0answers
46 views

Magento 2: add custom field to shipping and billing address at checkout page and save it in admin side sales order

I want to add to custom fields to the shipping and billing area of the checkout page. When a user clicks on place order it should be saved and display in admin side sales order page. Here I saw You ...
2
votes
0answers
579 views

Magento 2 :Change order of billing address

In the customer account section,how can i edit the order of address data(billing and shipping)(ie, i want to show customer company first and customer name second) https://prnt.sc/nucm3l I found this ...
2
votes
0answers
15 views

Adding string to firstname for certain storeview in checkout?

I am running Magento 1.7.0.2 and I want to add a string to the firstname and lastname in the checkout. My template is template/persistent/checkout/onepage/billing.phtml. The code there which seems to ...
2
votes
1answer
536 views

“Shipping and Billing address are the same ” / Need to copy current shipping address to billing address - Magento 2

Which function checks shipping address and billing address are the same ? and where it copies the billing address to the shipping address ? Need to replace the default method. Instead need to copy ...
2
votes
0answers
335 views

How to Add checkboxes for default billing/shipping address and show as check/uncheck

Currently Billing and Shipping address don't have checkboxes to select, to change it from Billing to Shipping or Shipping to Billing. It only shows a message info. So, I want to be checkboxes as same ...
2
votes
0answers
137 views

Magento 2 Region list not filter for default country on billing address for first time

There are many country region available in region list. The issue arises first-time page load on the billing address of checkout. Even default country has been set up the USA, All region list has been ...
2
votes
0answers
197 views

New Checkout Billing Address Form Field not saving value to the database

I have added a new checkout billing address form field for entry of an optional field for the customer. Have overridden the template checkout form and able to get the field onto the form, but cannot ...
2
votes
0answers
137 views

Create order programatically without billing and shipping address

I have a couple of virtual products in my Magento 2 website, I’d like to create the order programmatically without inputting shipping and billing address, is that even possible?
2
votes
0answers
844 views

Magento 2 Please check the billing address information. %1

Anyone experienced this error "Please check the billing address information. %1" I am getting this error while checkout using payment method as my Credit Card. I sure I am using correct billing ...
2
votes
0answers
985 views

Disable billing address for virtual products

I have a Magento 2.1.2 and I am using it to sell some products My issue is not being able to place order on virtual products Where I live, banks do not need the billing address when you are using a ...
2
votes
0answers
1k views

Magento 2 : How can i add custom customer address field in e-mail template?

I have added one custom Field for customer address, and i want to display in checkout page, customer my account section and in All sales email template (In Billing and Shipping Address). Please help ...
2
votes
0answers
916 views

Magento2 How checkout address form fields works?

I need to add new field in checkout address form. How can add it ? Also need to convert the city address input field into drop-down field.
2
votes
0answers
72 views

Change standard invoice address in checkout

When customer add a new invoice address in checkout, this new address will be add as new address but ist not the standard for the next order. This is inconvenient, because normaly the invoice address ...
2
votes
1answer
591 views

Add text to dropdown list of country options billing checkout form

I would like to display the shipping costs in my dropdown list of countries (shipping) options. Preferably through a php request, as follows: Guessing I need to add to/or modify this piece in my ...
2
votes
1answer
489 views

How to disable billing address edit or update in Magento2 checkout page?

I don't want to allow customers edit or update their billing address in Magento2 checkout page. Even i want to disable add new address in checkout page .
1
vote
0answers
30 views

Remove “My billing and shipping address are the same” checkbox and Billing address form open By default Magento 2

I am using the one step checkout and it is working fine. Now, requirement is that , remove the "My billing and shipping address are the same" checkbox and open the Billing address form by ...
1
vote
0answers
20 views

How can i change firstname and lastname on billing address with a value from another field

I've added a new field(fullname ) on the checkout billing address using a plugin on Magento\Checkout\Block\Checkout\LayoutProcessor, and I also hide the firstname and lastname. Now I want to populate ...
1
vote
0answers
83 views

Checkout billing address getting blank in magento 2

I'm getting issue on checkout when I apply coupon code on checkout cart or checkout shipping page at the end of checkout payment page I'm getting issue with my billing address same as shipping ...
1
vote
0answers
16 views

checkout payment page not showing billing address fully after apply coupon in magento 2?

Billing address not display on checkout if I apply coupen on checkout cart page then billing address only get pincode and country name First name and Last name and address not display on checkout ...
1
vote
0answers
75 views

Magento 2: How to make new billing address form shows up in popup in checkout just like new shipping address form?

In magento 2 checkout page there will be a pop up form when we add new address instead of using current shipping address, but for billing address the new billing address form is below the dropdown, is ...
1
vote
0answers
51 views

How to set shipping address same as billing address on change shipping address from options magento 2?

i want to set billing address dynamically as per the change of shipping address magento 2. In checkout page "same as shipping" checkbox is there & its also checked still changing the shipping ...
1
vote
0answers
61 views

Magento 2.3 - Render billing address in checkout sidebar

I want to render the billing address inside the checkout sidebar, above the shipping address. How can I achieve this?
1
vote
0answers
42 views

Magento 2.3.1: Billing / Shipping Address Zip Code Automatically Removes Leading 0's

We have an issue where the Billing / Shipping addresses on an order will automatically remove the leading 0 from a zip code. For example: Danbury, Connecticut, 06811 becomes Danbury, Connecticut, ...
1
vote
0answers
65 views

Magento2 - How to know in model billing-step or shipping-step

Magento2 - I want to know, its billing address or shipping address in checkout page. How to check, checkout form is billing form or shipping form... Thanks.
1
vote
0answers
128 views

Magento 2 : “My billing and shipping address are the same” checkbox remain unchecked

I have created a custom extension for product based cash on delivery. I have followed the below link for creating the extension. Disable payment method programmatically in Magento2 Everything works ...
1
vote
1answer
426 views

Magento 2 how to add email in billing address form?

Magento 2 how to add email in billing address form?
1
vote
0answers
34 views

Magento 2.2.3 How to change GrandTotal

var billingAddress = quote.billingAddress(); var billingCountryId = (billingAddress.countryId); // console.log(billingCountryId); console.log({billing: ...
1
vote
0answers
28 views

Is there anyway to check shipping address country matches with billing address?

I have created an account and added a billing address in my account section. After selecting products, I get to the first /checkout page. I want to do a check does billing address country matches with ...
1
vote
1answer
269 views

Magento 2 change position of billing and shipping address are the same section?

We would like to change the position of My billing and shipping address are the same section to the top of the payment methods section. Please refer attached screen shot and advise?
1
vote
1answer
110 views

How to set require field to company in billing address in magento2?

How to set require the field to a company in billing address in magento2?
1
vote
0answers
70 views

magento2 checkout billing address updated but not change in shipping information

Updated the billing address in magento2 checkout page but not change in shipping information block. can anyone please help me.
1
vote
1answer
594 views

Vat Number missing in Billing Address Magento 2

I am trying to checkout as a Guest and when I proceed to the Payment Step, I have checked the data saved in the Shipping Step and I found that Vat Number is missing in the Billing Address, but in ...
1
vote
1answer
200 views

Magento2 Event after Default Billing address change, How to send email if Billing address change?

I want to send an email to admin if the default billing address selection is changed or the values are changed by the customer. How can I achieve this?
1
vote
0answers
99 views

Address list at billing step

Hello Magento community this is my first question so go easy on me, I will try to be as accurate as possible but I am a noob front-end with Magento. What I am trying to achieve is: when user buys ...
1
vote
0answers
126 views

how to get always the billing address same as the shipping address M2

I want o have always the same billing address asthe shipping address chosen but when i add new address and choose the second i get a different address and the chechbox is unchecked so how to force ...