WooCommerce:根据选择的支付网关向卡添加费用 [英] WooCommerce: Add fees to card based on payment gateway selected

查看:17
本文介绍了WooCommerce:根据选择的支付网关向卡添加费用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要根据客户在 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.

推荐答案

免费

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

WooCommerce 基于支付网关的费用和折扣 - 简单

付费

这篇关于WooCommerce:根据选择的支付网关向卡添加费用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