Questions tagged [checkout]

This tag should be used for questions related to the Magento checkout process.

Filter by
Sorted by
Tagged with
9
votes
2answers
8k views

How to save customer name for guest checkout?

Customer name is not being saved in onestepcheckout module. Is there a step I missed in saving order? $shippingInfo = array( 'city'=> (string)$shippingAddress->City, 'country_id'...
9
votes
2answers
12k views

How to let user choose delivery date?

My website is gifting website so I need to let users select the date of delivery. I want that selection (textbox with calendar popup) on shipping details step. I can google for a free extension but I ...
9
votes
1answer
7k views

Magento 2: How shipping rest api function called On Checkout?

When u click on "Ship here" on Checkout Page it calls magento/rest/default/V1/carts/mine/estimate-shipping-methods-by-address-id Then it goes to below JS files magento\vendor\magento\module-...
9
votes
2answers
1k views

Allow single county gives empty drop down options in front-end checkout Country field in Magento 2

We have configured Allow Countries to Canada in admin. On fronted, by default the checkout page country field is loading with Canada, but if we click on country drop down, empty drop-down fields are ...
9
votes
2answers
2k views

Magento 2 : How to Merge Payment and Shipping Method steps in Checkout

Give me useful suggestion, How to merge payment and shipping method steps in checkout.
9
votes
2answers
2k views

Validation of the terms and conditions (custom module)

I've made a custom module which enables me to have the T&C checkbox moved beneath the payment methods and the place order button inside the summary div, like so: Now, whenever I select a payment ...
9
votes
3answers
11k views

Magento 2 checkout - 400 Bad Request

I am facing below error while placing an order on Magento 2 store with payment method Cash On Delivery. POST http://yoursite.com/rest/ae_en/V1/carts/mine/payment-information 400 (Bad Request) Is ...
9
votes
1answer
552 views

Magento2 : Apple Pay Integration With Payfort Payment

I have to integrate the apple pay payment method to my website so anyone have any reference URL or Extension. so I can use that link. I follow below link https://applepaydemo.apple.com/ https://...
9
votes
0answers
751 views

Magento 2.2.1: Add Custom Upload file attribute in Checkout

I tried to add an Upload file attribute to the Checkout form, I am now able to add custom field, but still, I am unable to save values to database - I used add Plugin - added Below code Amit\...
8
votes
2answers
8k views

Disable entire cart functionlity & checkout in magento2

From admin side i can disable one step checkout,but still users can add products to cart.I want to display only products without checkout. Is there any extension there? I mean disable mini cart,add to ...
8
votes
1answer
5k views

Insert image at the side of payment label on checkout

How could I insert an image at the side of the payment method on checkout. In example, at the side of credit cards payment method I want to display the Visa and Master Cards logo.
8
votes
2answers
2k views

Moving Gift message form block from Cart to Checkout step 1

I'm trying to move the Gift Options block(gift message form) from the current Shopping cart page to the first step of the Checkout (Shipping). I need to place it right under Shipping Methods. I tried ...
8
votes
3answers
2k views

Correct way to obtain a session object?

I'm writing a payment module for Magento 2 right now and I'm checking it against the "Magento Extension Quality Program Coding Standard" CodeSniffer(https://github.com/magento/marketplace-eqp). For ...
8
votes
1answer
2k views

Magento2 - How can I display a product attribute value in Order Summary block?

I am trying to display a product attribute value instead of the product name. I have found the tempplate where it is displayed: vendor/magento/module-checkout/view/frontend/web/template/summary/item/...
8
votes
3answers
3k views

pages loading slow

I'm currently facing a slow page load with the checkout being the slowest of all with: 28 requests 18.5 KB transferred (rest cached from disk or memory) Finish: 15.24s (loader disappears and the user ...
8
votes
1answer
2k views

Why does magento re-index pricing on each checkout?

If you look within Mage_CatalogInventory_Model_Observer::reindexQuoteInventory() it calls the following line: Mage::getResourceSingleton('catalog/product_indexer_price')->reindexProductIds($...
8
votes
1answer
8k views

Split order into seperate orders and calculate shipping seperately with ups and fedex and different origin addresses

When a customer comes to our store and goes to check out on multiple items, I need to write a module to calculate shipping based on several factors. I have determined from my research that the ...
8
votes
1answer
2k views

Magento register for account at checkout

Does anyone know whether it is possible to move the customer registration step to the checkout like in the original Magento 1 checkout? Looking for an extension that will do this for me or advice on ...
8
votes
1answer
3k views

Return from PayPal Express to One Page checkout

Having tried out all the Magento PayPal options, Pro (non-hosted) seems to be the cleanest. While it will incur full-on PCI compliance, it's the neatest approach for CC/DC payments. It all progresses ...
7
votes
3answers
5k views

Move billing address form to shipping address page in magento 2.1

I am using Magento-2.1.7. I am trying to move where the billing address is set by default it is set on the payment page and I would like to move this to the shipping methods section. Here is my ...
7
votes
2answers
13k views

Magento 2 - How to affect street address in checkout forms with layout xml/ui arguments

I'm trying to set a placeholder on street address fields on shipping address form in checkout. Followed this example: http://devdocs.magento.com/guides/v2.0/howdoi/checkout/checkout_form.html I've ...
7
votes
5answers
13k views

displaying certain payment methods for customer groups

I am very new to the magento checkout process so forgive my lack of knowledge. Is there a way of displaying certain payment options for certain customer groups. For example i have changed the "...
7
votes
3answers
10k views

Onepage checkout: Already registered customer login redirects to create an account or login page

I have recently upgraded to 1.8.1 and am fairly new to magento. All other aspects of my site seems to be working just fine, however when a customer with an existing account adds item to the cart and ...
7
votes
3answers
12k views

Paypal Express Order Review Page

I've recently turned on Paypal Express Checkout on my Magento site, during testing I noticed that once the transaction is completed in Paypal the customer is redirected back to a final order ...
7
votes
1answer
4k views

Magento 2: How to make the phone number optional?

What is the right way to make the phone number not required during the checkout in Magento 2? I have read different opinions where people suggest editing the database, which as far as I know is not a ...
7
votes
3answers
6k views

How to post data to a payment provider when placing an order in Magento 2

The issue I'm trying to integrate an online credit card payment service in Magento 2.2, but it's tough to understand all the docs on this topic at first, so I'm looking for some guidance. What I ...
7
votes
5answers
14k views

Success page get customer name and order id

I want to echo the customer name and order id on the checkout success page. I currently use this line to display the customer name: <?php $order = Mage::getModel('sales/order')->...
7
votes
3answers
2k views

How to remove Guam, Palau, and other US Territories from address State dropdown - Magento 2 [duplicate]

How can I remove Guam, Puerto Rico, Palau, and all other US Territories from the "State" (or "Region") dropdown list on both the cart page and checkout pages? I only want to ship to the 48 contiguous ...
7
votes
2answers
4k views

When does Magento decrement quantity

I'm looking for the exact point in the codebase where Magento decreases the quantity of a product after payment. I have noticed that it happens after payment authorize and not capture, if I am correct....
7
votes
1answer
1k views

Include the cc payment template in other template

I'm working on a credit card (CC) payment module. I see that Magento 2 already offers a template for CC payments but it contains only the form needed for the payment. It does not have the radio button ...
7
votes
1answer
1k views

How to add wrapper in checkout page in magento 2?

I want to add container div and add Shipping address and Order summary in it as below design. How can i do that? Thanks.
7
votes
3answers
10k views

Validation for zip code field on checkout page in magento 2

I try to apply validation for postal code on checkout like 4 numbers and 2 characters(A-Z) ex: "9999AA". Now, by default, if I press an invalid postal code on checkout page, I receive a message likes ...
7
votes
2answers
2k views

Checkout register if password field got value otherwise guest checkout

I want to display the password field always in the billing step of the checkout. We removed the fist step in the checkout. In this billing step we want that if a customer enters a password, it will ...
7
votes
1answer
2k views

How to Disable previous checkout step when goes to next step in magento2

We have successfully added a new step in checkout page for magento2. Please find a code for custom JS for that step: Location of File: app/code/Vendor/CheckoutStep/view/frontend/web/js/view/...
7
votes
1answer
2k views

Magento-2 : Display gender field as radio instead of dropdown

Magento-2 customer address Gender Prefix - Mr.;Mrs. field display by default as drop-down ,but I want to display it as radio button in customer address form like checkout shipping, billing address, ...
7
votes
1answer
86 views

Default block not called if the extension is disabled from advanced

I have overridden onepage block in my extension. However When I disable the extension from advanced system configuration My entire checkout page is not being displayed. So please provide me solution ...
7
votes
2answers
6k views

Programatically created order not adding bundle products correctly

I have an order flow outside of Magento that uses both Magento's direct methods and API SOAP methods to create an order. (The API was used completely at first until we found out it wouldn't pass the ...
7
votes
1answer
4k views

Magento 2 - Checkout loader keeps loading

Issue: Loader won't stop loading after page loading is finished. In this question Irene891 gave this as an answer: "looks like problem caused by missed "checkoutLoader" configuration. Try to to ...
7
votes
1answer
1k views

how to override tax amount with total collect when i click on one check box in magento 2?

I am trying to override tax in order review in magento 2 when click on one checkbox. How to do that? I have one form with checkbox in magento 2 onepage checkout page. My requirement is when I ...
7
votes
1answer
2k views

Order totals showing wrong way around

How can I change the position of the order totals (incl. tax / excl. tax) in the tax calculation? As it should show the total including tax below the total excluding tax but at the moment it does not.
7
votes
1answer
2k views

Data lost in Progress bar on moving to new tab in magento checkout

My requirement is to customize the Onepage checkout process and adding a new step between the “Payment Information” and “Review” Steps. So I followed the following instruction. http://www.fontis.com....
7
votes
1answer
623 views

Magento2.3.1 : Shipping address custom attribute value getting wrong format

Ref url - Shipping address custom attribute value not getting in RateRequest object in Carrier Model in magento2.x Above link in working perfect in magento2.2.x but not in magento2.3.1. I checked ...
7
votes
1answer
1k views

Change position of Billing address in Magento 2

I want to change default billing address position which is coming under the payment information, I need it before shipping address(same as magento 1). Anyone have any idea to achieve it, Please help?...
7
votes
5answers
3k views

Update price in checkout page without refresh Magento 2

I have a controller where I apply some discount on the checkout page. Now, I can see the price change just after I refresh the page. I search for a solution, to refresh the price using a Js file. ...
7
votes
1answer
4k views

Magento 2 : problem in the Checkout page : window.checkoutConfig is undefined

I am using Magento 2.0.2 and I have a problem with the Checkout page. Sometimes there is a JS error appears in the file /Magento_Checkout/js/model/quote.min.js: TypeError: window.checkoutConfig is ...
7
votes
1answer
2k views

Cart sidebar on checkout load dynamic

I use a cart in the sidebar of the one page checkout. This display the products and the total price of the cart. But I also use some additional cost for payment, so it needs to load dynamically, so ...
7
votes
3answers
5k views

Magento 2.2.5: How to validate shipping address

I'm doing Custom Checkout, and here is what i've done til now. The adea is to use validate so when i click on "Next" button, it gonna check if the checkbox in "Terms of Use", if its checked, then it ...
6
votes
5answers
28k views

Magento checkout - getting custom attribute value

I am working in the OnepageController.php What I needed was in the checkout process was to get values of some customer created attributes for the products in the current order. I have been able to ...
6
votes
2answers
6k views

How to show default payment method as checked at checkout page in Magento 2

When customer go to checkout page default payment method should be shown checked which is Paypal. What is the possible way to do this. Please help guys
6
votes
6answers
28k views

How to create order programmatically in Magento 2?

I have special order form and now I need to create orders without payment. So the payment needs to be skipped. I am not sure what would be the best way to accomplish this part. Should I send my form ...

1
2
3 4 5
68