Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default SagePay bug: Invalid Basket error: 3021

    version 1.3.8a

    Hey guys this is the second time we've encountered this error. But this time its flagged up an error.

    Invalid Cart 3021

    It would seem that zencart doesn't either like orders over the value of £1000 or there is a limit on the max number of items somone can have in a basket.

    any ideas guys?

    regards

    Andy.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Invalid Basket error: 3021

    You're going to need to give a lot more information.

    You said "But this time its flagged up an error". How? Where did it "flag up an error"? You said "this time" ... which begs the questin: What did it do *last* time?

    You titled your post "Invalid Basket error: 3021" and then later called it "Invalid Cart 3021". Which is it? Is there more text to the error?

    With your sparse post I have no idea what you're referring to, where the message is appearing, when it's occurring, what can be done to trigger it.

    And what led you to the idea of order value problems over £1000 ? or max number of items in a basket?

    What versions of PHP and MySQL are you using?
    And, what addons do you have installed?
    Did the problem occur in relation to a certain payment module? or to the functionality of an addon? If so, which one?

    Seems like there's a LOT more information to be shared than what you've posted.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: Invalid Basket error: 3021

    Error Message was : Invalid Cart error 3021 (no more text)

    It happened when the customer tried to checkout and clicked confirm after typing in their payement details.

    The error appeared at the top of the screen where the validation message comes back if its been declined by bank etc. However the text wasn't in the same size font so i don't think its the payement module.

    We're using Sagepay (and the only cap from these guys is £100,000 so that seemingly isn't the issue.

    Thinking back now, we tried to process the initial order of about £1600 and we checked VSP and there was no indication of the transaction going through. We dropped the order total down to £1500 and it then gave us an error declined by bank.

    Which makes me think that issue is not money related but in fact number of items.

    PHP Version 4.3.9
    MySQL 4.1.22

    Most of our orders are betweeen £10-£200 pounds but twice now we've had orders over £1000, with alot of items these two things being the only constants but as stated above i don't think its the cost i believe it to be the number of items.

    What we've had to do is break the orders down into several orders and this seems to work.

    The previous order didnt come back with an error message it would just allow us to confirm payement details and then refresh the same page.

    There are no other modules that should be affecting these purchases.

    Andy.

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Invalid Basket error: 3021

    From the error msg. you have described, it sounds like the problem is probably with Sagepay. You should contact them as it seems they have some limitations which you should find out about.

  5. #5
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: Invalid Basket error: 3021

    Hello Rob,

    yes i did contact sagepay when the first incident of this occured, and they told us we have a limit of £100,000 which places these orders well within our limit. I do still feel its a limitation on the amount of products a single person can order, It may possible have somthing to do with the number of records a single order can hold within MySQL ill have a look at the database structure in a bit and update.

    Andy.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Invalid Basket error: 3021

    Which Sagepay module are you using?

    You haven't given any details about how many items are in the cart/basket when this sort of problem is manifesting. I don't see how the cart/basket could be the problem unless there's something broken by an addon.

    I'm leaning towards a problem with sagepay
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Invalid Basket error: 3021

    You should not only ask Sagepay if they have a limit on the number of Products per Order but also if the same Person / Credit Cart can be used more than once within a 24 hr. period.

    Also ask if this is their error msg: Invalid Cart error 3021

 

 

Similar Threads

  1. Replies: 3
    Last Post: 3 Jan 2014, 05:22 AM
  2. Sagepay Addon error: BillingState field is required.
    By hairx in forum Addon Payment Modules
    Replies: 2
    Last Post: 22 Sep 2010, 05:09 PM
  3. SagePay Form addon not Displaying payment error messages
    By damiantaylor in forum Addon Payment Modules
    Replies: 1
    Last Post: 22 May 2010, 04:55 PM
  4. Replies: 2
    Last Post: 19 Nov 2009, 07:48 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR