Custompayment2: Difference between revisions

From Bemar leit
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
''This page is about the menu SETTINGS->PROPERTIES->DEPOSIT COLLECTION->CUSTOM GATEWAY''


Required skills: html, programming


You can create an interface to an external (not integrated) payment gateway.


The booker will be shown a button which will take them to the specified URL with POST fields.
Bemar er samtengt Straum https://www.straumur.is, hægt er að nota greiðslugáttina fyrir alla gististaði og annað í Bemar bókunarkerfum.


Both the URL and POST fields can contain template variables to include values from the booking.
Ferlið er öruggt og allt skráð, þú getur valið hvort gestur staðfestir vefpóst fyrir greiðslu til að tryggja samskipti eða sé fluttur beint til Straums.


For example [DEPOSIT] will contain the value of the deposit.
Gestur fær bæði staðfestingu frá Straum og Gististað.
Gististaður fær staðfestingar frá Straum og sínu bókunarkerfi þegar bókun er staðfest og komin virk í bókunarkerfið.


i.e. deposit=[DEPOSIT]&bookid={BOOKID] will post fields deposit and bookid to the external gateway.
Greiðslur skrást sjálfvirkt í bókun sem fær stöðu staðfest við greiðslu, sé greiðsla ekki kláruð er bókun óstaðfest og ekki virk.


A notify URL is available for the external gateway to report a successful collection of the deposit.
Greiðsluhnapp er líka hægt að virkja fyrir Straum Greiðslugátt. Gististaður getur þá gert bókun td. með stöðu Request og sent Gest greiðsluhnapp, klári Gestur að borga fær bókun sjálfvirkt stöðu Confirmed og greiðsla skráist í bókun.


The notify will add the deposit to the booking invoice and trigger updates to booking status and email notifications to guest and host.
Til að virkja þína samtengingu við Straum hafið samband bemar@bemar.is


The notify must post a key field with a value that matches to setting and contain at least 6 characters.


Notify URL https://api.beds24.com/custompaymentgateway/notify.php
Bemar is connected to Straum https://www.straumur.is, the payment gateway can be used for all accommodations and other Bemar booking systems.


The notify should contain the following POST fields:
The process is secure and everything is recorded, you can choose whether the guest confirms the webmail for payment to ensure communication or is transferred directly to Straumur.
key = value in custom gateway key setting
bookid = the bookid of the booking


These POST fields are optional:
The guest receives confirmation from both Straumur and the Accommodation.
status = booking status, 0 (cancelled), 1 (confirmed), 2 (new), 3 (request)
 
amount = amount of the deposit collected
The Accommodation receives confirmations from Straumur and its booking system when the booking is confirmed and activated in the booking system.
description = description of payment for invoice item
 
payment_status = status of payment for invoice item
Payments are automatically recorded in the booking which gets the status Confirmed upon payment, if the payment is not completed, the booking is unconfirmed and not active.
txnid = unique id for this payment to prevent false duplicates
 
A payment button can also be activated for Straumur Payment Gateway. The Accommodation can then make a booking, for example, with the status Request and send a Guest payment button, if the Guest finishes paying, the booking automatically gets the status Confirmed and the payment is registered in the booking.
 
To activate your connection with Straumur, contact bemar@bemar.is

Revision as of 11:08, 27 July 2025


Bemar er samtengt Straum https://www.straumur.is, hægt er að nota greiðslugáttina fyrir alla gististaði og annað í Bemar bókunarkerfum.

Ferlið er öruggt og allt skráð, þú getur valið hvort gestur staðfestir vefpóst fyrir greiðslu til að tryggja samskipti eða sé fluttur beint til Straums.

Gestur fær bæði staðfestingu frá Straum og Gististað. Gististaður fær staðfestingar frá Straum og sínu bókunarkerfi þegar bókun er staðfest og komin virk í bókunarkerfið.

Greiðslur skrást sjálfvirkt í bókun sem fær stöðu staðfest við greiðslu, sé greiðsla ekki kláruð er bókun óstaðfest og ekki virk.

Greiðsluhnapp er líka hægt að virkja fyrir Straum Greiðslugátt. Gististaður getur þá gert bókun td. með stöðu Request og sent Gest greiðsluhnapp, klári Gestur að borga fær bókun sjálfvirkt stöðu Confirmed og greiðsla skráist í bókun.

Til að virkja þína samtengingu við Straum hafið samband bemar@bemar.is


Bemar is connected to Straum https://www.straumur.is, the payment gateway can be used for all accommodations and other Bemar booking systems.

The process is secure and everything is recorded, you can choose whether the guest confirms the webmail for payment to ensure communication or is transferred directly to Straumur.

The guest receives confirmation from both Straumur and the Accommodation.

The Accommodation receives confirmations from Straumur and its booking system when the booking is confirmed and activated in the booking system.

Payments are automatically recorded in the booking which gets the status Confirmed upon payment, if the payment is not completed, the booking is unconfirmed and not active.

A payment button can also be activated for Straumur Payment Gateway. The Accommodation can then make a booking, for example, with the status Request and send a Guest payment button, if the Guest finishes paying, the booking automatically gets the status Confirmed and the payment is registered in the booking.

To activate your connection with Straumur, contact bemar@bemar.is