> For the complete documentation index, see [llms.txt](https://docs.phptravels.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.phptravels.com/payments/paypal.md).

# PayPal

{% hint style="info" %}
To setup paypal payment gateway you must have valid developer or live account in this guide we will setup paypal developer account
{% endhint %}

Visit the link [https://developer.paypal.com/](https://developer.paypal.com/home)\
and click on the login to dashboard from top right blue button&#x20;

<div align="left"><figure><img src="/files/hHcd2VOYgi2yT7Nh87Gq" alt="" width="563"><figcaption></figcaption></figure></div>

On login page add your login details and if you don't have one please create new account.&#x20;

<div align="left"><figure><img src="/files/hWT8sG1Az2k9LmJUZnCM" alt="" width="563"><figcaption><p> </p></figcaption></figure></div>

Click on the **Apps & Credentials** from your dashboard

<div align="left"><figure><img src="/files/Zj693stUvAA6EyomYwdk" alt="" width="563"><figcaption></figcaption></figure></div>

Click on the button **Create App** if you not have created any app before&#x20;

<div align="left"><figure><img src="/files/hjRkjN0BWWVOXXeYQFlu" alt="" width="563"><figcaption></figcaption></figure></div>

Name your new app and make sure to select as a **Merchant** from the selection option&#x20;

<div align="left"><figure><img src="/files/phDsluOLRYkKWqcKScyG" alt="" width="563"><figcaption></figcaption></figure></div>

Copy your Client ID then login to your website as admin and navigate to paypal settings&#x20;

<div align="left"><figure><img src="/files/djVvCSa1XXVorputRSAl" alt="" width="563"><figcaption></figcaption></figure></div>

Add your **Client ID** into the **Credential 1** input and make sure the status of gateway is active and also change the Dev Mode to **Development** instead **Production**&#x20;

<div align="left"><figure><img src="/files/cs5CQftVN63FmXrck4rj" alt="" width="563"><figcaption></figcaption></figure></div>

Now go back to your paypal account and scroll down on the **Apps and Credentials** page to get email account for payment and testing.&#x20;

<div align="left"><figure><img src="/files/lvKAs4yNWwSIpXw5bNM4" alt="" width="563"><figcaption></figcaption></figure></div>

Use this email and your password while you make the payment after bookings on your website. to double check and test the integration is working fine. \
\
Once the test has been passed please turn your developer account to live and also under the admin paypal settings change the dev move to production. and that's it

If you feel or found any issues please feel free to contact our support and we will be happy to assist you further.&#x20;
