Integration into multiple website of the same account.

pws01
Contributor
Contributor

Hi everyone.

We have a website (domain.com) with a simple setup of Paypal Standard (email and webhooks) with some recurring payments as subscriptions.
Into a second website (sub.domain.com) we need to integrate Paypal Payments via a WordPress plugin for donations (GiveWP).

 

So all using the same PayPal account

Maybe is a silly question but do we will face problems with webhooks within the 2 integrations? example IPN goes to the wrong endpoint or samething like that?

Thank you.

Login to Me Too
1 REPLY 1

MTS_Chiranjeevi
Moderator
Moderator

Good day @pws01,

 

Thank you for posting to the PayPal community.

 

You can have single PayPal account API credentials and receive funds from multiple websites. 

Please use "Dynamically Setting the Notification URL" to define unique payments from your websites. Please pass unique IPN server URLs, so that PayPal system will send the response to the specific IPN server URL.

Detailed guide link -  https://developer.paypal.com/docs/api-basics/notifications/ipn/IPNSetup/?mark=dynamicall#dynamically...

If your processing payment via REST API, please use Webhooks event notifications. Please pass unique Webhook listener URLs. 

Detailed guide link - https://developer.paypal.com/docs/api-basics/notifications/webhooks/

 

For example : If a merchant have 1 PayPal account and 3 different websites managed under same PayPal account. He can get the payment notifications of 3 websites by passing unique notify_url from particular websites API request calls. 

 

Website 1 : IPN Notify_url = https://website1.com

Website 2 : IPN Notify_url = https://website2.com

Website 3 : IPN Notify_url = https://website3.com

 

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.