Skip to content
  • Home
  • Magento 2
    • Cart
    • Catalog
    • Customer
    • Eav Attributes
    • Payments
    • Shipping
    • Theme
  • AI With SB
    • Prompt Engineering
  • We are on YouTube
  • Contact Us
  • SBDEVBLOG Privacy Policy
Magento 2 Sb Dev Blog

Category: Payments

  • Home
  • Magento 2
  • Payments
Magento 2: Save value to a custom field in the order 4 min read
  • Cart
  • Checkout
  • Customer
  • Grid
  • Knockout JS
  • Magento 2
  • Order
  • Payments
  • Sales
  • Sales
  • Shipping

Magento 2: Save value to a custom field in the order

  • Sameer Bhayani
  • March 3, 2024

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 […]

Magento 2: Add Custom Validation Before Order Placement 6 min read
  • Checkout
  • Knockout JS
  • Magento 2
  • Payments
  • Shipping

Magento 2: Add Custom Validation Before Order Placement

  • Sameer Bhayani
  • May 20, 2023

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 3 min read
  • Cart
  • Checkout
  • Magento 2
  • Payments

Magento 2: PayPal gateway has rejected request. The totals of the cart item amounts do not match order amounts

  • Sameer Bhayani
  • May 20, 2023

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 2 min read
  • Cart
  • Checkout
  • Magento 2
  • Payments

Magento 2: How to update the total using JS

  • Sameer Bhayani
  • March 9, 2023

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 1 min read
  • Magento 2
  • Payments

Magento2: Disable Payment Method Programmatically

  • Sameer Bhayani
  • November 13, 2022

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 […]

LET’S KEEP IN TOUCH!

We’d love to keep you updated with our latest technical content😎

We don’t spam! Read our privacy policy for more info.

Check your inbox or spam folder to confirm your subscription.

Recent Posts

  • Zero-Shot vs Few-Shot Prompting: The Technique That Makes AI Sound Like You
  • The Perfect Prompt Structure: Get Exact Results from AI
  • The Skill That Makes AI Actually Work for You
  • Magento 2 GraphQL: Debugging & Performance Optimization Tips
  • Creating a Custom GraphQL for Magento 2 Products

Archives

May 2026
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« Jul    

profile for Sameer Bhayani at Magento Stack Exchange, Q&A for users of the Magento e-Commerce platform

SB DEV BLOG provides technical article which you need in daily life. Started from Adobe Commerce (Magento 2) but I will write and publish post for other framework and languages as well.

[mwai_chatbot id="default"]

Recent Posts

  • Zero-Shot vs Few-Shot Prompting

    Zero-Shot vs Few-Shot Prompting: The Technique..

  • The Perfect Prompt Structure: Get Exact Results from AI

    The Perfect Prompt Structure: Get Exact..

  • Prompt Engineering

    The Skill That Makes AI Actually..

Most Viewed Posts

  1. Magento 2: Message Queue Status Codes (1,222)
  2. Magento2: How to refresh the shipping method using JS? (1,028)
  3. Magento 2: How to invalidate indexer programmatically? (820)
  4. Magento 2: Add a Custom Field to the Quote Table (713)
  5. Magento 2: How To Remove Product from the categories Programmatically? (680)
Magento 2 Sb Dev Blog

Check your inbox or spam folder to confirm your subscription.

Copyright © 2022-26 https://sbdevblog.com