Questions tagged [onepage-checkout]

Questions related to Onepage Checkout system of Magento.

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

Anyone know about collectTotals() Magento 2.2?

I need to know about collectTotals(); and How to work it in Magento 2.2? Have any link about collectTotals please provide to me?
0
votes
1answer
46 views

How to change telephone number, check if shipping country is “India” i want to add +91 before place order only

How to change telephone number, check if shipping country is India i want to add +91 before place order only. what i have tryed: /skin/frontend/base/default/js/opcheckout.js review.save() is ...
0
votes
1answer
326 views

Skip payment step in checkout magento 2

How to skip the Payment step in checkout and place the order. After place order i want to give option to payment for the order amount within a limited period of time to confirming order. I want to ...
0
votes
1answer
38 views

Magento 1 show error on checkout if input is longer than

Our payment service provider only allow certain input lengths for some fields. In this case I want to show a inputfield error in the checkout, when the input of the street name is longer than 35 ...
1
vote
1answer
1k views

Magento 2 : Checkout Shipping Address selection changed to drop down, Selected Options is not coming

Magento 2 Shipping address selection changes to drop down form radio options. I want to display default shipping address on page load but it's always showing first shipping address as a selected. In ...
1
vote
0answers
16 views

Magento 2. First line of php (related to action) that exectutes after Place Order is clicked

I wish to know more about the place order process. Now I know that everything goes through index.php etc. I'm looking for the first line of php or at least Entity:method that is handling place ...
0
votes
1answer
134 views

Cod Message in Magento2?

how to show custom configure message in cod payment method in magento2.. already refer these link.... How to display instructions for custom payment method Magento 2: add html in custom Payment ...
0
votes
1answer
31 views

2 routers in different module for the same mage controller

I have a question. I would like to rewrite a method of the controller Mage_Checkout_OnepageController. The method is: saveBillingAction But I found in other module already a router on this ...
1
vote
1answer
681 views

Magento 2.2 IWD Onepage Checkout Issue

I have installed and enable one-page checkout extension by IWD Agency it shows correctly but removes my theme header and footer how to prevent it and Show my header footer as it was before. Here I can ...
1
vote
2answers
474 views

Payment method in magento2?

How to disable the Cash on Delivery payment method in backend and frontend Programmatically? Here the code I'm using: etc/di.xml <type name="Magento\OfflinePayments\Model\Cashondelivery"> ...
0
votes
1answer
428 views

Disable payment method in magento2?

How to disable cash on delivery payment based on cod availability. etc/di.xml <type name="Magento\OfflinePayments\Model\Cashondelivery"> <plugin name="cashondeliveryplugin" type="...
1
vote
1answer
322 views

Magento 2 - Disable cash on delivery based on cod

How to disable cash on delivery payment based on cod availability. etc/di.xml <type name="Magento\OfflinePayments\Model\Cashondelivery"> <plugin name="cashondeliveryplugin" type="...
1
vote
0answers
286 views

Magento2 Rest api checkout

