【问题标题】:Stripe Connect Application Fee DiscrepancyStripe Connect 申请费用差异
【发布时间】:2014-02-25 11:38:05
【问题描述】:

所以,我不确定这是编码错误还是我对 Stripe Connect 流程的误解,但我正在尝试使用 Stripe .NET 包装器进行收费。我的代码如下:

int chargeAmount = 2014;
int appFee = 1986;

var stripeChargeOption = new StripeChargeCreateOptions()
                            {
                                AmountInCents = chargeAmount,
                                Currency = "cad",
                                Card = stripeToken.Id,
                                Description = "Your Purchase with Coupons4Giving - " + info.Merchant.Name,
                                ApplicationFeeInCents = appFee
                            };
                            var response = stripeService.Create(stripeChargeOption);

问题是当我去查看实际经历的内容时,这些值与我在此调用中指定的值不同。在 Stripe 方面,它显示申请费为 19.26 美元(即 20.14 美元减去 Stripe 的 2.9% 费用 + 0.30 美元)。

谁能告诉我为什么我的申请费是 20.14 美元,而不是我试图指定的 19.86 美元?

谢谢!

【问题讨论】:

    标签: c# .net stripe.net


    【解决方案1】:

    事实证明,Stripe 从总费用中扣除了申请费。我的错误是认为它将费用添加到费用中,因此 2 美元的费用加上 2.25 美元的费用是行不通的(费用降至 2 美元,因为这是最多的)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-04-24
      • 1970-01-01
      • 2018-02-25
      • 2022-01-19
      • 1970-01-01
      • 1970-01-01
      • 2015-03-13
      • 1970-01-01
      相关资源
      最近更新 更多