![]() |
4 Different Coupon Codes not letting customers |
Post Reply ![]() |
Author | ||||||||||||||
njessen42 ![]() Groupie ![]() ![]() Joined: 12-November-2007 Location: Spokane, WA Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 06-February-2012 at 2:04pm |
|||||||||||||
We use many different coupon codes for different sales we have going on. Recently we have found out that using more than 3 codes will not let customers submit their order. We always have the codes flagged to automatically apply and for use with more than one code. Is this a known issue? Also none of our items are included in more than one code, so no duplication. Nate Jessen ProductCart v4.1 SP 2
|
||||||||||||||
![]() |
||||||||||||||
Guests ![]() Guest ![]() |
![]() ![]() ![]() ![]() ![]() |
|||||||||||||
Hi Nate,
I just tested this on one of our sandbox PC 4.1 SP 2 locations, and had 4 various kinds of auto applied, can be used with others discounts, and it worked fine (used offline credit card payment method). It might not be the number of them, but possibly the length of them all strung together? Are the discount codes long?
|
||||||||||||||
![]() |
||||||||||||||
njessen42 ![]() Groupie ![]() ![]() Joined: 12-November-2007 Location: Spokane, WA Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
|||||||||||||
Sean thanks for testing this out. We did have pretty long coupon codes, so I shortened them to 5 characters each and it still didn't work. Gave me the error below. It works fine with only 3 different discount codes but 4 seems to be the magical number to error. It doesn't log the error in the Product Cart admin panel either. I even tried two different shipping methods and payment methods.
Technical Information: The error has been logged in the store database. The reference ID for this error is: 238528419-91316. To report the problem to our technical support team, please write this # down or copy and paste it. |
||||||||||||||
![]() |
||||||||||||||
Guests ![]() Guest ![]() |
![]() ![]() ![]() ![]() ![]() |
|||||||||||||
Hi Nate,
This is curious. Those error logs are almost never helpful anyways. Try this: Open /includes/opendb.asp At the top, put an apostrophe before the first line so that it reads like this: 'on error resume next Save that and try it again. Depending on how the server is configured, we should hopefully get a more meaningful description of the error. If so, please provide that. And don't forget to reverse the change above so the site will handle errors again.
Edited by Sean@WMS - 08-February-2012 at 1:53pm |
||||||||||||||
![]() |
||||||||||||||
njessen42 ![]() Groupie ![]() ![]() Joined: 12-November-2007 Location: Spokane, WA Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
|||||||||||||
Thanks will try that. We are getting the same error in our test shopping cart but I did come across a ton of these errors in the help log. This is what happens when we submit an order with more than 4 discounts that automatically apply and can be used with other discounts.
Edited by njessen42 - 08-February-2012 at 2:13pm |
||||||||||||||
![]() |
||||||||||||||
njessen42 ![]() Groupie ![]() ![]() Joined: 12-November-2007 Location: Spokane, WA Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
|||||||||||||
I think we might of figured it out. The dbo.orders.discountDetails field is only nvarchar(200). It looks like it takes the name, code and price for each code and summarizes it here for the order. I think our name and code is just to long. We are testing it out now.
|
||||||||||||||
![]() |
||||||||||||||
Guests ![]() Guest ![]() |
![]() ![]() ![]() ![]() ![]() |
|||||||||||||
Yeah, that was my hunch -- that the issue is not the number of discounts, but the length of the data. I'm sure you're on the right track there.
|
||||||||||||||
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |