WooCommerce: Add fees to card based on payment gateway selected

拟墨画扇 提交于 2019-11-26 09:13:33

问题


I need to add a credit card fee % based depending on what payment method the customer selects at the shopping cart in WooCommerce.

This needs to be added to the shopping cart total so that it sends the total amount including the fee to the payment gateway.

For example if the shopping cart total was £100.

If the customer selects \'Credit Card\' payment I would like to add 2% to the transaction making the shopping cart total £102. This amount would then go to the external credit card provider for processing as the actually card processing is handled by them (WorldPay_).

I would also like to add a different amount for Paypal 3%.

If the customer selects Cash on Delivery or Bank Transfer I wouldn\'t add any fees.

There is no WooCommerce plugin that does this. Closest I\'ve got is this thread.

http://support.woothemes.com/entries/22716621-Credit-card-fees

Thanks in advance for any help you can provide.


回答1:


free

  • Booster for WooCommerce / Gateways Fees and Discounts - more robust

  • Payment Gateway Based Fees and Discounts for WooCommerce - simple

paid

  • Payment Gateway Based Fees



回答2:


you can use this plugin for set charges on payment gateway its free plugin

https://wordpress.org/plugins/woocommerce-extra-charges-to-payment-gateways/screenshots/



来源:https://stackoverflow.com/questions/15405229/woocommerce-add-fees-to-card-based-on-payment-gateway-selected

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!