Custom Payment Solution

Develper issues when using the Beds24 APi.
Post Reply
celedorph
Posts: 5
Joined: Wed Feb 15, 2017 9:06 am

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

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: 935
Joined: Fri Mar 02, 2012 1:43 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