添加支付网关佣金后如何计算产品价格? [英] How to calculate product price after adding payment gateway commission to it?

查看:59
本文介绍了添加支付网关佣金后如何计算产品价格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一件价值约 100 美元的商品要出售.有适用于它的 5% 的税.第三方支付网关收取支付给网关总金额的 3%(即 100+5% 的 3%)的佣金.由于不可能向客户收取 3% 的支付网关佣金,我们将这笔额外的佣金隐藏在商品价格下.所以价格应该从 100 增加到X"数量.

We have an item to sell worth around $100. There is a 5% tax applicable to it. A third party payment gateway takes a commission of 3% of total amount given to gateway (ie., 3% of 100+5%). Since its not possible to charge 3% payment gateway commission customer, we hide this extra commission under item price. So the price should be increased from 100 to an "X" amount.

(100 + 5% tax) + 3% Commission = (X + 5% Tax) ;

请注意,当金额从 X + 5% Tax 增加时,佣金也会增加.

Please note when increase amount from X + 5% Tax, the commission also increases.

(100 + 5%) + 3% = (100 + 5) + 3.15 = 108.15

如果我们将 108.15 发送到网关,它会对 108.15 的金额收取 3.255,这意味着额外的 0.105.IE.扣除网关佣金 (104.895) 后,我们收到的金额较少.

If we sent 108.15 to gateway, it charge 3.255 on the amount 108.15, which means 0.105 additional. ie. We received a lesser amount after deducting gateway commission (104.895).

我需要隔离不会对公司产生额外费用的商品价格.

I need to isolate the item price which will not result in an additional charge to company.

$tax = 5 ; //5%
$itemAmount = 100 ;
$priceWithTax = $itemAmount + ($itemAmount * 5/100) ; 
$commission = 3 ; //3%

//We sent 105 to gateway.. which results 105 to customer and 3.15 to company.
$priceWithTaxCommission = $priceWithTax /* or X */ + ($priceWithTax * $commission/100) ; 

$ToGateway = $priceWithTax + ($priceWithTax* 3/100) ; 
//Results 108.15, If we sent  108.15 to gateway it again charge 3% on 108.15. Which is wrong.

如何在包含支付网关佣金后找到产品价格?

How to find product price after including payment gateway commission ?

推荐答案

不要用加"来思考,用乘"来思考:

Don't think in the term of "add", think in the term of "multiply":

用因子 f 乘以你的价值:

Multiply your worth with factor f:

f = 1/0.97

100 * (1/0.97) * 1.05 = ~108.25(商店价格含税)

100 * (1/0.97) * 1.05 = ~108.25 (shop-price including taxes)

108.25 * 0.03 = ~3.25(佣金)

108.25 * 0.03 = ~3.25 (commision)

-> 105.00(剩下的就是 100 + 5% 的税).

-> 105.00 (what's left and that is 100 + 5% taxes).

您还可以参数化因子 f:

You can also parameterize factor f:

f = 100/(100 - 佣金)

请看看我的回答,如果您想在您的商店价格中考虑佣金部分的税费,请告诉我.您可以这样做,但在我看来,从会计的角度来看,这是错误的.

Please have a look at my answer and let me know if you want to consider the taxes of the commision-part in your shop-price. You can do this but in my opinion this would be wrong from a accountance-view.

这篇关于添加支付网关佣金后如何计算产品价格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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