# PayPal

*Article Topics:* [*Billers*](/getting-started/common-topics/billers.md)

## Set up on PayPal's Website

Signup with PayPal and verify your e-mail address. To setup your purchase options, click on the Profile tab under My Account. The first thing you will need to setup is the "Instant Payment Notification Preferences". To find Instant Payment Notification Preferences My Account -> Profile -> My Selling Tools ->Getting paid and managing my risk (the section on the page). Turn the notifications on by checking "Receive IPN messages (Enabled)" and set the URL to be (replace linkdomain with your NATS linkdomain):

https\://\<LINKDOMAIN>/signup/process\_paypal.php

Next setup the "Website Payment Preferences" Set Auto Return to On and the Return URL:

https\://\<LINKDOMAIN>/signup/returnurl\_paypal.php

Set the Payment Data Transfer to On and copy out the Identity Token created for you.

Finally "Create PayPal payment button" Add all of the options you wish to make available for purchase and copy down the hosted\_button\_id for each button.

NOTE: Free trials are currently not 100% supported by NATS, because Paypal does not return PDT information for free trials. Paypal does not return the information required to identify a member when performing a free trial. If you still want to offer the free trial, please alter the cascade\_security template for your sites, keeping in mind that the person shown that template may or may not have been signed up to your site. If you would like free trials to work the same as normal sales for cascading, please ask Paypal to return Payment Data Transfer in the return url for free trials.

## Set up PayPal in NATS

### Billers Admin

To begin setting up PayPal as a biller in NATS, go to the [Billers Admin](/nats-admin/billers.md). Scroll down to the "Biller" drop-down menu, select "PayPal Standard", and click "Add."

{% hint style="warning" %}
**Please Note:** If you don't see PayPal as a biller in NATS, [put in a support ticket](https://clients.toomuchmedia.com/), as you may need an updated version of NATS.
{% endhint %}

When prompted, fill in the PayPal E-mail Address and PayPal Identity Token that you set up with PayPal under the "Account Info" section. If you wish to test PayPal with the sandbox, you can check the box to put PayPal in testing. If you were not provided with this information, please contact your biller to receive it.

### Sites Admin

Next, go to the [Sites Admin](/nats-admin/sites.md), create or edit a tour, and scroll down to the section labeled "Join Options for this Tour." Click the "Edit Option Details for this tour" icon that corresponds to the join option you wish to use. In the "Biller Codes" section on the next page, locate the "PAYPAL Hosted Button ID" field and enter your Hosted Button ID.

Once you have completed these steps, save your join option details. PayPal will now be configured for basic use as a biller in NATS. Please run a real transaction through PayPal before you make it live in your cascade.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.toomuchmedia.com/getting-started/integrations/supported-billers/paypal.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
