Dirty Butter Posted October 28, 2016 Share Posted October 28, 2016 We had our first order on 6.1.0 with a coupon code. The customer could not get it to go to the gateway screen. The order proceeded properly by not using the coupon code, and I immediately refunded the appropriate coupon price. My content.checkout.php is identical to the stock 6.1.0. I don't know where else to look to find the cause. This is what happens when I click the Checkout button. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted October 28, 2016 Author Share Posted October 28, 2016 Here's the error message in the log after I click on Checkout the second time and the Notice about the promotional code being removed shows up: [28-Oct-2016 18:57:33 America/Chicago] PHP Warning: Shipping not setup or allow no shipping not enabled in xxx/plushcatalog/classes/cubecart.class.php on line 1853 The cart still shows the discount amount, even after the message about it being removed. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted October 29, 2016 Author Share Posted October 29, 2016 I've tried a promotional code on the CC demo store and I'm getting the same results. Can someone please test buying something with a coupon code in their 6.1.0 store? Quote Link to comment Share on other sites More sharing options...
ayz1 Posted October 29, 2016 Share Posted October 29, 2016 Exactly the same on my 6.1.0 Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted October 29, 2016 Author Share Posted October 29, 2016 OK - it's likely a bug then. https://github.com/cubecart/v6/issues/1321 Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted October 29, 2016 Author Share Posted October 29, 2016 I reverted all the code changes having to do with Coupon Code in 6.1.0 back to 6.0.12, and now Checkout with a Coupon is working correctly again. https://github.com/cubecart/v6/commit/9c122e5f1a55eca5b464d2191ae41a47f438a283 Could someone please test the revert of code on your 6.1.0 store to see if coupons are correctly accepted and checkout continues as it should? Quote Link to comment Share on other sites More sharing options...
ayz1 Posted October 29, 2016 Share Posted October 29, 2016 Yes, all good now. Thanks for that. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted October 31, 2016 Share Posted October 31, 2016 I'll try and get this one sorted today. Quote Link to comment Share on other sites More sharing options...
Eduard J Posted November 3, 2016 Share Posted November 3, 2016 Hi, tested new version 6.1.1 where coupon code should be fixed, but i'm still getting same problem customers cannot checkout using paypal or sagepay, it just reloads make a payment page. doeas anyone has same problem ? tried to revert code as dirty butter suggested to 6.0.12 and still same error. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted November 3, 2016 Author Share Posted November 3, 2016 6.1.1 works for me - Just created a test order using a Coupon. Quote Link to comment Share on other sites More sharing options...
Eduard J Posted November 3, 2016 Share Posted November 3, 2016 yes, i thought the same, it worked for me when i forced make a payment button on mobile and pc, I use livechat where i can monitor traffic and just this moring had arround 10 orders where they've been stucked on make a payment page. than i tried it in incognito page my self (chrome) and could not checkout. so there must be still something causing an issue. have removed coupon and my orders are getting through just fine. PS: were you able to update to 6.1.1 via admin page ? as i tried it on 2 sites i have and when i got to update page in admin 6.1.1 disappeared so I did manual update via FTP. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted November 3, 2016 Author Share Posted November 3, 2016 5 minutes ago, Eduard J said: PS: were you able to update to 6.1.1 via admin page ? as i tried it on 2 sites i have and when i got to update page in admin 6.1.1 disappeared so I did manual update via FTP. My install is so edited that I always merge with BeyondCompare and manually upgrade via ftp. I'll test in other browsers with my admin logged out. Tried it in Chrome with admin logged out. Registered a fake account and it is still working for me. Quote Link to comment Share on other sites More sharing options...
Eduard J Posted November 3, 2016 Share Posted November 3, 2016 15 minutes ago, Dirty Butter said: My install is so edited that I always merge with BeyondCompare and manually upgrade via ftp. I'll test in other browsers with my admin logged out. Tried it in Chrome with admin logged out. Registered a fake account and it is still working for me. strange not sure than what it could be is not just me having trouble to checkout is customers also as a guest not registered customer. PS: i'm always logged out from admin when testing + always in different browsers too to see result. will have to give it a go and play arround. thanks anyway Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted November 3, 2016 Author Share Posted November 3, 2016 The only thing I can think of is that I upgraded to 6.1.1 from the 6.1.0 that had all the Coupon code reverted per this thread. MAYBE there's something I reverted that didn't make it into 6.1.1???? But it seems like lots of folks would be chiming in here with me-too's if that were the case. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted November 3, 2016 Author Share Posted November 3, 2016 @Eduard J See this thread: Quote Link to comment Share on other sites More sharing options...
syron Posted November 4, 2016 Share Posted November 4, 2016 Can someone let me know if this has a fix, sorry for my follow up question but I have gone through these threads and links and check the script and everything seems to be the same but I can get the coupon codes to work. When I make the percentage discount 0%, normally it is 10% discount being applied but when there is a discount the code errors and removes the code or says it has expired. If I use a specific amount for discount or just have free shipping it still errors? It works for my older codes but I can't create new codes as they error. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted November 4, 2016 Author Share Posted November 4, 2016 I have 6.1.1 installed. I just created a new coupon and went through a test order all the way to being transferred to PayPal. It all worked just as it should. Quote Link to comment Share on other sites More sharing options...
syron Posted November 5, 2016 Share Posted November 5, 2016 I thought I had 6.1.1 installed? I did the upgrade again by updating the correct file... It's all good... Sorry I got myself twisted around.. I have to say Cubecart is the best and I have used it for years! Thanks very much Quote Link to comment Share on other sites More sharing options...
stl314 Posted November 19, 2016 Share Posted November 19, 2016 I am having this same error over and over. I am not real sure how to apply fixes from GitHub, I need a little bit of guidance Quote Link to comment Share on other sites More sharing options...
pinkie Posted November 30, 2016 Share Posted November 30, 2016 Same error here need help Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted November 30, 2016 Author Share Posted November 30, 2016 Do the adding and subtracting of lines in these 3 files from GitHub: https://github.com/cubecart/v6/commit/10d4f73cb7177ebad58baeedc56138a6fe76865d When you copy the lines that need to be added, be sure you don't paste the plus signs in your code. I did that the first time I tried to use GitHub. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.