Questions tagged [checkout]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

How to update product details(details.html) in checkout on applying promo code Magento 2

on the checkout page when the promo code is applied, I need to update the item details on the basis of some calculation of promo code for final sale I have to show final sale text dynamically when ...
4
votes
1answer
729 views

Multi Store view - product name for each store

I'm using Magento 1.9.0.1 I have a store in English, I want to have the same store (same categories and products) just translated to Spanish. I used this tutorial to achive this: Ref. I created ...
0
votes
0answers
22 views

Share PHP session in frontend and REST API (Magento 1.9)

I am writing a few custom REST APIs for Magento1.9 and I was using a session to retain a couple of custom data (It's not a headless architecture). The session was working fine across all my APIs, but ...
0
votes
0answers
24 views

Magento 2 - WorldPay for Business checkout error

I have an issue while trying to checkout using the WorldPay payment method. WorldPay checkout working fine with Pound and Euro currency only, not with other currencies like USD, PKR etc. When I ...
0
votes
0answers
16 views

How to send data from cart page(phtml) to checkout page(html) for each item in knockout Magento 2

I am doing some calculation for final sale in cart page which is phtml, and I have show final sale in checkout page as well for each item. app/design/frontend/Mgs/yx_theme/Magento_Weee/templates/...
8
votes
2answers
1k 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 ...
2
votes
1answer
906 views

How to add a input mask on any checkout field?

I've been searching for a way to adds masks in some checkout input fields, I found this, but without answers, I want to add pt_BR mask on telephone field. Is there some way to use Jquery Mask Plugin, ...
4
votes
2answers
336 views

Magento 2.2.4 = How to add new link on checkout page?

I have created 1 custom tab on the checkout page and it's working fine I follow below link to add the tab on cart page. Magento 2 - Add step on checkout I want to add a link name as "Create an ...
1
vote
0answers
90 views

Magento 2 : Shopping cart is empty but Display product in mini cart

I have work in Local Environment. I had install multiple Magento version in my local environment. I have two Magento project of version 2.3.0 and 2.3.1. When I had Add one product in Mage231 project ...
4
votes
1answer
651 views

Magento-2 : How to display custom field just after payment method list and save on place order

I want to display one text area, just after payment method list, on checkout page. Text area value should be saved on place order. Saved value also need to be displayed in Admin >> sales >> order >> ...
0
votes
0answers
22 views

How to surcharge each credit card type, 2% for Visa & Master and 3% for Amex and Discover

I can do the surcharge for payment method with selecting cc card or others, but when the buyer inserts his credit card number into cc-form, I want that surcharge changes to 2% or 3% depends on credit ...
1
vote
1answer
46 views

Update record error : “Unique constraint violation found” in magento2

In the controller, I am inserting and updating data. But when record is already exist it's not update it's again try to insert so i am getting above error: if(!$checkoutPrescriptionCollection->...
2
votes
1answer
998 views

City field not required on checkout in Magento 2

How to make city field not required on checkout?
2
votes
2answers
771 views

How to redirect to success page from controller

This is my controller page. I need to redirect to success page and place all orders in cart. This returns https 500 error. <?php namespace Cod\Otp\Controller\Index; use Magento\Quote\Api\...
0
votes
1answer
22 views

How to add custom filed with custom step in magento2 checkout?

I want to add custom step checkout step with tile "Prescription" with one custom form where four radio button is present and selecting those radio button save in custom table when order placed i ...
1
vote
3answers
468 views

How Do I get Order id from module-checkout/Block/Onepage/Success.php in magento 2

I want to get the order details from module-checkout/Block/Onepage/Success.php. I got only the increment id to my custom template using the above block file. How can I get the entire order ...
2
votes
1answer
758 views

Unable to add form in magento 2 custom checkout step

What I have done so far, I have added a custom checkout step successfully(wirtten a separate module for it) by following the steps given on http://devdocs.magento.com/guides/v2.1/howdoi/checkout/...
1
vote
1answer
696 views

Show credit card error reason @ checkout

I'm currently running 2.1.3 and utilizing Braintree processing at checkout. Currently, if a customer places an error with a bad credit card, wrong CVV number, or wrong address, they just get the error ...
0
votes
0answers
21 views

Magento 2 checkout page select State/Province based on the selected store location

I finally found the page that response to display the checkout page but I need to change the state/provider drop-down menu (values) for the custom of mine but I didn't know where the options of select ...
0
votes
1answer
20 views

Checkout Totals Sort Order not visible in my magento admin panel

I can't see 'Checkout Totals Sort Order' (https://docs.magento.com/m2/ce/user_guide/sales/checkout-totals-sort-order.html) option under sales tab in my magento 2.3 admin panel
0
votes
0answers
19 views

Magento 2 How to show popup before going to payment method step?

I want to show a popup on click next step after filling shipping information. Payment step will be show after closing popup. How can I do on checkout? I am using magento-2.3.1.
1
vote
1answer
29 views

magento 2 checkout page

I face an issue on checkout age regarding the auto-update date when we enter the city and zip code on the checkout page. I want to remove auto-updating when we enter the city it should only update ...
0
votes
1answer
692 views

How to use the country set in the shipping estimate in checkout?

I use the shipping estimate in the cart page and select a country, for example Ethiopia. How can I use this country as default in the (billing + shipping) address in the checkout?
1
vote
1answer
712 views

Move Checkout Agreements from top to end of the page

I am trying hard to move the checkout agreements in the last Checkout Step from the top of the page to bottom, right above the "order now" and "edit cart" buttons. But without success. Right now they ...
0
votes
0answers
12 views

Move 'Checkout Agreements' above 'Place Order' button

I'd like to move "Agree to Terms & Conditions" checkbox (checkout agreements), right above Place Order button, in checkout. I have read other posts about moving elements in checkout page, but ...
0
votes
0answers
17 views

Magento 2 how to show custom order attribute in checkout?

how to show custom order attribute in the checkout after shipping methods and admin as well? I am trying below code but it is not working. It also saves on the database. (in the database column ...
1
vote
0answers
29 views

In Magento 2 Uncaught ReferenceError: Unable to process binding “optgroup: function(){return options }”

In magento 2, how to get a custom attribute option value in select field in checkout page app/code/Cm/CustomerAttribute/Model/Plugin/Checkout/LayoutProcessor.php <?php namespace Cm\...
0
votes
0answers
16 views

Magento2 : How to load Javascript url with order ID at checkout page?

How can I get the order and use it to load the javascript at checkout page (javascript url include order information)?
1
vote
1answer
1k views

Magento 2 An error occurred on the server. Please try to place the order again

I know my question are like this But in my case when I check errors I see this Magento\Customer\Model\Customer\Interceptor::_getResource","trace":"#0 /backup/html/toph/vendor/magento/framework/...
2
votes
2answers
2k views

How to customize the shipping form?

I want to customize the shipping form, but I don't know how to find that form, I tried but I did not find it! Comment BY USER I only want how can i edit this page, i want edit the shipping form. ...
0
votes
2answers
781 views

Magento redirect to checkout after adding to cart

I want to disable the shopping cart page. I mean that when customers add products to cart, Magento will skip the shopping cart page and redirects them to the checkout page to shorten buying process. ...
4
votes
1answer
104 views

How to update checkout/cart/ orders total when promo code is applied dynamically without page reload

I have changed my checkout/cart/ page promo code to ajax call so that it doesn't get reloaded, while on the success of that ajax call, I have to update the total price summary dynamically without ...
3
votes
1answer
138 views

How to remove the error message in magento2 checkout page

I need to remove the error message in magento2 billing address in the checkout page. How to remove that. Thanks in advance
2
votes
2answers
176 views

Authorize.Net issue with Magento 2.3.1 Invalid Gateway Credentials

I'm running Magento 2.3.1 with both the old authorize.net hash method and the new signature key method. I keep getting an error message stating "invalid gateway credentials" whenever I place a ...
0
votes
0answers
21 views

Recalculate and reload new prices with OSC

On my store, I need to calculate Subtotal Price and Grand Total Price after choose one of the options below. I'm using One Step Checkout. When I change the payment method, Magento performs an ajax on ...
0
votes
0answers
26 views

City field validation not working

Tried via checkout_index_index.xml to add validation on city field in 2.2.6 still now working <item name="city" xsi:type="array"> ...
4
votes
0answers
62 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 ...
1
vote
1answer
721 views

how to save custom form fields data in admin in magento 2?

I have created three custom form fields in checkout payment section. I have followed this link to create form fields (How to add additional field to checkout payment (Magento 2)). Now want to know ...
0
votes
1answer
16 views

Base table or view not found: 1146 Table 'amazon_sales_order' doesn't exist

I'm using Magento 2.2.5 Cloud commerce version and at success page I'm getting following error 2019-07-01T13:35:09+00:00 INFO (6): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'm2....
2
votes
2answers
47 views

Order total amount does not include tax amount

Total order amount does not include tax calculation on Shopping Cart Attaching pic for better understanding.
0
votes
1answer
29 views

Checkout page displays blank

I have tried to order from Magento 2, When I click on 'Go to checkout' button, it goes to the checkout page but the Checkout page is a blank page. It displays the menu bar, header, footer, and ...
0
votes
0answers
49 views

Magento 2 How to add custom attribute to Totals Information Interface

I have to add custom attribute to /rest/default/V1/carts/mine/totals-information, so I found TotalsInformationInterface and I tried to add on this, but it is not working. I am doing this because I ...
0
votes
3answers
663 views

Remove Credit Card option from magento 2 checkout

I don't want to show credit card option in Magento [2.2.2] checkout. From backend only cash on delivery is enable but still credit card is showing. Even whatever payment method i choose [Standard ...
3
votes
1answer
686 views

Custom Checkout Step Fields not in Post Data

I have created a new checkout step with 4 form fields. The step is called additional-order-info. I created the step and the form with the help of the devdocs for Magento 2(.1). I have also created ...
2
votes
2answers
42 views

Hide carrier title on checkout page. Magento 2

I need to hide carrier title on checkout page only when price is 0.00. Or even the js file from where this carrier title is displayed will be really helpful
2
votes
0answers
17 views

How to make my Cart page uncacheable

I want to make my cart page uncacheable so i have added <referenceContainer name="content"> <block cacheable="false"/> </referenceContainer> in /Magento_Checkout/layout/...
1
vote
0answers
21 views

Setting Billing and Shipping address for Quote

I am trying to set the Billing and Shipping address for the Quote extracted from the Order like this, $quote->setBillingAddress($order->getBillingAddress()); $quote->setShippingAddress($...
2
votes
1answer
690 views

Magento 2.1 - How to set shipping method at Checkout page programmatically

Background We have a custom shipping method "Click & Collect", with this custom shipping method is a custom calculator on the checkout_cart_index page which will return all the nearest stockists ...
2
votes
1answer
22 views

Magento 2 checkout page not working with error of SSL

plz advice any one how we can force https when i add product it work fine.. cart page also work fine .. but checkout page says loading and loading.. and error https my website http://...
5
votes
1answer
98 views

Magento 2.2.5 checkout page summary discount row shows as expanded

In Magento2.2.5 using the default Magento2 2 step checkout on the payment & review step in the order summary box the discount which I believe is suppose to be a drop down shows always as expanded ...