tsaf11 Posted December 11, 2012 Share Posted December 11, 2012 I have successfuly installed the Stripe free module. It works perfectly in Live and Test mode. Once a payment is successfuly processed it takes the customer back to the homepage. I would like to redirect customers to the order page (website.com/history.php) instead of the homepage. Where and how should I edit the script? Thank you, tsaf11 Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 12, 2012 Share Posted December 12, 2012 I'm using Prestashop Version 1.5.2.0 and in my version it goes to the Accounts page after placing the order. Which PS version do you use? Also, have you got the save Credit Card information to work? For example if you click the option to save CC info, when you place the next order does it give you the option to use Card Number ###? Link to comment Share on other sites More sharing options...
tsaf11 Posted December 12, 2012 Author Share Posted December 12, 2012 I'm running on Prestashop v1.4.7.0. I have enabled the CC saved option and it works like a charm. My only problem is that clients create duplicate orders and payments thinking the first Stripe transaction did not go thru. If I could redirect the successful payment to the order page they would notice the initial order. Hence no need to refund those duplicate payments. Thanks for your interest. Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 12, 2012 Share Posted December 12, 2012 I don't have a working copy of v1.4.7.0 sorry. Hopefully someone more experienced than myself will post. It does sound like something may be up in your prestashop\controllers\ AuthController.php, look for lines like, if ($back = Tools::getValue('back')) Tools::redirect($back); Tools::redirect('my-account.php'); couple hundred lines down if I remember correctly. The key line you need to have is Tools::redirect('my-account.php'); Link to comment Share on other sites More sharing options...
ajensen27 Posted December 12, 2012 Share Posted December 12, 2012 I'm still testing this module but how do I get it to return to a confirmation page after the order is submitted? Whether the payment was accepted or not? Right now it goes to the order history page and this happens even if the payment was declined (bad card # or ccv). I tried hooking Stripe into the orderconfirmation hook, paymentconfirmation hook, and paymentreturn hook but all gave me an error saying this module can't be transplanted to this hook. Also, I've noticed that when I'm typing a card # into the card # slot (either a fake one that is supplied or my own) it doesn't recognize the card because none of the card types (visa, mastercard, etc) light up. And if I try to hit submit, I get a page that says "Token required, please check for any Javascript error on the payment page." Any advice on these issues is much appreciated. Thanks! Link to comment Share on other sites More sharing options...
Dee P. Posted December 19, 2012 Share Posted December 19, 2012 I'm having the same problem as tsaf11. After completing the order, customer goes directly to the homepage. The cart which is in the site's header shows that it still has item/items in it. If I click on the cart, whatever was there is gone. I have to check in the account history page to see that the order actually went through. Same for both live and test. Am using Prestashop 1.4.8.2 and Stripe 0.9.2. Have checked the codes on prestashop\controllers\ AuthController.php like Bill Dalton suggested. They are on about line 200 and look just like what he suggested. So ... has anyone found a solution? I can see lots of confused people and duplicate orders otherwise. Also, noticed that I have to go into Stripe to issue refunds and cancel orders. Those changes made in BO don't seem to make it to the Stripe panel. Link to comment Share on other sites More sharing options...
ajensen27 Posted December 19, 2012 Share Posted December 19, 2012 It's funny how Prestashop makes this big deal about partnering with Stripe and they can't even put out a module that works properly. Then to top it off they don't listen to our issues in these forums. Losing my faith in this system. Link to comment Share on other sites More sharing options...
stephencowan Posted January 10, 2013 Share Posted January 10, 2013 I'm having the same issue. I just made a test order and it put me right to my homepage. Kinda weird. Hopefully someone knows how to fix this. I'm running version 1.4.9 Link to comment Share on other sites More sharing options...
Bill Dalton Posted January 10, 2013 Share Posted January 10, 2013 (edited) There will be a new version released soon, might be today. Stripe V 0.9.3. I was beta testing it yesterday with <blatant name drop> Bruno Leveque </blatant name drop > This new version brings: - New languages: ES & PT - Now working with One Page Checkout and Guest Checkout - Improved layout in v1.4 - Improved French translation - Buyers are now redirected to the Order confirmation page after a payment Should be up today or sometime this week. Edited January 10, 2013 by Bill Dalton (see edit history) Link to comment Share on other sites More sharing options...
stephencowan Posted January 10, 2013 Share Posted January 10, 2013 (edited) That's awesome news. I imagine this page will just display 9.3 instead of 9.2 when it's released? http://addons.prestashop.com/en/payments-gateways-prestashop-modules/6611-stripe.html Edited January 10, 2013 by stephencowan (see edit history) Link to comment Share on other sites More sharing options...
Bill Dalton Posted January 10, 2013 Share Posted January 10, 2013 I assume that is how it is done. The modules let us know when there are updates available in BO as well. Link to comment Share on other sites More sharing options...
stephencowan Posted January 11, 2013 Share Posted January 11, 2013 Version 9.4 is now available, I installed it and made a test purchase but now i get a java script error and transactions don't even go through at all. So i changed back to 9.2 until it's fixed. do you know where i can find 9.3 to see if i can get that one to work? Link to comment Share on other sites More sharing options...
Bill Dalton Posted January 11, 2013 Share Posted January 11, 2013 Hmm.. I just tried 9.4 and it works great. I'll PM you the 9.3 just to compare and that way we will know if your problem began with 9.3. Please let me know in this thread. Thank you. Link to comment Share on other sites More sharing options...
Bill Dalton Posted January 11, 2013 Share Posted January 11, 2013 Remember to click uninstall the old module before installing the new. You need to completely uninstall the old copy, then install the new. Link to comment Share on other sites More sharing options...
stephencowan Posted January 11, 2013 Share Posted January 11, 2013 9.3 gives me the same error. Error: Token required, please check for any Javascript error on the payment page. this error comes up after i click submit payment. Also in version 9.3 and 9.4 when i'm entering the credit card number it doesn't light up the type of card being used like it does in version 9.2 Link to comment Share on other sites More sharing options...
Bill Dalton Posted January 11, 2013 Share Posted January 11, 2013 I've tried it on several versions and they all work. I use a custom theme, sometimes that can break things. Do you have a fresh install you can test it on? Link to comment Share on other sites More sharing options...
stephencowan Posted January 11, 2013 Share Posted January 11, 2013 I think i found the problem. I had force compile disabled, I enabled it and my test payment went through. I am going to install version 9.4 and try it again and update my comment on what happens. 1 Link to comment Share on other sites More sharing options...
Bill Dalton Posted January 11, 2013 Share Posted January 11, 2013 Yeah! the cache stuff, gets me every time. Link to comment Share on other sites More sharing options...
stephencowan Posted January 11, 2013 Share Posted January 11, 2013 Yep that resolved it. Disabled Force Compile, installed version 9.4 and enabled force compile. Now it lights up on the card type im entering and after purchase i get the purchase confirmation page and everything goes through flawlessly. Thank you for the help Bill! Link to comment Share on other sites More sharing options...
Bill Dalton Posted January 11, 2013 Share Posted January 11, 2013 Thank Bruno Leveque the CEO of Prestashop. He fixed it. The great thing is you can now just modify the order confirmation page to look as fancy as you like. Just open prestashop\modules\stripejs\order-confirmation.tpl in your favorite HTML editor and make it look like what ever you want. Link to comment Share on other sites More sharing options...
stephencowan Posted January 11, 2013 Share Posted January 11, 2013 Oh taht's really cool. That's good to know, Thanks! Now if Stripe can just shorten processing time for payment deposits and i'll be in business Link to comment Share on other sites More sharing options...
benjamin utterback Posted January 11, 2013 Share Posted January 11, 2013 Hi Stephen, I've got some good news for you, I worked with the team these last two weeks in order to improve the Stripe's Addon based on your feedback and suggestions. Guess what? We just came up with a new awesome version bringing new features and bugfixes! Improvements and changes in Stripe v0.9.4: - Improved the user experience, now redirecting to a customer Order confirmation page after a sucessfull payment (instead of the Orders history page) - Improved interface for users of PrestaShop v1.4.x - Translations: Added two new languages (Spanish and Brazialian Portuguese) - Translations: Improved French translation - Bugfix: The billing address is refreshed in real time in case a new address is added. The Billing Address is now correctly sent to Stripe. - Bugfix: The module is now compatible with One Page Checkout and Guest Checkout - Bugfix: Customer's token save (while checking the "Save my credit card for later use" box) was not working with MySQL STRICT mode. Thank you again for your help and feedback; If you are looking to accept Credit Card Payments fast and easy on your store, Stripe is definitely one of the best options PrestaShop is offering! You can download Stripe v0.9.4 at the following address: http://addons.prestashop.com/fr/modules-paiement-prestashop/6611-stripe.html Regards, 1 Link to comment Share on other sites More sharing options...
fuskoz Posted September 27, 2013 Share Posted September 27, 2013 Hi, Stripe have launched in Ireland and I am keen to use their service. But on the free module, you need to have USD or CAD currency on your PS store. Is there any way to adapt the current PS Stripe module to accept EUR payments??Is there a workaround so that I can somehow enable USD currency on my page and the payments get proccessed from the Checkout in EUR to USD if Stripe is choosen as the payment option. Now I have Stripe installed but it doesn't show in the checkout because I don't have USD currency enabled. However in the module's configuration page there is a tick next to "he currency USD or CAD must be enabled on your store" meaning it is working fine. Thanks in advance Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 27, 2013 Share Posted September 27, 2013 Hi, Stripe have launched in Ireland and I am keen to use their service. But on the free module, you need to have USD or CAD currency on your PS store. Is there any way to adapt the current PS Stripe module to accept EUR payments?? Is there a workaround so that I can somehow enable USD currency on my page and the payments get proccessed from the Checkout in EUR to USD if Stripe is choosen as the payment option. Now I have Stripe installed but it doesn't show in the checkout because I don't have USD currency enabled. However in the module's configuration page there is a tick next to "he currency USD or CAD must be enabled on your store" meaning it is working fine. Thanks in advance Hi! At this time the Stripe module is only working for CAD and USD. Link to comment Share on other sites More sharing options...
adamcarter Posted September 27, 2013 Share Posted September 27, 2013 Benjamin, The Stripe module for the UK was supposed to be created a few weeks ago. What is going on? This is not good enough. Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 27, 2013 Share Posted September 27, 2013 Benjamin, The Stripe module for the UK was supposed to be created a few weeks ago. What is going on? This is not good enough. Hi Adam, I know that we were supposed to already have this released. Unfortunately, the release is still delayed for more testing. We want to make sure that this module works flawlessly without issues. It is not forgotten and we are (really) trying to push the release for next week. This is what I know now, once the module is updated, I be on it ASAP to communicate with the community about the release. Thank you so much for your patience. Link to comment Share on other sites More sharing options...
Recommended Posts