caching Posted March 12, 2010 Share Posted March 12, 2010 支付失败的订单,能否再次支付?如果可以,改怎么操作? Link to comment Share on other sites More sharing options...
coral Posted March 15, 2010 Share Posted March 15, 2010 我也想知道…… Link to comment Share on other sites More sharing options...
321.. Posted December 30, 2010 Share Posted December 30, 2010 这个这么简单的功能 为什么官方会没有 奇怪 Link to comment Share on other sites More sharing options...
321.. Posted January 18, 2011 Share Posted January 18, 2011 ..是我们系统没有重新付款的功能... 正常的商城应该说支付失败后可以重新支付的 或者选择别的支付方式 我们这套系统一个订单只能支付一次 失败了也不能重新支付....除非下个新的订单 Link to comment Share on other sites More sharing options...
awsg Posted July 14, 2011 Share Posted July 14, 2011 好像不行吧。 Link to comment Share on other sites More sharing options...
acliusoo Posted August 1, 2011 Share Posted August 1, 2011 有时候你认为支付不成功,实际是成功的,不要急于第二次支付,等一天再确认也不迟。 Link to comment Share on other sites More sharing options...
fokent Posted August 15, 2011 Share Posted August 15, 2011 期待官方开发。人性化的功能。 Link to comment Share on other sites More sharing options...
ying520 Posted October 21, 2011 Share Posted October 21, 2011 这个功能实现,其实很简单,没有必要修改系统的核心代码,只需要在你的支付接口做一些更改则可。 第一次支付,按正常流程走,将支付所需要的值写下cookie,或者根本不用写,之所写入cookie是为了减少数据库操作. 通常需要改写支付文件里面的.payment.php把 if(empty($cart->id)) 。。。这个东西去掉,换成前面的cookie值 Link to comment Share on other sites More sharing options...
airmax360fr Posted April 6, 2012 Share Posted April 6, 2012 这个功能实现,其实很简单,没有必要修改系统的核心代码,只需要在你的支付接口做一些更改则可。 第一次支付,按正常流程走,将支付所需要的值写下cookie,或者根本不用写,之所写入cookie是为了减少数据库操作. 通常需要改写支付文件里面的.payment.php把 if(empty($cart->id)) 。。。这个东西去掉,换成前面的cookie值 这是payment.php里面的内容:if (!$cookie->isLogged()) Tools::redirect('authentication.php?back=order.php'); if(empty($cart->id)) Tools::redirect('history.php'); session_start(); $_SESSION['sht_cart']=serialize($cart); 改什么修改呢,楼主能说清楚一点,或者把修改后的张贴在这里。非常感谢! 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