Skip to main content

Post categories

  • Drupal Tips & Tricks
  • Drupal HowTos
  • Drupal Tutorials
  • Drupal Modules
  • Drupal Themes
  • twitter
  • youtube
Home
Drupal 4U
Drupal Development, Drupal Web Design, Drupal SEO
  • Home
  • Showcases
  • Services
  • Blog
  • Themes
  • Modules
  • 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
31

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
31
1
min read
A- A+
  • facebook-f
  • twitter
  • envelope
  • print

Contact Drupal 4U

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

Contact Us

We aim to reply the latest within 48h.

About Drupal 4U

We are a group of Drupal designers, developers and webmasters and we launched this website to share our experience and knowledge with you. Drupal is a free software package that allows you to easily organize, manage and publish your content, with an endless variety of customization. Drupal is open source software maintained and developed by a very large community of developers and users.

  • twitter
  • youtube

Drupal Services

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

Drupal Insights

  • Drupal Tips & Tricks
  • Drupal HowTos
  • Drupal Tutorials
  • Drupal Modules
  • Drupal Themes

Drupal Blog

  • Configuration
  • Content
  • Installation
  • Menus
  • Modules
  • Optimisation
  • Taxonomy
  • Themes
  • Troubleshooting
  • Views

Drupal 4U

  • Services
  • Blog
  • About

Drupal Links

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

Footer menu

  • Contact
Home
Drupal 4U
Drupal Development, Drupal Web Design, Drupal SEO
  • Home
  • Showcases
  • Services
  • Blog
  • Themes
  • Modules
  • About
  • Contact
Clear keys input element