Jump to content

我想在网站上增加一个发货查询,后台有个Tracking - Front office 安装完后好像没效果?


Recommended Posts

我想在网站上增加一个发货查询,后台有个Tracking - Front office 安装完后好像没效果?

这个模块是做什么用的?不知道如何可以实现在前台根据单号查询货的状态呢?

Share this post


Link to post
Share on other sites

21846657,

paypal支付的问题,能帮我看一下吗?

产品价格是$132.58,折扣60% 后是$53.032前台显示$53.03,客户购买3个,一共是$159.09元,paypal里也收到$159.09元,但ps后台显示$159.10

结果因为两个价格对不上出现Payment error错误

Warning: $159.09 paid instead of $159.10 !

这个应该是ps的四舍五入的原因造成的,该如何解决?

Share this post


Link to post
Share on other sites

呵呵,好的,我想也是round()的原因,,

你能不能跟PS开发小组讲一下这个问题,,

如果有补丁或者有解决办法的时候你可以PM我一下吗?

Share this post


Link to post
Share on other sites
  • 6 months later...

程序有问题啊:
$53.032在前台保留2位小数,当然是$53.03啦!买3个,当然是($53.03 * 3) = $159.09 啦,去PAYPAL付款的当然是$159.09啦,收到的款当然是与提交给PAYPAL的价格一样啦,付款成功返回来的数据当然是$159.09啦!这些都是对的!
但是!问题出现了
在后台付款的金额与应付的金额对比为什么会出现错误呢?
原因是
付款的金额是PAYPAL返回来的$159.09
但是应付的金额的计算方法是:
$53.032 * 3 = $159.096
round()一下保留2位,当然是$159.10啦!
出错也不足为奇啦!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More