HomeHome Product Discus... Product Discus...SmithCartSmithCartOrders approved in Gateway not saving in SmithCartOrders approved in Gateway not saving in SmithCart
Previous
 
Next
New Post
4/8/2013 3:14 PM
 
Hi,

I thought this problem would maybe fix itself after the templates were fixed but ever since a recent upgrade to the latest version (5.45) on DNN7 orders are getting approved in the gateway, but failing to record in the cart as a transaction. Just the shipping value is getting recorded.

It even appears SmithCart is not saving the user data to the DNN account profile when the user account is created during checkout (via the checkout pages, not the DNN register module). For example, a user account created in DNN does not have any address information in it, just name and email. But you have to have that info in order to create an account via DNN. I wonder if this is causing the problem,

The State field on Shipping Info is empty (it says --Select State--), and the billing and product info is completely missing. But the gateway (First Data Linkpoint) shows an approved transaction. Here is an image... http://www.flight1tech.com/images/emp... you can note how the shipping is the only thing added.

Our cart is not able to work now and I am getting pretty desperate. Are there any places to look for error logs? Any other suggestions?

There is no way to edit that order also, and add a product to it. We need to do this so the customer can get a receipt, etc.

Note: Image uploading still does not work here because it never shows in the image manager... you have no idea where the file is located.

Thanks,

Steve

 
New Post
4/9/2013 9:07 AM
 
Here is the error from the Error Logs:

Cart Error: at System.String.Remove(Int32 startIndex) at Smith.DNN.Modules.BuyNow.Confirm.AddOrderDetails(StoreOrdersInfo objOrder, String giftCardType) at Smith.DNN.Modules.BuyNow.Confirm.AddStoreOrder(Int32 PayHistID, String orderStatus) at Smith.DNN.Modules.BuyNow.Confirm.a(PaymentStatus A_0, Boolean A_1) at Smith.DNN.Modules.BuyNow.Confirm.Submit() at Smith.DNN.Modules.BuyNow.Confirm.btnSubmit_Click(Object sender, EventArgs e)

So for some reason Smith Cart cannot add the proper order information. Not sure if this occurs before or after the credit card details go to gateway.
 
New Post
4/9/2013 9:17 AM
 
Note the 2nd line:

Smith.DNN.Modules.BuyNow.Confirm.AddOrderDetails(StoreOrdersInfo objOrder, String giftCardType)

We have "Product Serial Numbers - Assign from List" selected... but some products do not have serial numbers, and some do. Some are boxed, and some are download.

Maybe you are trying to add a serial number to something that does not have one? Just guessing... but our cart is dead in the water now and we are getting orders without order data. This is pretty urgent.
 
New Post
4/9/2013 11:36 PM
 
Hi Steve,

Please send the following with a link to this post to helpdesk@smith-consulting.com and a Help Desk ticket will be created for you so we can look a little closer into this issue:
  1. Screenshots of your Cart Settings
  2. Screenshots of your Payment Setup screens
  3. Gateway test credentials
  4. Product Setup screen

If you need immediate assistance please refer to the Support options on the Premium Support page - Click here

Let me know if you have any questions.
 
New Post
4/18/2013 6:05 AM
 
Hey Kevin... I sent a ticket about a week ago and did not hear back if anything was done on this bug. I believe the issue is that SmithCart is not allowing both boxed products and serial number downloads (mixed use cart) at the same time. All products need to be one or the other. I did get an autogenerated mail back, but a status would be good. I have turned off serial numbers for now and will manually send them to customers. Maybe this is fixed in the upcoming release? Here is the mail I sent last week if it is helpful:

Please refer to this thread:

http://www.smith-consulting.com/Forums/forumid/1/threadid/15255/scope/posts.aspx

Also attached is a zip of many screens in the settings.

This error occured at one of either 2 times: When I updated the cart because users were not getting product serial numbers, or when I went to DNN and changed the STATE/REGION option to a text field. I set it back to a dropdown box. DNN and Smith Cart do not seem to handle international countries. That is a DNN problem I guess because they do not ship with region/state lists other than USA/Canada.

But if you look at the above thread, I located the error: Note the bold...

Cart Error: at System.String.Remove(Int32 startIndex) at Smith.DNN.Modules.BuyNow.Confirm.AddOrderDetails(StoreOrdersInfo objOrder, String giftCardType) at Smith.DNN.Modules.BuyNow.Confirm.AddStoreOrder(Int32 PayHistID, String orderStatus) at Smith.DNN.Modules.BuyNow.Confirm.a(PaymentStatus A_0, Boolean A_1) at Smith.DNN.Modules.BuyNow.Confirm.Submit() at Smith.DNN.Modules.BuyNow.Confirm.btnSubmit_Click(Object sender, EventArgs e)

