Support » Plugin: WooCommerce PayPal Payments » Filter for paypal email

  • Resolved joncon62

    (@joncon62)


    I currently use PayPal Standard along with a code snippet to change the seller paypal email for different vendors. However I need to move over to PayPal Payments and wondered if you have a similar filter or another way to modify the email address?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Inpsyde Niklas

    (@niklasinpsyde)

    Hi @joncon62,

    PayPal Payments provides a similar filter that allows you to modify the API request.

    But that being said, PayPal Standard and PayPal Payments work quite differently in many ways, and I’m not sure what you want to achieve is possible with the filter.
    PayPal Payments needs more than an email address to connect your account. It requires REST API credentials, and only changing the email address would likely only result in an error. So I suggest giving it a try in a staging environment first.
    PayPal Payments is currently not intended to be used with multiple different (live) accounts in the same WooCommerce installation, so I’m not sure if something like this would be possible without completely changing how the API credentials are set.
    Something like this was requested a while back, but is currently not a priority as far as I can tell.

    Kind regards,
    Niklas

    Thread Starter joncon62

    (@joncon62)

    Thanks for the information Niklas, I’ll look at the filter on localhost to see if I can change accounts. I know there are plugins available that can do this with the latest PayPal API, this one even claims to support your plugin.

    Plugin Support Inpsyde Niklas

    (@niklasinpsyde)

    Hi @joncon62,

    That’s interesting, thanks for sharing the link.
    PayPal Payments is designed in a way that third-party developers can modify or extend even core plugin functionality with a custom module.

    We haven’t performed any tests with this plugin, but on a technical level, it would certainly be possible to extend PayPal Payments with this functionality.
    There is just no functionality built directly into the plugin that would allow you to connect multiple accounts at the same time (beyond one live and one sandbox account).
    Until such a functionality is built into PayPal Payments (not sure if this will ever be the case), a plugin like the one you linked probably would be the best option.

    I double-checked, and doubt the filter will be able to achieve this. The filter only modifies the order creation API request. But the PayPal account credentials are relevant during the page load when the PayPal button script is initialized.
    The PayPal Standard integration only forwarded your buyers to the PayPal website. But PayPal Payments implements PayPal directly on your website. So while the filter can be used for similar purposes, there are major differences in how these integrations behave.

    Kind regards,
    Niklas

    Plugin Support Inpsyde Niklas

    (@niklasinpsyde)

    We have not heard back from you in a while, so I’m marking this thread as resolved.
    Hopefully, the above information helped you out.
    If you have any further questions, please feel free to reopen this topic or create a new one.
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.