> For the complete documentation index, see [llms.txt](https://docs.helpyousponsor.com/guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.helpyousponsor.com/guides/getting-started/quick-start-guide/payment-gateways/paypal-setup.md).

# PayPal Setup

To integrate PayPal into HYS, we’ll require you to provide your Client ID, Secret and Webhook ID.

### Getting Client ID and Secret

The PayPal Client ID and Secret can be got from your PayPal developer platform. This will require that you first create a new App in PayPal incase you do not have one. Click "**Create App**" and follow the procedures.\
\
We have shared this resource from PayPal to help with creating of the app [https://developer.paypal.com/video/watch/?videoId=QTDEeB6xzCg](https://www.google.com/url?q=https://developer.paypal.com/video/watch/?videoId%3DQTDEeB6xzCg\&sa=D\&source=editors\&ust=1743077305190514\&usg=AOvVaw1802klgHyCDlivkoT_EKYg)

<figure><img src="/files/vzlh0LponXJVRQuRD24e" alt=""><figcaption></figcaption></figure>

Once you have got the Client ID and secret, the next step is to create a Webhook so as to obtain a Webhook ID.

### Getting Webhook ID

After creating the app, you have to choose the one that you want to connect to HelpYouSponsor.\
Select the app that you want to use. You’ll be taken to that app page, scroll down to where you’ll find live Webhooks.

<figure><img src="/files/SKaTuyf884KZf2MTPnUP" alt=""><figcaption></figcaption></figure>

Click the "**Add Webhook**" button. You will be presented with a form to place the "**Webhook URL**". Below is the URL to place there.

{% embed url="<https://api.helpyousponsor.com/v1/paypal/webhook>" %}

You can also get the Webhook URL from the PayPal payment integration in HelpYouSponsor.

<figure><img src="/files/cIq8rkabHdjYiEBzCI33" alt=""><figcaption></figcaption></figure>

After adding the webhook URL, go to the "**events type**" choose "**Payment Sale Completed**" under "**Payments & Payouts**" and then save.

Once saved, the page will appear as shown below showing the Webhook ID.

<figure><img src="/files/oUACRdCXyai0N76hRKKP" alt=""><figcaption></figcaption></figure>

Then head over to HelpYouSponsor and click "**Payment Gateways**" under "**Settings**" on the main menu and then click the "**Other Payment Gateways**" tab.\
\
Click "**View Integration**" for PayPal and add the Client ID, Secret and Webhook ID.

<figure><img src="/files/8XiyOOECNC8hT4yT4lw8" alt=""><figcaption></figcaption></figure>
