This document explains how to configure, enable, and use the PayPal Payment Gateway in the KiviCare Clinic Management System. It is intended for administrators and site owners who want to accept online payments from patients during appointment booking.

Overview

The PayPal payment gateway allows clinics to securely accept online payments from patients using PayPal. The integration is built using the PayPal REST API, ensuring secure and reliable transaction processing.

With PayPal enabled, patients can complete appointment payments using:

Prerequisites

Before configuring PayPal in KiviCare, make sure you have the following:

PayPal Configuration in KiviCare

Step 1: Navigate to Payment Settings

  1. Log in to your WordPress Admin Dashboard.
  2. Go to KiviCare > Settings > Payment Settings.

Step 2: Enable PayPal Gateway

  1. Locate PayPal in the list of available payment gateways.
  2. Toggle the Enable switch (Green).
  3. Click on Manage (or the edit icon) to open PayPal settings.

Step 3: Configure PayPal Settings

Fill in the following fields:

Step 4: Save Settings

Click the Save button to apply and store your PayPal configuration.

How to Obtain PayPal API Credentials

Follow these steps to generate PayPal API credentials:

  1. Log in to the PayPal Developer Dashboard.
  2. Navigate to Apps & Credentials.
  3. Select the environment:
    • Sandbox for testing
    • Live for production payments
  4. Click Create App.
  5. Enter an app name (e.g., KiviCare Clinic) and click Create App.
  6. After the app is created, you will see:
    • Client ID
    • Secret (click Show to reveal it)
  7. Copy these values and paste them into the KiviCare PayPal settings.

Important: Sandbox credentials will only work in Sandbox mode, and Live credentials will only work in Live mode.

Payment Flow

  1. Patient books an appointment.
  2. Patient selects PayPal as the payment method.
  3. Patient is redirected to PayPal to complete the payment.
  4. After successful payment, the appointment is confirmed in KiviCare.
  5. Payment status is recorded in the system.

Troubleshooting

Common Issues and Solutions
Payment Failed
Currency Not Supported
SSL / TLS Error
PayPal Option Not Visible