DEV Community

Hong Phat Ly
Hong Phat Ly

Posted on

How to integrate PayPal into your website using FreshLimePay in Just a Few minutes?

Are you stuck for hours trying to integrate PayPal? Don’t let complex setup and endless troubleshooting turn into a nightmare. FreshLimePay helps you solve PayPal integration pain in just minutes.

To integrate PayPal into your website or SaaS with FreshLimePay Cloud, first make sure you have a PayPal Business account. Then, simply follow the step-by-step guide to complete the integration quickly and smoothly—without spending long hours stuck on technical issues.

  1. Go to PayPal sign in (https://www.paypal.com/signin) to sign in with your PayPal business account.

  1. Go to PayPal Developer Dashboard here: https://developer.paypal.com/dashboard/

  1. Click on "Apps & Credentials"

  1. Click on "Create App"

  1. A popup shown like this:

  1. Simply enter "Test":

  1. A new Test App in Paypal will be created and you will see client key and secret key like this:

Those two keys will be imported into FreshLimepay to configure PayPal.

  1. Now go to FreshLimePay Cloud: https://cloud.freshlimepay.com/

  1. Click on Start Free button:

  1. You will see the web page which ask you sign in with your Google user account

  1. Here I use my Google user account to login as well as register.

  1. After sign in, you will redirect back to the home page

  1. Click on Dashboard button to go to Dashboard

  1. At the first time, FreshLimePay will redirect you to Setup Onboarding

  1. Scroll a bit to the bottom, you will see button "Connect Payment Provider" and click on it:

  1. You will see Update Settings page like this:

  1. Go back to the Test App in PayPal to copy both Client Id and Secret Key and paste them into Update Settings page

  1. Click on "Update" button to configure PayPal and you will see like this

No worries! FreshLimePay uses industry-standard AES-256-bit encryption to securely protect both keys.

  1. Go to Dashboard page: https://cloud.freshlimepay.com/dashboard

  2. Click on "My Checkout Buttons" and you will see like this

  1. Click on "Add" button:

then, you will see:

  1. Enter all fields like this:

  1. Click on "Create Payment" button:

then, you will be redirected back to My Checkout Buttons view:

  1. Click on "See Integrations" link

then, you will see code snippet to insert into your website/SaaS

  1. You click Copy icon to copy all code snippets:

  1. Open Visual Studio Code (if you don't install VS Code yet, download VS code here), then create index.html like this:

  1. Paste all copied code snippets into this web page:

  1. Save the web page, click on Go Live like this:

If there is no "Go Live" your VS Code, install Live Server extension in VS Code.

  1. You will see the final result

Congratulations! 🎉 You’ve successfully integrated PayPal into your website or SaaS in just a few minutes.

If you run into any issues or have any questions, feel free to reach out. I’m happy to help!

Happy coding! 🚀

Top comments (1)

Collapse
 
hongphatly profile image
Hong Phat Ly

New users get 7 days of full access to all features during the free trial. After the trial ends, you’ll need to upgrade to a Starter, Pro, or Enterprise plan to continue using FreshLimePay.