Custom Gateway: Difference between revisions
Jump to navigation
Jump to search
| Line 36: | Line 36: | ||
The data should be sent as HTML POST form data | The data should be sent as HTML POST form data | ||
Notify URL: https://api.beds24.com/custompaymentgateway/notify.php | |||
The notify should contain the following POST fields: | |||
key = value in custom gateway key setting | |||
bookid = the bookid of the booking | <code>key</code>= value in custom gateway key setting | ||
<code>bookid</code> = the bookid of the booking | |||
These POST fields are optional: | |||
<code>status</code> = booking status, 0 (cancelled), 1 (confirmed), 2 (new), 3 (request) | |||
<code>amount</code> = amount of the deposit collected | |||
<code>description</code> = description of payment for invoice item | |||
<code>payment_status</code> = status of payment for invoice item | |||
<code>txnid</code> = unique id for this payment to prevent false duplicates | |||