WP Travel Razorpay Checkout is a payment gateway which provides the most extensive set of payment methods. Razorpay is the only payments solution in India which 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 which provides the most extensive set of payment methods. Razorpay is the only payments solution in India which allows businesses to accept, process and disburse payments with its product suite.
Note: WP Travel Razorpay Checkout only works with the Indian Currency.
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.
2.1.How to set up WP Travel razorpay payment gateway for WP Travel?
After Installing the plugin ” WP Travel Razorpay Checkout” by following either of the given approaches you need to enable it by going to Admin Panel -> Trips -> Settings -> Payment -> Instamojo Razorpay Settings.
After enabling the payment gateway, you will get the following options:
Available Options:
Enable razorpay checkout: This option allows you to enable/disable razorpay payment gateway.
Key Token: This option allows you to enter the key token.
Key Secret: This option allows you to enter the key secret.
2.2.Getting started with WP travel Razorpay Checkout
To enable the booking with payment options at the front end, at first you have to enable the option “InstamojoCheckout” 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 booking button. Clicking on booking button will lead you to PayPal home page. After making the required payment you can return to 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 booking button.
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 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 An authorization is performed when 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 same as 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.