Payment Integration

Knit Pay Integration

Accept payments via 20+ Indian payment gateways including Razorpay, PhonePe, Instamojo, PayU, and more using the Knit Pay integration.

🎯 Overview

KiviCare Pro includes built-in support for Knit Pay, a powerful payment processing engine for WordPress. This integration allows you to offer multiple Indian payment methods (UPI, Netbanking, Cards) to your patients during the booking process.

[!IMPORTANT] The Knit Pay integration requires the external Knit Pay plugin to be installed and active on your WordPress site.

✨ Key Features

  • Built-in support for Indian payment gateways.
  • Wide Gateway Selection: Supports Razorpay, Instamojo, PayU, PhonePe, and 20+ more.
  • Multiple Payment Methods: Offer UPI, Netbanking, and Credit/Debit Card options.
  • Flexible Configurations: Add multiple Knit Pay configurations and labels for a tailored checkout experience.
  • Secure Integration: Leveraging the robust Knit Pay engine for secure transaction handling.

🛠️ Prerequisites

Before you begin, ensure you have the following:

  1. KiviCare Pro plugin active.
  2. Knit Pay plugin (Free or Pro) installed and active.
  3. An active account with an Indian payment gateway (e.g., Razorpay account).

⚙️ Step-by-Step Configuration

Configure Gateways in Knit Pay

  1. Navigate to Knit Pay → Configurations → Payment Gateway Configurations.
  2. Click Add New to create a Payment gateway configuration (e.g., “Razorpay – Clinic Payments”).
  3. Select your gateway and enter the API keys provided by your payment provider.
  4. Save the configuration and perform a test transaction if possible.

Configure Knit Pay in KiviCare

  • Navigate to KiviCare → Settings → Payment → Payment Settings.
  • Find the Knit Pay payment setting and click on Manage.
  • Select your Currency from the dropdown (you can also search for your currency by typing in the dropdown).
  • Click on Add Configuration to define your gateway options.
  • In the configuration fields:
    • Configuration: Select a configuration created in Step 1 from the dropdown.
    • Label: Enter a user-friendly name (Required, e.g., “Pay via UPI / Cards”).
    • Description: Add a brief instruction for the patient (Optional).
    • Icon: Upload a logo for the payment method (Optional).
  • Crucial Step: Ensure you have added at least one configuration before enabling the gateway.
  • Check the box “Enable Knit Pay”.
  • Click the Save Changes button.

🚶 Patient Booking Workflow

  1. Selection: During the checkout step of booking an appointment, the patient will see “Knit Pay” or your custom labels.
  2. Redirect: After clicking “Book Appointment,” the patient is redirected to the secure Knit Pay payment page.
  3. Payment: The patient completes the transaction using UPI, Cards, or Netbanking.
  4. Confirmation: Upon successful payment, the patient is redirected to the Appointment Detail Page, and the appointment status is updated to Booked.

📊 Payment Tracking

All Knit Pay transactions can be tracked in two places:

  • KiviCare → Dashboard → Payment History: For clinic-specific appointment payments.
  • Knit Pay → Payments: For low-level transaction logs and gateway responses.

🚨 Troubleshooting

IssuePotential CauseSolution
Knit Pay option missingPlugin not activeEnsure both KiviCare Pro and Knit Pay plugins are active.
No configurations foundMissing Knit Pay configsCreate at least one Gateway configuration in Knit Pay → Gateways.
Redirect failsIncorrect API KeysVerify your Client ID/Secret in the Knit Pay Gateway settings.
Webhook issuesMissing SSLEnsure your site is running on HTTPS for real-time status updates.

Suggestions & Improvements

Your email address will not be published. Required fields are marked *