We have created a custom field in the quote table and saved the value. This post will create a field in the sales_order table to save a custom. We are often required to save additional […]
Category: Payments
Magento 2: Add Custom Validation Before Order Placement
Do we need to add custom validation just before order placement? Is it possible? Yes, absolutely; Magento 2 is flexible and provides a mechanism to add our custom validation before placing orders. We often need […]
Magento 2: PayPal gateway has rejected request. The totals of the cart item amounts do not match order amounts
PayPal gateway has rejected the request.? Have you added custom charges or tax to the total? If yes, then let’s fix it. First, let’s talk about what Paypal is. Paypal is an international payment method […]
Magento 2: How to update the total using JS
How to update the total using JS Let’s check how we can achieve this in Magento 2. We have updated Mini Cart using sections.xml and JS in the post: https://sbdevblog.com/magento-2-how-to-update-mini-cart/ Like the mini-cart, sometimes we […]
Magento2: Disable Payment Method Programmatically
We developers often need to disable specific payment methods in certain scenarios. However, we cannot disable those payment methods from the configuration because our website needs them in a different scenario. We will check how […]