duanqiechui2378 2017-05-18 19:32
浏览 39

如何向已完成和付费的Woocommerce订单添加费用?

I have a Woocommerce website. I need to add a fee to an existing paid order. How can I add a fee and have the credit card charged even though the customer has already submitted the payment information (which we don't store)? Is it possibile? Do I need a plugin?

  • 写回答

1条回答 默认 最新

  • dqlhsm9820 2017-05-18 20:00
    关注

    You can't charge an additional fee if you already captured the full amount the customer authorised.

    The reason is because online payments when done through a payment gateway are nearly always a two-step process involving:

    Authorisation: As the name indicates, this is where the customer authorises that a certain amount will be charged against their card by the merchant. Your payment processor will verify that the customer actually has the funds and block them so that the customer can't spend them (to the customer it'll look like it was already deducted).

    Capture: This is where the funds actually "move" from the customer's account to the merchant's account (technically nothing moves, just credit and debit accounting entries are made at the banks involved).

    http://www.paymentsgateway.com.au/what-you-need-to-know/payments-gateway-authorization-and-capture has a good explanation on this process.

    Authorize.net uses the same model as you can see from their documentation: https://support.authorize.net/authkb/index?page=content&id=A510

    What to do in your situation?

    If this is an isolated incident where you were meant to charge the customer a fee but forgot to, then either have them pay through a different way or waive the fee.

    If you need to charge a fee for every single customer then they must authorise the total amount, even if you capture for example 95% on order completion and 5% afterwards.

    Whether you can do these partial captures depends on Authorize.net and how you set up WooCommerce.

    评论

报告相同问题?

悬赏问题

  • ¥15 winform的chart曲线生成时有凸起
  • ¥15 msix packaging tool打包问题
  • ¥15 finalshell节点的搭建代码和那个端口代码教程
  • ¥15 用hfss做微带贴片阵列天线的时候分析设置有问题
  • ¥15 Centos / PETSc / PETGEM
  • ¥15 centos7.9 IPv6端口telnet和端口监控问题
  • ¥20 完全没有学习过GAN,看了CSDN的一篇文章,里面有代码但是完全不知道如何操作
  • ¥15 使用ue5插件narrative时如何切换关卡也保存叙事任务记录
  • ¥20 海浪数据 南海地区海况数据,波浪数据
  • ¥20 软件测试决策法疑问求解答