Tag: Checkout
-
Customizing a tooltip template to allow HTML content in Magento 2
I’ve been looking for a way to put HTML content into a tooltip for one of the checkout shipping form fields in Magento 2. The native tooltip.html template does not allow to use a template, and I decided to customize it. My goal is to get additional styling features inside the tooltip, so when a […]
-
Checkout Payment Improvements in the Magento 2.1.9 release
In my previous blog How to Show Payment Errors on the Checkout Payment Page in Magento 2 post, I communicated the importance of custom payment messages. Customers expect to see clear messages provided by the Magento 2 in case of exceptional situations. Especially when it comes to payments. The Magento\Checkout module is responsible for passing error messages when order […]
-
How to Show Payment Errors on the Checkout Payment Page in Magento 2
Usually, when a customer hits the Place Order button on the Checkout Payment Page the expectation is that the order would be placed successfully. Sometimes there might be an error returned back from Payment Service Provider in response to payment payload request sent from Magento 2 payment module. The error might provide additional details to a customer e.g. Credit card […]
-
Best Advice to Extend Magento 2 Checkout
This is a continuation of Checkout tips where I started sharing tips about Magento 2 Checkout module. Checkout is flexible now Checkout as a single page application is implemented in a way where customizations take place. What do I mean by that? Let me explain. Your custom PHP classes no longer require to extend core […]
-
Custom Frontend Payment Validation in Magento 2
In this article, I will go through validators used for payment method forms in Magento 2 and show how to create a new custom validator. Overview Sometimes payment methods require additional frontend validations. Whether we want to customize validation message or add extra checks before payment form is marked as valid and data can be […]
-
Magento 2.1.3 Payment Changes Overview and Recommendations
New Magento 2.1.3 and Magento 2.0.11 releases include payment enhancements and improvements. Changes affect Paypal, Braintree and Authorize.Net payment modules in Magento Community Edition. In this article, I review changes in the Magento\Payment module. Also, I will answer the question about backward compatibility for custom payment integrations. After reading this article you will know: What have new […]
-
Magento 2 Checkout, What should you know
Checkout in Magento 2 has been re-implemented from scratch. Now it is true single page application (SPA). Single Page Application Let me explain what “true” means in SPA. While user performs various interactions with Checkout functionality e.g. entering email, selecting a shipping method, clicking Next button, all requests sent from client’s browser to a server […]
-
Setting Payment Additional Data in Magento 2
Magento team constantly addresses security issues when it comes to payment integrations. One of the improvements were changes into the Magento\Payment module. The Magento\Payment module is no longer responsible for setting Payment data for the Magento\Sales\Model\Order\Payment object. Starting from the Magento 2.0.6 release and further Magento 2.1 release custom payment module should be responsible for adding all necessary Payment information into the Payment object. In […]