• Resolved fuchsfe

    (@fuchsfe)


    Good Evening,

    Does anybody know if there is a way to set WooCommerce PayPal settings in a PHP file rather than on the admin interace?

    I would like to set the sandbox to false and the receiving account’s email on a php file to make all WooCommerce installations on my multisite use the same PayPal account.

    Any ideas?

    Thanks,
    Felipe

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support slash1andy

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    There’s not a way to have the plugin use info from a PHP file, but you could write some PHP that saves info the the database (adding it to the setting database table), and then run that for each site.

    Hopefully that helps! Have a great one!

    Thread Starter fuchsfe

    (@fuchsfe)

    Thanks!

    Do you know if it is possible to allow a user to set all WooCommerce settings except for the payment gateways? The user would still be able to change the address settings and Facebook, Google Ads, and Mailchimp integrations.

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

The topic ‘Force PayPal Email’ is closed to new replies.