Razorpay Checkout

WP Travel Razorpay Checkout is a payment gateway that provides the most extensive set of payment methods. Razorpay is the only payments solution in India that allows businesses to accept, process, and disburse payments with its product suite. 

With the easiest integration, completely online onboarding, feature-filled checkout, and best-in-class performance, experience the future of payments with WP Travel Razorpay Checkout.

WP Travel Razorpay Checkout is a payment gateway that provides the most extensive set of payment methods. Razorpay is the only payments solution in India that allows businesses to accept, process, and disburse payments with its product suite. 

Note: WP Travel Razorpay Checkout only works with Indian Currency. 

Admin Side:

The Admin only will have the authority to enable the payment gateway. Also, they have the access to Booking lists and the detail and will be able to change any data if required.

The works that are completely managed by the Admin are explained below.

How to set up WP Travel Razorpay payment gateway for WP Travel?

To activate this Payment Gateway, go to Admin Panel > WP Travel > Settings > Payment and enable Razorpay Checkout.

Once the payment gateway is enabled, you need to enter the required credentials.

Available Options:

  • Enable Razorpay checkout: This option allows you to enable/disable the Razorpay payment gateway.
  • Key ID: This option allows you to enter a key ID.
  • Key Secret: This option allows you to enter the key secret.

Getting started with WP Travel Razorpay Checkout:

To make the WP Travel Razorpay Checkout work you must have “Key Token” and “Key Secret” to enter in the fields.

To get the key please click on the here” link as shown in the screenshots:

How to get the Keys:

  • Finally, from the dashboard go to  Settings > API  Keys and click on the Regenerate Live key” button.

Booking and Booking detail:

Admin will be able to view the lists and the booking detail that is made by the clients by going to Admin Panel > WP Travel > Booking.

Booking listing :

  • The Booking listing page consists of the following information.
  • Contact name: It is the name of the person under which the booking is made using the booking form.
  • Status: This column lists your booking status.
  • Payment: This column lists the type of payment you have made i.e. either Full Payment or Partial Payment.
  • Booking Date: This column displays the booking published date.

If required, the admin has the authority to change the booking detail made by the client as well:

Client Side:

Booking Options:

There is basically a Booking Options. It is:

  1. Booking with Payment.

Booking with Payment:

To enable the booking with payment options at the front end, at first you have to enable the option “Instamojo Checkout” by going to Admin panel > Trips > Settings > Payments.

Under this option, there are two modes of booking.

  • Full Payment: If you desire to go with Full payment then you can simply choose the option “Full Payment” and click on the booking button. Clicking on the booking button will lead you to the PayPal home page. After making the required payment you can return to the merchant and if you want, you can even make the booking further.
  • Partial Payment: If you desire to go with partial payment then you can simply choose the option “Partial Payment” and click on the booking button.

Work Flow:

Workflow of WP Travel Razorpay Checkout:

  • When a user clicks the Book and Pay button, your app sets up the payment and begins the checkout in a  popup window
  • A payment has the following flow:
    • CREATION
      Payment is created when a user (the customer) fills up and submits the payment information and it is sent to the Razorpay API. No processing has been done on the payment at this stage.
    • AUTHORIZATION
      Authorization is performed when the user’s payment details are successfully authenticated by the bank. The money is deducted from the customer’s account, but will not be transferred to the merchant’s account until it is explicitly captured by the merchant.
    • CAPTURE
      The next step, called capture, verifies the purchase as complete by the merchant. After capture, the amount is transferred to the merchant within T+3 days where T is the day on which payment is captured. The captured amount must be the same as the authorized amount.
      Any authorization not followed by a capture within 5 days is automatically voided and refunded.
    • REFUND
      A successfully captured payment can be refunded by the merchant. The first two steps (Creation and Authorization) are handled by the checkout form and are client-sided. The next two steps (Capture & Refund) are handled using the API and are server-side requests.
  • The User can review and authorizes the payment.
  • Instamojo returns control to your site to finalize the payment. The site then shows the payment details as given in the screenshot.