Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #744141

    Hello,

    I’m using WP Simple Pay Pro and I want the stripe checkout to execute on an external button (found here)

    I have already done this but now I’m having trouble with the jquery script. I’m not 100% sure where to put it to get it to work properly.

    Also if I give my button the custom class “gpmonthly” then will this be the correct script?

    jQuery(‘#gpmonthly’).click(function(e) {
    e.preventDefault();
    jQuery(‘#sc_checkout_form_1’).find(‘.sc-payment-btn’).click();
    });

    Thanks in advance

    • This topic was modified 7 years, 9 months ago by rauschworks.
    #744250

    Hey rauschworks,

    I think you double posted, I replied to your other thread here: https://kriesi.at/support/topic/adding-jquery-to-a-button/. Let stick to the first thread. I’ll close this one for now.

    Best regards,
    Rikard

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Adding jQuery to a button (Stripe)’ is closed to new replies.