There is a site with goods on Drupal Commerce.
The client asked him to make special arrangements for visitors of the site, who pay for goods through PayPal. Because there're commissions of PayPal and the client does not want to loose money because of them, but wants when choosing Paypal as a method of payment the price to be increased by 4%.
How to make price variations depending on the choice of method or do I need to try to make it with the Rules module?
There are 3 payment methods on the website:
- Bank Transfer
- Pay in Person
What I did by now:
I created a TAX that adds to a price by 0.04%.
I created a rule:
Event Calculating the sell price of a product
Selected payment method comparison Parameter: Order: [site:current-cart-order], Payment method: PayPal WPS
NOT Selected payment method comparison Parameter: Order: [site:current-cart-order], Payment method: Bank Transfer
NOT Selected payment method comparison Parameter: Order: [site:current-cart-order], Payment method: Pay in person
Apply a tax rate to a line item Parameter: Line item: [commerce_line_item], Tax rate: PayPal tax Provides variables: Applied tax (applied_tax)
In Checkout settings (admin/commerce/config/checkout) I moved admin/commerce/config/checkout
to the checkout pane.
But the commission is added to all products. No matter what payment method is chosen. Do you have any idea how to make it work?