1. Home
  2. Docs
  3. Listar App
  4. Payment
  5. Paypal

Paypal

The PayPal Checkout option enables the user to make direct payments using PayPal.

  • Debit/credit card
  • PayPal balance

Sample Paypal Account

Paypal ID: [email protected]
Password: A!Z*=@r5

1. Workflow

Paypal Checkout workflow
  1. The user clicks a payment button on the mobile app.
  2.  The user logs into PayPal.
  3.  Approve the transaction on PayPal
  4.  Returns the mobile app and completes the process 
Create a booking and checkout via Paypal
Confirm payment via PayPal Checkout

Review your booking on the mobile app

  • Log in to the mobile app with your account.
  • Select the navigation Account > My Booking
  • From the booking list, select a booking to see it in detail.
Review result booking on the mobile app

Review your booking on the WordPress CMS backend

  • Login to the WordPress CMS with the admin account
  •  Select the menu Booking from the left menu
  •  From the booking list, select a booking to see it in detail.
Review booking on the WordPress CMS

2. Settings

Enable PayPal Checkout v2

Enable the Paypal Checkout payments by going to Listar > Settings > Payment > Paypal in the WordPress CMS menu.

PayPal settings

Environment

If you do not already have a PayPal account:

  1. Go to the PayPal Website and sign up for a Business account.
  2. Click the Get Started button and follow the business setup steps.
  • Sandbox: PayPal Sandbox is a virtual testing environment that mimics the live PayPal production environment. It works similarly to creating an actual PayPal account without using real credit cards or live PayPal accounts.
  • Live: With the live mode, it works with an actual PayPal and uses real credit cards.

If you are testing, use Sandbox mode and switch to Live mode when your project is ready.

Settings credential key & environment

Obtain your PayPal API Credentials

Create Sandbox account

  1. Go to https://developer.paypal.com/developer/accounts
  2. Select menu Sandbox > Account and click on the button Create account.
Create Sandbox account

Create App and Credential Key

  1. Go to https://developer.paypal.com/developer/accounts
  2. Select on left menu Dashboard > My Apps & Credentials. If you do not already have the app, then click on the button Create App
  3. After creating the app, click on the app to get the detailed information for getting a Client ID and Client Secret keys.
  4. Login to your WordPress CMS and select menu Listar > Settings > Payment > Paypal and input the credential keys
Create Application
Get Client ID & Client Secret
Settings credential key & environment