The only thing I can think of is that the cart has issues with the Product Serial Numbers - Assign from List setting, because our cart is half and half. Some items do not have product serial numbers as they are boxed items! When I recently ticked this the serial was getting added, but how are you all handling things when there are no serial numbers for a product? Thus the error may happen.

Anyway you can check this out would be great. I do not know what you want in terms of Product Setup Screens or Gateway test credentials as to test the cart I have to change over to a special account, change PEM's, etc. Maybe this is enough info. Again, check the code in your module where the above bold blue text is.

I then sent this reply after further testing:

I think the issue is definitely related to the "Product Serial Numbers - Assign from List" option in the product settings screen.
 
1. Our cart is mixed use. Some boxed products exist. Some have serial numbers.
2. The error appears to occur on products which DO NOT have serial numbers... i.e. boxed products.
3. I removed the "Product Serial Numbers - Assign from List" setting, and the error appeared to have stopped. I will manually send the customer a serial code for now.
 
So I expect you run code when the "Gift Certificates & Serial Numbers/Product Serial Numbers - Assign from List" setting is active (see the error info I posted), but when no serial is found for that product, the error occurs.
 
I think this error started when you all fixed the issue with serials not getting added to receipts or emails.
 
I would think it is easy to fix. If the SELECT TOP X query from retrieving the serial numbers fails, then stop all processing that occurs of the "Product Serial Numbers - Assign from List" option.
 
Or, make the option to assign a serial at the PRODUCT level, thus avoiding the query altogether.
 
The above is my best guess into this!
 
Thanks,
 
Steve


 
New Post
4/18/2013 9:38 PM
 
Hi Steve,

We are currently working on replicating this issue in a test environment and I will postbact to this thread as soon as I can provide an update or feedback.

Thanks!
 
New Post
4/24/2013 6:41 PM
 
Hi Steve,

I was able to replicate this issue and it is related to using a Cart with Products with and without Serial Numbers. I logged this to our Bug Tracker system with Bug ID: 222 and I will reply as soon as an update is available.

If you would like to have this item prioritized into programming right away please submit a quote request at the following link. It is not required that you sponsor this change, just if you would immediate attention to the issue you reported: https://www.smith-consulting.com/services/requestaquote.aspx

Please let me know if you have any questions.

Thanks!
 
New Post
4/25/2013 8:15 AM
 
Hi Kevin,

Glad it was not just me on this :-)

I do hope you can get it fixed soon even if it is just a hotfix. This is important across the board as a non-serial number product in anyone's cart will get this error if they have some serial-numbered products also in their cart.

For the time being, since we are a more specialized store, I can manually send out serial numbers to the customers. But if it gets to be urgent, I will use your quote link above.

Thanks,

Steve
 
New Post
5/24/2013 9:32 AM
 
Hi Kevin,

I just installed the latest version, 5.52 and the error is still there. I did a test purchase on a product without a serial number and from the customer perspective this error occurred in red on the confirmation page:

Error processing payment. Please try again. StartIndex cannot be less than zero. Parameter name: startIndex


I thought you may fix this because it is a major bug. Anyone that adds a serial number to a product will get this error. So if they have 100 non serial number products, and have 1 with a serial number, the cart will crash AFTER payment has been successfully made.

I will submit a request for a price to fix this bug, but I am disappointed you all did not fix it yet. I thought this would be a top priority item.
 
New Post
5/28/2013 11:39 AM
 
I did create a temporary workaround with a custom stored procedure right after checkout. Not ideal, but our cart appears to work. I simply modify the product title field stored to include the serial number, and send an extra email to the customer with the serial.
 
New Post
10/1/2013 4:54 PM
 
Hi Steve,

Just following up with you on this post to confirm that the Serial Number issue has been resolved in the latest release of the Cart.

Thanks for reporting the issue!
 
New Post
2/22/2014 3:39 PM
 
Hello,
Did you solve the image upload issue where files are not visible in the image manager. I am having this issue with SC 5.68 and DNN 7.2.0

cheers
Rod
 
New Post
2/24/2014 3:17 PM
 
Please see the following link for help on uploading an image to the forum: http://www.smith-consulting.com/Forum...

You can also submit a Help Desk ticket at the following link: http://www.smith-consulting.com/Suppo...

Thanks!
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartOrders approved in Gateway not saving in SmithCartOrders approved in Gateway not saving in SmithCart