• Resolved traceyweb

    (@artisanweb)


    I’ve installed this plugin on 3 websites. One of them is fine but 2 of them don’t show the credit card fields under the “Purchaser Info”.

    If you click the Purchase Tickets button after filling in Purchaser Info it just re-loads the page however, it appears in Stripe as Incomplete.

    Looking at the code, the div id “tec-tc-gateway-stripe-payment-element” is empty, whereas on the website that works it has the input fields.

    Both Events Calendar and Ticket plugins are using the latest version. WordPress latest version. All sites using Astra theme, latest version.

    I tried changing PHP to 8 (it was on 7.4 before).

    Any ideas on what the issue is?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Darian

    (@d0153)

    Hi @artisanweb

    I’m sorry to hear that you’re having this issue. Let me help you with this one.

    Just to confirm, were you able to successfully setup Stripe payment? Specifically, on the Webhooks section from Tickets > Payments > Stripe. If not, please try the following workaround and see if that resolves the issue.

    1. Add the following code snippet to the wp-config.php file as a workaround:
      define( ‘TEC_TC_STRIPE_SIGNING_SECRET’, ‘paste the signing secret starting with whsec_ here’ );
      Replace paste the signing secret starting with whsec_ here with your Stripe secret key.

      It may still show in the UI as not saved, but it will work from the back end with the code snippet.
       
    2. Another option, a few other users have reported success with, is switching to the Twenty Twenty-Three (2023) theme, saving the Stripe webhook key and then switching back to your theme.

    Let me know how it goes.

    Thread Starter traceyweb

    (@artisanweb)

    Hi Darian

    Thanks for your quick reply. I tried both those options but neither worked.

    On the website where it does work I didn’t set up a webhook. It says “Webhooks not validated yet” but it still works.

    I set up the webhook on the site it’s not working on and tried again but it didn’t work. I then added the code to the wp-config but still nothing.

    I’m not sure why it works on one website but not the other when they’re both using the same theme.

    Thread Starter traceyweb

    (@artisanweb)

    Also noticed these javascript errors in the console:

    Uncaught ReferenceError: tribe is not defined
    at tec-ky.js,qver=5.1.15.2.pagespeed.ce.LCkHx_tRx4.js:2:1

    Uncaught ReferenceError: tribe is not defined
    at checkout.min.js,qver=5.7.0.pagespeed.ce.qORiOSodgd.js:11:1

    Plugin Support sdokus

    (@sdokus)

    Hi @artisanweb

    Just to rule it out, can you please confirm that you have done a conflict test? All you need to do is follow these two steps:

    1. Deactivate all other plugins except for The Events Calendar Plugins.
    2. Switching to the Default theme.

    Please read the Testing for Conflicts article before doing anything.?
    To be safe, we’d recommend conducting tests and updates on a Staging Server. Also, we recommend keeping a working backup of your website.

    Thread Starter traceyweb

    (@artisanweb)

    I copied the site to a staging server and before checking plugins I thought I would check to see if the payment fields displayed on the ticket and they did….

    So I checked with hosting support and it turns out it was an issue with CDN/web optimisation. When I disabled that and reloaded the ticket page everything worked as normal.

    Thanks for pointing me in the right direction.

    Hi @artisanweb,

    That’s wonderful! Thank you for following up to let us know.

    I hope you have a wonderful weekend!
    Chad

    Plugin Support Darian

    (@d0153)

    Hi @artisanweb

    Thanks for your confirmation, and I’m glad it is working now.

    I’ll close this thread for now, but please do not hesitate to start a new thread if you have other issues at all. This allows us to track topics/issues efficiently and follow the WordPress Forum Guidelines.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Stripe card fields missing’ is closed to new replies.