mint^^ Posted April 16, 2011 Share Posted April 16, 2011 我的网站后台设置成人民币了这样首页也有人民币美国客户,在查看网站的时候,从网站首页右上角把货币改成了美元,一路购物操作正常然后付款结算,物流什么的也都正常到了最后一步,显示美元是42.47刀但是跳转到paypal付款的时候,却显示283.5刀我注意到283.5 正好是42.47按照美元人民币汇率 折换成人民币的数字。。。为什么????非常着急,等待高人指点 Link to comment Share on other sites More sharing options...
mint^^ Posted April 16, 2011 Author Share Posted April 16, 2011 这就是跳转到paypal后的页面 Link to comment Share on other sites More sharing options...
shokinro Posted April 16, 2011 Share Posted April 16, 2011 不知你用的是哪个版本,也许有BUG请看这里(抱歉是英语)http://alvinjiang.blogspot.com/2010/11/prestashop-tips-how-to-fix-customer.html版本更新可能可以解决问题 Link to comment Share on other sites More sharing options...
mint^^ Posted April 17, 2011 Author Share Posted April 17, 2011 谢谢楼上的回复我认真的读了下面这篇文章发现果然跟我的问题是一模一样的因为issue1的解决需要花钱,我也没买它的module我按照文章里介绍的,更改了paypal的redirect.php操作了一下,发现问题依然存在,支付完成以后,还是提示支付错误What is the problemIf you are using Paypal payment module ver 1.7 at PrestaShop 1.3.2, you will find some issue if you are using more than one currencies.First, you will need to understand following concepts in PrestaShop 1. Default currency (assume set as: USD)2. Paypal restricted currency( assume set as Euro)3. Your store support currencies (assume you set as USD, EURO, GBP,....)If you want know more about what is "Default currency", " Paypal restricted currency", please see my another post hereIssue/Problem 1: Currency Converting ProblemIf customer select currency (e.g. GBP) other than Paypal Restriction Currency (Euro), when customer start checkout, PrestaShop will redirect to Paypal without converting, it means customer will be charged with Euro by the amount of GBP.Issue/Problem 2: Customer selected currency At Paypal payment page, if customer cancel payment and click "Return To Store" (your PrestaShop Store). When customer comes back to your store, all prices of products and shopping cart are displayed as Erro instead of customer selected GBP.Affected PrestaShop versionsThis issue 1 seem only happens on Paypal 1.7 which comes with PrestaShop 1.3.2The issue 2 seems happens in both Paypal 1.7 and 1.6 which comes with PrestaShop 1.3.1 The solutionTo fix issue 1, some more coding is required than fixing issue 2.I will explained in detail on how to fix issue 2 here.In the payment module "Agile Paypal", both issues are fixed. "Agile Paypal" is a Express Checkout module that allows customer checkout without sign up to registration or log in.For more information this module Please Visit HereIf you interested in buying, Please Visit Here.Or you can have live demo at below sites:http://ecochoiceshop.com/ (public service)http://expresscheckout.dyndns.org:8080/demoshop/ (sand box test)Now, let me show you on how to fix issue 2:Please apply following two changes to file ./modules/paypal/redirect.php1. Add following code at position as indicated in the screen shot image below it.$customercurrency = $cookie->id_currency;2. Add following code before the end of script as indicated by the screen shot below.$cookie->id_currency = $customercurrency;Note:The above change is for module Paypal 1.7 which comes with PrestaShop 1.3.2But it should be the similar for other version like module Paypal 16.Posted by Alvin at 11:29 AM Link to comment Share on other sites More sharing options...
mint^^ Posted April 17, 2011 Author Share Posted April 17, 2011 这个是我测试的结果 Link to comment Share on other sites More sharing options...
shokinro Posted April 17, 2011 Share Posted April 17, 2011 可以升级的更新的版本也许能解决你的问题.http://www.prestashop.com/en/downloads/ Link to comment Share on other sites More sharing options...
mint^^ Posted April 17, 2011 Author Share Posted April 17, 2011 楼上的同学你好你是让我升级整个网站哦。。。???这个太复杂了吧。。。 Link to comment Share on other sites More sharing options...
mint^^ Posted April 17, 2011 Author Share Posted April 17, 2011 我不会升级网站5555 Link to comment Share on other sites More sharing options...
shokinro Posted April 17, 2011 Share Posted April 17, 2011 你可以只升级Paypal,不用升级级网站.你是用的哪个PrestaShop版本?如果你找不到对应的Paypal版本我可以帮忙 Link to comment Share on other sites More sharing options...
mint^^ Posted April 17, 2011 Author Share Posted April 17, 2011 我的是 Version 1.3.0.2我的paypal是v1.6 Link to comment Share on other sites More sharing options...
mint^^ Posted April 18, 2011 Author Share Posted April 18, 2011 顶起来 Link to comment Share on other sites More sharing options...
mint^^ Posted April 19, 2011 Author Share Posted April 19, 2011 你是说什么插件? Link to comment Share on other sites More sharing options...
21846657 Posted April 20, 2011 Share Posted April 20, 2011 咦...我的1302好像没有这样的问题。你的BO >> Payment 页面是如何设置的? Link to comment Share on other sites More sharing options...
mint^^ Posted April 21, 2011 Author Share Posted April 21, 2011 我截个图来~ Link to comment Share on other sites More sharing options...
mint^^ Posted April 21, 2011 Author Share Posted April 21, 2011 :0 Link to comment Share on other sites More sharing options...
21846657 Posted April 21, 2011 Share Posted April 21, 2011 哦你的默认货币是CNY,你试试将Default currency换成其他的货币,是否还有类似的“转换”错误?我想,问题的关键是,由于PayPal对中国大陆的差别化服务(一个是贝宝,另一个是PayPal中国C2),针对C2的PrestaShop的PayPal是不能转换CNY的。之前,我也debug了好久,后来才意识到,不是程序的问题。如果有CNY交易,则可能需要根据贝宝的API来修改PrestaShop的PayPal。 Link to comment Share on other sites More sharing options...
mint^^ Posted April 21, 2011 Author Share Posted April 21, 2011 我想后台显示人民币的数字,如果以美元为默认货币,美元汇率调整的时候,我还要每次改数字值。我链接是美国的paypal不是贝宝我的客服是美国人,用美元支付,每一步都正确,最后提交到paypal的总价格含运费也是42。47美元,但是最后跳转到paypal的页面就是总价283.5美元了我只是货币显示是cny,实际上还是美元交易啊? Link to comment Share on other sites More sharing options...
awsg Posted May 21, 2011 Share Posted May 21, 2011 我是进来学习的。 Link to comment Share on other sites More sharing options...
awsg Posted June 5, 2011 Share Posted June 5, 2011 英文看起来累。还好有中文论坛 Link to comment Share on other sites More sharing options...
fokent Posted July 9, 2011 Share Posted July 9, 2011 学习了。谢谢 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now