Skip to main content
  • X Twitter
  • youtube
Home
Drupal 4U
Built for AI. Powered by Drupal.
  • Home
  • Showcases
  • Services
  • Blog
  • Themes
  • About
  • Contact

Breadcrumb

  1. Home
  2. Tutorials
  3. Drupal Commerce: How to add fixed and percentage fees based on the payment method

Drupal Commerce: How to add fixed and percentage fees based on the payment method

Tutorials
November 17, 2016
Profile picture for user drupal
By drupal
  • facebook-f
  • twitter
  • envelope
  • print
145

1. Add fixed fees based on the payment method chosen

  • Install and configure the module Commerce Fees according to the instructions: https://www.drupal.org/project/commerce_fees

2. Add percentage fees based on the payment method chosen

  • Install the Tax module
  • Go to admin/commerce/config/taxes and set your special tax. Define the rate and chose sales tax.
  • Go to /admin/config/workflow/rules and edit the rule "Calculate taxes: Sales tax". Add the following condition:
    • Selected payment method comparison
    • Data selector: commerce-line-item:order
    • Payment method: xxxxxxxx
  • Go to /admin/commerce/config/checkout and move the Item "Payment" one step before "Shopping cart contents"
Drupal Commerce: How to add fixed and percentage fees based on the payment method
Commerce

Read more articles

Newer
Drupal Commerce: How to disable or unlock Off-site payment redirect? How to eliminate checkout page "Payment"?
Older
Drupal Commerce: Redirect to cart after adding a product
  • Log in to post comments
Profile picture for user drupal
drupal
145
1
min read
A- A+
  • facebook-f
  • twitter
  • envelope
  • print

Contact Us

Get in touch for questions and our Drupal development, design and optimization services.

Contact Us

We aim to reply the latest within 48h.

Drupal 4U: Built for AI. Powered by Drupal.

We are a group of Drupal designers, developers and webmasters. We are Drupal experts! We provide comprehensive services that go beyond traditional web development, focusing on how AI understands, interprets, and cites your content. With our deep expertise in Drupal's architecture, we build the intelligent core of your digital presence, ensuring your brand remains authoritative and visible in a world where AI is the primary gatekeeper of information. Partner with us and let's future-proof your digital strategy together.

  • X Twitter
  • youtube

Drupal Services

  • Drupal Web Design
  • Drupal Development
  • Drupal SEO
  • Drupal GEO
  • Drupal Migration

Drupal 4U

  • Services
  • Showcases
  • Themes
  • Blog
  • About

Drupal Links

  • Official Drupal Website
  • Theme Forest
  • Gaivas Themes
  • More Than Themes
  • DXPR: Drupal for Marketers
  • Drupal Answers
2012 - 2025, Drupal 4U

Footer menu

  • Contact
Home
Drupal 4U
Built for AI. Powered by Drupal.
  • Home
  • Showcases
  • Services
  • Blog
  • Themes
  • About
  • Contact
Clear keys input element