Skip to content
  • Home
  • Magento 2
    • Cart
    • Catalog
    • Customer
    • Eav Attributes
    • Payments
    • Shipping
    • Theme
  • AEM
  • Node JS
    • JavaScript
  • Data Analytics
  • Watch Our Vlogs
  • Contact Us
  • 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

  • Magento 2 GraphQL: Debugging & Performance Optimization Tips
  • Creating a Custom GraphQL for Magento 2 Products
  • Using Input Types in Custom GraphQL Mutations in Magento 2
  • Create a Custom GraphQL Mutation in Magento2
  • How to Add Filtering, Sorting, and Pagination to Your Custom GraphQL in Magento 2

Archives

  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • June 2024
  • May 2024
  • March 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022

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.

Recent Posts

  • Magento 2 GraphQL Debugging & Performance Optimization Tips

    Magento 2 GraphQL: Debugging & Performance..

  • Creating a Custom GraphQL for Products in Magento2

    Creating a Custom GraphQL for Magento..

  • Using Input Types in Custom GraphQL Mutations in Magento2

    Using Input Types in Custom GraphQL..

Most Viewed Posts

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

Check your inbox or spam folder to confirm your subscription.

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