WooCommerce:根据所选的支付网关向卡添加费用 [英] WooCommerce: Add fees to card based on payment gateway selected
问题描述
我需要根据客户在WooCommerce购物车中选择的付款方式来添加信用卡费用%.
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.
例如,如果购物车总额为100英镑.
For example if the shopping cart total was £100.
如果客户选择信用卡"付款,我想在交易中增加2%,使购物车总额达到£102.然后,这笔款项将由外部信用卡提供商进行处理,因为它们实际上是由他们处理卡(WorldPay _).
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_).
我还想为Paypal添加3%的其他金额.
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.
没有WooCommerce插件可以做到这一点.我最接近的是这个线程.
There is no WooCommerce plugin that does this. Closest I've got is this thread.
http://support.woothemes.com/entries/22716621-Credit-卡费
在此先感谢您提供的任何帮助.
Thanks in advance for any help you can provide.
推荐答案
免费
-
WooCommerce助推器/网关费用和折扣-更可靠
Booster for WooCommerce / Gateways Fees and Discounts - more robust
已付费
这篇关于WooCommerce:根据所选的支付网关向卡添加费用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!