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.
Instamojo takes those details, encrypts the data and pushes them on the server, makes sure the data doesn’t hit the server, does the basic validation (such as invalid expiry date or invalid credit card number etc), creates a token representing the credit card info and posts the token to your server.
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.