SSL and WooTickets

Home Forums Ticket Products Event Tickets Plus SSL and WooTickets

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #209326
    Pragmatic
    Participant

    Just an observation really.

    When using WooTickets with an SSL-enabled /cart/ page, you’ll find that the tickets aren’t added to cart.

    The event page(s) need to run on SSL too, otherwise the redirect to SSL loses the ticket reference (not exact technical term) and nothing adds to cart.

    Hope that saves someone a little time.

    #209335
    Pragmatic
    Participant

    FYI only

    #210223
    Barry
    Member

    Hi – that could definitely be the case – but can you confirm how you are enforcing SSL on the cart page – is this via a customization of your own? I wasn’t aware of WooCommerce having a setting to enforce SSL on the cart page itself (but if we’ve missed something here we’d love to take a look at how we might address it).

    Thanks!

    #214840
    Pragmatic
    Participant

    Hi Barry.

    We’re forcing SSL using WP Engine (server side forcing). I’m sure we’re an edge case but thought it’d be useful for someone to know.

    Cheers!

    #215451
    Barry
    Member

    Definitely, thanks for sharing.

    I think the problem with that strategy though is perhaps that it is executed at a level whereby even WooCommerce is unaware of it. What I mean by that is, for the ticket form we obtain the action URL from WooCommerce itself (which, ultimately, uses WordPress’s get_permalink() function). If it “knew” that the cart page was served via HTTPS then it would provide us with an HTTPS URL … of course what we see here is that it doesn’t do so.

    Probably then the best way forward is to augment this tweak by filtering on post_link (and forcing the URL to HTTPS if it relates to the cart page).

    As it sounds like you only wanted to keep us in the loop I’ll go ahead and close this thread – but thanks again for sharing, it could definitely be useful information for others in the same situation 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘SSL and WooTickets’ is closed to new replies.