Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @saffirfp

    I hope you’re well today!

    This button only shows (automatically) for eligible clients but I also found a typo in the original code shared in that other thread, which causes it to be not executed at all.

    Please try this version instead:

    <?php
    add_action('wp_footer', 'load_paypal_custom_script');
    function load_paypal_custom_script(){
    ?>
      <script src="https://www.paypal.com/sdk/js?client-id=YOUR_CLIENT_ID&disable-funding=credit,card"></script>
    <?php
    };

    Also make sure to replace YOUR_CLIENT_ID with your real CLIENT ID (as used in Payment settings in the plugin; make sure to use correct – live or sandobx one – depending on how your PayPal button is set currently)

    Kind regards,
    Adam

    Thread Starter saffirfp

    (@saffirfp)

    Hi,

    Thank you for the response. I used the new version of the code and used my live client ID. However, the pay later button still showing.

    Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hello @saffirfp,

    I just checked your site and I see that the pay later button is no more visible. Here is the screenshot for the same: https://monosnap.com/file/tBPsfIV2NgEfy6aBvjVoQUZW8nlNqe

    Is there something else that you are stating? Do you see it somewhere else? Could you help us with the screenshot for the same?

    Looking forward to hearing from you on it.

    Thank you,
    Prathamesh Palve

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @saffirfp ,

    We haven’t heard from you for almost 3 weeks now – looks like you were able to solve this.

    If not, please feel free to re-open this ticket.

    kind regards,
    Kasia

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Remove pay later option in forminator’ is closed to new replies.