Error on checkout – The ticket: in your cart is no longer valid

Home Forums Ticket Products Event Tickets Plus Error on checkout – The ticket: in your cart is no longer valid

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1612714
    Mike Fillinger
    Participant

    I get this error suddenly on my site: “The ticket: Edmonton General Admission, in your cart is no longer available or valid. You need to remove it from your cart in order to continue.” This happens for any ticket I am selling. Plugins are up to date. PHP V7.

    Help

    #1614100
    Mike Fillinger
    Participant

    So it seems to be a date issue. The weird part is that I managed to make the ticket as a new product in Woocommerce without needing to set a selling date time frame. Suddenly now all the tickets for 3 events I hold were coming up as invalid at the cart stage. Is there a way to add tickets as a product via Woocommerce and add the date time frame in the Woocommerce area. I ask this because I do not want the ticket to be displayed at the bottom of my event page as I’m not really using the page as a typical event page as I want to sell for 3 events at once and this just cause confusion. So currently I make a private page just so I can make tickets that show up as products and then I can link to those products on my actual page that I want to sell tickets on. A bit of a weird work around just to make tickets. Hope that makes sense.

    #1614760
    Jennifer
    Keymaster

    Hi Mike,

    Using Event Tickets Plus, tickets can really only be created on a different post type – an event, page, etc. If you created this ticket on a page (not an event) without setting a start/end sale time, the “start sale date” should be set to when the ticket was created, and the “end sale date” should remain empty.

    Just to clarify here, are you creating these tickets on the edit screen of the private page or directly in WooCommerce? Can you give me a little bit more info on this process (such as step-by-step instructions on how you set this up) so that I can do some testing on my end? Please also send me a link to one of the events where this is happening.

    As a side note, one thing that might help you here is to use the [products ids=”1″] shortcode that comes with WooCommerce to display the links to the tickets on whichever events you would like to sell them for.

    Thanks,

    Jennifer

    #1615235
    Mike Fillinger
    Participant

    Hi Jennifer,

    I did manage to fix the issue by making new tickets and setting up sell dates. What I have to do is have a private page where I set the tickets up on – so yes they are created on the private page. Once the tickets are set up I can then go into Woocommerce products and get the link for the product so I can link the ticket product in my public facing page and I also set up an image for the ticket and tags and categories. My client does not want the ticketing area showing up on the bottom of the page which is why I am doing the process that I am doing. If I create the tickets on the “page” the bottom of that page shows the tickets as a way to add to cart but the issue is that my client hosts craft fairs and there are 3 different events with 3 different dates and locations. So the current default setup would have a lump of ticket buying options at the bottom of one page and as it stands customers seem to mess up their email address a lot so having these options would confuse even more. Of course now that I say this my private page is no longer showing the ticket buying bar at the bottom of the page.

    I am finding though that it is hard to edit the ticket on the page post. I click the edit pencil icon. The progress circle pops up and spins and then nothing. It is like I never clicked the edit button. This makes it hard to look at any tickets to see if dates were set or not. This is the reason I just created all new tickets as I could not look at old tickets and leads me back to the question of if there is a way I can edit the date at the Woocommerce product page instead. Ideally I don’t wants dates ever and I can just remove tickets when the time comes. And ideally would be nice to just make the tickets in Woocommerce add product with the same options as generating them on the page.

    This is link to where I sell tickets: http://www.bycurated.com/tickets/

    The black expandable boxes have ticket graphics where I link to the ticket. Edmonton, Calgary, Saskatoon.
    I have never set dates before but suddenly this past week the no longer valid error came up at the check out stage so I was really confused as what happened but I’m guess it was due to the plugin update.

    #1618712
    Jennifer
    Keymaster

    Hi Mike,

    Thanks for clarifying what you’re looking for here!

    It looks like you might have come across the code (from this article) to use the full WooCommerce page instead of using the default ticket form – can you verify this?

    Regarding not being able to edit the tickets, are you seeing any Javascript errors on the page when you try to edit them? You can check this by right-clicking the page, clicking “Inspect”, and going to the console, then trying to recreate the issue (edit the tickets). If you do see any errors, please copy/paste them here.

    There isn’t a way that you can edit the dates on the WooCommerce product page since they are part of our plugin and not WooCommerce. Is the private page that you’re creating the tickets on an event? If not, then you shouldn’t have an “end sale date” by default.

    I just added a ticket to the cart on your site as a test, and all appears to be working now on my end – are you still seeing this error at all with the new tickets that you created?

    #1618745
    Mike Fillinger
    Participant

    I did add that function to my theme (Selling tickets from the WooCommerce products page). I do not recall doing it but it is there so I must have at some point. Guess that added a bit of extra confusion so thank you for bearing with me. I do have it all straightened out now and the date was the issue. The trouble I run into with the site is that I set up the site for the client who does most of the edits now but will from time to time call on me to fix little things. There are quite a few old event tickets in the database that I am afraid to remove/edit but probably should clean house to avoid any future issues.

    Anyway, I’m on track again with the tickets and now realize my “product” setup was a workaround for my particular needs. Instead of making a new page for each event I like to just make new tickets as a product and link to the ticket as if it was a tangible object and sell like typical woocommerce site.

    This topic can be closed. Thank you

    #1618959
    Jennifer
    Keymaster

    Hi Mike,

    Glad to hear things are working again now! I can definitely see how being able to add tickets from the WooCommerce Products section could be helpful – if you have a minute, please do post this as a feature request over in our Feature Ideas Forum! This is what we use to gauge user interest in new features and help guide future development efforts.

    In the meantime, just let us know if you run into any other issues or have questions on anything else!

    #1636457
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Error on checkout – The ticket: in your cart is no longer valid’ is closed to new replies.