Get the response from rest API. after that how to place an order based on success or failure messages. If success then only place an order else show the failure message on the checkout page. try { ...
0
votes
1answer
297 views

Pass the magento data to json

I need a small help. How to pass the values to json with different values. $params = array( 'OrderLineId'=>$orderLineId, 'MaterialNo'=>$materialNo, ...
0
votes
1answer
72 views

Pass the values to rest api from magento2 checkout page

Get the values from magento2 checkout page but I need to pass into the rest api. How to pass the values. *$params = array( 'OrderLineId'=>$orderLineId, 'MaterialNo'=>$...
1
vote
1answer
494 views

Display header menu in IWD one page checkout extension

I want to display my header menu but it is not showing on onepage checkout page. I have tried this methods below but not working Please help me find the solution. <referenceContainer name="header....
2
votes
1answer
87 views

How do I edit the drop down 'Sign In' option on One Page checkout for guest customers? - Magento 2.2

How do I edit the drop down 'Sign In' form on One Page checkout for guest customers in Magento 2.2? I preferably want to insert a CMS block just underneath the password box. This drop down is not a ...
0
votes
1answer
960 views

How to get the order data before order placing

I created an events.xml at /app/code/Test/Customer/etc <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...
1
vote
1answer
346 views

CE 1.9 - OnePage Checkout - Initially Hide All Steps until Login / Register / Guest Checkout Selected

By default there are five steps to the Magento checkout process. This can be quite overwhelming for customers. I would like to reduce these steps or atleast give that perception. My idea is to ...
2
votes
1answer
78 views

Magento 2 - Add a new field in checkout address form js error

Magento version: 2.2.2 I need to add a custom field in address form on checkout page. So i did what is described on magento documentation: http://devdocs.magento.com/guides/v2.2/howdoi/checkout/...
1
vote
0answers
274 views

How to convert one step checkout to multistep checkout in magento

I want to convert one step to multi-step on the checkout page in one-page checkout. It's working on step form on the same page. Needs to convert multistep to different pages on the checkout page. ...
1
vote
1answer
217 views

1.9 Onepage Checkout - Combine Shipping Address & Shipping Method into One Step

I know there are 3rd party extensions for this but i prefer the default OPC and would just like to reduce the number of steps. Ultimately i would like to combine the Shipping Address and Shipping ...
1
vote
0answers
128 views

magento 1.9 as guest Customer e-mail is required while it is filled in

Best, I searched the internet but i cant find a solution. magento 1.9 checkout as guest Customer e-mail is required while it is filled in Stack trace: #0 /public_html/app/code/core/Mage/Customer/...
0
votes
1answer
944 views

Undefined index: label vendor/magento/framework/Data/Form/Element/Select.php on line 68

I'm getting this error when going to a custom extension's (IWD_Opc) admin configuration page. Undefined index: label in .../vendor/magento/framework/Data/Form/Element/Select.php on line 68 Any ideas ...
0
votes
1answer
840 views

Integrity constraint violation: 1062 Duplicate entry - After theme change

After I changed my theme I am getting error messages in Magento log and also the checkout is working correctly if I use my previous theme. The other thing is it's saying Duplicate entry '63' for key '...
1
vote
0answers
105 views

Debug Detective: Checkout Success Periodically Gets Skipped in Magento 2.2

I'm having a strange problem after customers complete checkout in Magento 2.2. About 15-20% of the time when they click "Place Order," the order is placed on the backend and they see the "You have no ...
0
votes
1answer
49 views

Magento 2 - How to unset a checkout step by checking a quote item option value?

I have added a custom checkout step in magento 2. How can i remove that specific step in one page checkout by checking quote item specific option value ? I can not specify condition in xml file, Is ...
0
votes
1answer
184 views

How to Add products to cart when clicks on a custom button

I need single click checkout of product when user clicks on a custom button in my custom controller. Hope will get help.
1
vote
1answer
620 views

Move “My billing and shipping address are the same” to shipping section [closed]

I am developing a shopping site. In the one page checkout, the "My billing and shipping address are the same" section is in the payment method. I want it to be below the Billing address. The payment ...
0
votes
1answer
158 views

Show failure message in onpage failure page

I'm trying to show some custom failure messages on onepage failure page in magento 1. How can I do this? I did the same for magento 2 using: $this->messageManager->addError(__($msg)); And ...
4
votes
1answer
2k views

magento 2 state dropdown from custom table in address form

I want to show state drop-down in checkout address form. state options will be come from my custom table. not from directory_country_region_name.
1
vote
0answers
168 views

Checkout Page Custom Field data is not saved in Magento 2

I prefer below link ant try to create custom field to checkout page in magento2 and field was created successfully but the data is not saved. Link:-How to Add Custom fields to Checkout page in ...
1
vote
0answers
138 views

Magento 2 Payment not being captured [closed]

I have a problem with OnePageCheckout. Using Magento ver 2.1.8, AheadWorks OnePageCheckout extension and World Pay as a payment gateway. I get this error: Payment failed, please try again later One ...
0
votes
1answer
660 views

Magento 2 Check-out issue | An error occurred on the server. Please try to place the order again

When trying to place a order I get "An error occurred on the server. Please try to place the order again." In the console I get this: POST https://www.mydomain.co.uk/rest/default/V1/carts/mine/...
1
vote
1answer
451 views

403 on Onepage Checkout after custom ajax request

I've added a custom block to the payment step of the onepage checkout. I need to modify something in the cart without the onepage process being interrupted or anything refreshing/redirecting. I added ...
2
votes
0answers
143 views

Magento 2 : Billing addresses as radio button and popup

How can we display billing addresses as radio buttons instead of drop-down ? And open a popup while adding new billing address in one step checkout.
8
votes
2answers
3k views

Found 2 elements with non-unique id #billing-new-address-form Magento 2

When on the checkout page, I receive the following console error when selecting the shipping method and going to the next-step 'payment'. [DOM] Found 2 elements with non-unique id #billing-new-...
1
vote
0answers
139 views

Fatal Error Onepage checkout

I'm using Magento Version 19.2.4 and a custom theme from TemplateMonster, The shop is online since a few years and all patches are installed. For some reason, today when clicking Checkout, this ...
0
votes
1answer
353 views

How to create a checkout session from order in Magento 2

I have created an order from the backend, now I want to let the user to make the payment for that order using regular check process. So is there any way of connecting that order to a checkout session ...
0
votes
1answer
86 views

Can we turn the checkout success page into a checkout step in Magento 2?

How can we make the checkout success page part of the regular Magento2 checkout steps? I like the idea of having a simplified layout with minimal content during the checkout steps. But the ...
3
votes
1answer
2k views

Newsletter subscription at the checkout review

Expected functionality: user checks the "Subscribe" checkbox in the OnePage Checkout's review step and is subscribed to the newsletter. So far I have managed to target the right event (after ...
2
votes
0answers
116 views

Magento 2 Authorize.net and Billing Information loaded simultaneously

I am having virtual products in my magento store and want to use authorize.net in the checkout process. However, when I activate the authorize.net checkout it seems that the billing information and ...
9
votes
1answer
985 views

Make selected custom shipping method shows custom input textarea at onepage checkout

I successfully added custom shipping method like this: app/etc/config.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="...
2
votes
2answers
2k views

magento 2 checkout page is keep loading, it wont let us checkout.

when we are trying to checkout the circle is keep moving, it don't let us checkout. We have also cleared the cache files on the chrome.
2
votes
2answers
1k views

Magento 2.2: How to add country and region drop-downs in a custom step form in one page checkout?

I need to add a custom step in Magento which verifies the address of the customer via a third party API, the fields are similar to the shipping address form, but I could not find out how the country ...
0
votes
1answer
271 views

Magento 1.9 onepage checkout and PayPal order review issue

Our normal checkout (onepage) flow is this: 1.) Cart 2.) Billing/shipping information 3.) Payment method 4.) Review When moving from step 3 to step 4, checkout/onepage/savePayment/ is called. If ...
2
votes
2answers
1k views

Magento 2 - How to Override Checkout LayoutProcessor

I wanted to customize a private method of \Block\Checkout\Layoutprocessor.php private function getAddressAttributes() { // My code here } To do that I have created a custom module and did ...
1
vote
0answers
353 views

One page checkout not adding tax value to grand total in Magento .Cart page and checkout page showing different grand totals [closed]

I have added discount from a custom module that I made.I am giving the observer's code below.Its working fine on the Cart page but tax is not getting added on Checkout Page. Getting paypal error: "...
1
vote
1answer
558 views

How to load phtml file in checkout/onepage payment information section

I'm trying to load epayment.phtml file in checkout/onepage payment information section. Page can't loaded in checkout/onepage payment information section. this is my code. app\design\frontend\...
1
vote
1answer
50 views

Can't load custom checkout validator

I've created a custom validator following this official guide but I'm getting this error and the checkout page gets broken: "script error for: StoreLocator/js/view/store-code-validator" I have added ...