• Resolved zhangsai0614

    (@zhangsai0614)


    How can I use paypal standard in the new version? I have looked for some help, suggesting that I can add these codes to the website, but I don’t know where to operate

    add_filter( ‘woocommerce_should_load_paypal_standard’, ‘__return_true’ );

Viewing 8 replies - 1 through 8 (of 8 total)
  • I’d add this line to the end of the functions.php file in your themes folder.

    If you don’t have ftp access to get to the folder, under the appearance tab, there should be a link to EDIT. Click that to edit your theme. It will give you a warning, but look for “functions.php” and add that to the very end and click save.

    • (im just a developer – not associated with woocommerce, and going based on how I add these type of functions my wordpress sites.)
    • This reply was modified 3 years, 7 months ago by wallydavid.
    Plugin Support abwaita a11n

    (@abwaita)

    Hi @zhangsai0614,

    Yes, you seem to have the right code:
    add_filter( 'woocommerce_should_load_paypal_standard', '__return_true' );

    A good way to add the code is through the Code Snippets plugin.

    *Thanks a lot @wallydavid for your inputs.

    Hope this helps.

    Plugin Support abwaita a11n

    (@abwaita)

    Hi,
    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to add the code to your site.

    If you have further questions, please feel free to open a new topic.

    Thanks.

    I have the same problem,
    I just instal the “code snippets” but I have not idea were to put this row!

    add_filter( ‘woocommerce_should_load_paypal_standard’, ‘__return_true’ );

    Marianna

    solved!

    Mirko P.

    (@rainfallnixfig)

    Hi @ellounta,

    Glad to know that you managed to fix it yourself. Whenever you have to report an issue or need help on these forums please open your own forum thread, as each user’s issue requires undivided attention and they are not all the same.

    Cheers.

    Hello everyone! Would someone inform me what steps I need to take to activate PayPal Standard. I’ve added the code using the code snippets plugin but I’m not seeing any changes.
    Thank you!

    Hi there,

    Now that the thread is closed, feel free to create a new topic for your question, we will be happy to assist you further.

    Thanks ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Paypal standard cannot be used in the new version’ is closed to new replies.