Custom Payment Solution

Post Reply
celedorph
Posts: 5
Joined: Wed Feb 15, 2017 9:06 am

Custom Payment Solution

Post by celedorph » Thu Jul 13, 2017 6:04 pm

Hi,

I am looking at integrating Beds24 with a custom payment solution other than Paypal.

1. Currently, my intended approach is to implement my own booking page and integrate it with Beds24 through the booking API. Is this the best approach or is there a better solution?

2. From testing before, I know that the booking API allows bookings to be created even when there are no unoccupied rooms of that room type(creating potential for overbooking). Is there a way to make the API call such that an error will be returned if there are no available rooms?

celedorph
Posts: 5
Joined: Wed Feb 15, 2017 9:06 am

Re: Custom Payment Solution

Post by celedorph » Fri Jul 14, 2017 11:33 pm

On further research, https://wiki.beds24.com/index.php?title=Custom_Gateway might be a solution that requires less effort. Although I'm still curious as to whether there is a way to make an API call that creates a booking only if there are available rooms.

markkinchin
Site Admin
Posts: 887
Joined: Fri Mar 02, 2012 1:43 pm

Re: Custom Payment Solution

Post by markkinchin » Mon Jul 17, 2017 12:28 pm

The Custom Gateway solution allows the booking to occur on the Beds24 booking page and have the guest redirected to your payment gateway to collect a payment.

The API allows you to create your own booking engine and use the API to push the complete booking into Beds24. Your booking system is then responsible to manage availability which it could do for example by checking https://api.beds24.com/json/getAvailabilities to see if the room is available before allowing the booking to proceed.

Post Reply