Stripe Security Deposit capture

From Booking Automation Wiki
Jump to: navigation, search


Stripe - Authorise a Refundable Security Payment
This page is about the menu {{#fas:cog}} (SETTINGS) PAYMENTS > PAYMENT GATEWAYS > STRIPE and authorisation of a refundable payment and explains how to setup a pending payment to ‘Capture/Authorise’ a refundable Security Deposit. 

Use

You can use this method if:

You have a Stripe account and you have connected it to your property.

And

You require a refundable Security deposit to be authorised on the guest credit card.

{{#fas:exclamation-triangle}} If you are in the EU and/or have guests from the EU, you may need to comply with 3DSecure Payments, this will require you to send a payment link to the guest to make the payment directly.</div>

How it works

With Stripe you can authorise a payment on a credit card to be released after a fixed period if the payment is not collected. You can define the Due date/time and the amount to be authorised.

Set up

Step 1: Setup Stripe Account

Go to {{#fas:cog}} (SETTINGS) PAYMENTS > PAYMENT GATEWAYS > STRIPE and set:

{{#fas:lightbulb}} Stripe is compatible with the pending payments auto charge function and direct charging a stored card from bookings, when you connect via the ‘Connect’ Button.

  • Click Connect Button. If you have multiple Stripe Accounts, ensure you connect to the correct Stripe account in your Stripe dashboard.
  • Set Enable/Priority - if you plan to use multiple Payment gateways, set the number based on the order on the payment page.
  • Save all cards to Stripe = Yes.
  • Capture = Yes, for your BookingAutomation booking page, this will collect the payment at the time of the booking.
  • Payment Description - Description for Stripe payments, template variables can be used. This description will be seen in the STRIPE dashboard, this is not visible to the Guest.
  • Title - Customise the title for this payment option.
  • Instruction - Create an optional description to appear next to the Stripe pay now button.

Step 2: Create a Payment Rule - Capture Refundable Security Deposit

Go to {{#fas:cog}} (SETTINGS) PAYMENTS > PAYMENT RULES

Create a Payment Rule to authorise a refundable payment.

Click Create New Payment Rule :

Payment Rule:

  • Name = Enter your title - Security Deposit (for example)
  • Action = Auto

Payment Trigger :

  • Booking Status = All not cancelled
  • Any Booking Info Code (optional)
  • All Booking Info Codes (optional)
  • Exclude Booking Info Code= BOOKINGVIRTCARD, EXPEDIACOLLECT, AGODACOLLECT If you have virtual credit cards from the channels, then use this option.

{{#fas:lightbulb}} You will need to send a payment request link to the guest for them to authorise the payment as it is not possible to authorise a refundable payment on a Virtual Card.

Payment Action :

  • Funding Source = Guest card only
  • Payment value adjustment = Limit to booking balance
  • Capture = NO - Authorised for collection later
  • Add info code on success = add a Booking Info item to the booking on success
  • Add info code on failure = add a Booking Info item to the booking on failure

Prevent Auto Payment :

  • Prevent payment if booking status : Cancelled
  • Prevent payment after check-out (days) = 7 (default)
  • Prevent payment action : Set Manual

Step 3: Create Auto Actions

Go to {{#fas:cog}} (SETTINGS) GUEST MANAGEMENT > AUTO ACTIONS and click Create New Action to create them.

If the guest credit card is already at Stripe.

Auto Action 1 - Authorise payment for all bookings - Guest Credit card at Stripe

For bookings via your booking page (direct) and Channel bookings (non virtual cards), the credit card has been sent and stored at Stripe.

Trigger tab:

  • Time
    • Trigger Event = Checkin
    • Trigger Time = -1
    • Time Window = 1 day
  • Booking Source
    • Booking Source =All (this will apply to all bookings, direct, manual and channels). If you want to have different auto actions/rules for direct bookings -v- channel bookings, then select ‘Direct’ this will include manually created bookings and booking page bookings.
  • Booking Conditions
    • Group Booking Trigger = Trigger only Master
    • Status = All not cancelled
    • Invoice Balance= Any
  • Info Codes
    • Exclude Booking Info code = BOOKINGVIRTCARD, EXPEDIACOLLECT, AGODACOLLECT

{{#fas:lightbulb}} If you receive virtual credit cards from the channels, then enter the Booking Info codes to prevent additional pending payments being added to bookings.

Booking tab: Optional

  • Flag Text = Security Deposit Pending Payment (for example)
  • Flag Colour = select the colour as this will be visible in the Calendar/Bookings list

Booking Info tab: If you do not require an auto action to send a payment link to the guest for payment/authorisation, then this is optional.

  • Booking Info Code - REFDEPPP (for example)
  • Booking Info Text - Refundable Security Deposit pending payment

Invoice tab:

  • Add a Pending Payment to the booking
    • Payment Type = Fixed amount
    • Description = the text you will see in the "Charges and Payments" tab
    • Status = if you use the status function add the status you want to apply to the pending payment (optional)
    • Amount = 250 (enter the value you want to authorise on the guest credit card )
    • Payment Rule = Security Deposit (use the payment rule in Step 2)
    • Payment Due = Trigger date
    • Payment time = set the time to collect payment
    • Invoicee = If you use the "invoicee" function you can select which invoicee the pending payment will be assigned to.

{{#fas:lightbulb}} If you accept Virtual Credit Cards from the channels, then you will need to send a payment link to either collect the guest credit card to then authorise the Security Deposit on their personnel card OR send a payment link so the guest can authorise the payment on their own credit card, it is not possible to take a Security deposit from a virtual card.


Auto Action 2 - Send Payment Request with link for Security Deposit Authorisation

Can be used for channel bookings with virtual cards or properties/guests in EU countries and required to comply with EU 3DSecure regulations.

Trigger tab:

  • Time
    • Trigger Event = Checkin
    • Trigger Time = -1
    • Time Window = 1 day
  • Booking Source
    • Booking Source =All (this will apply to all bookings, direct, manual and channels). If you want to have different auto actions/rules for direct bookings -v- channel bookings, then select ‘Direct’ this will include manually created bookings and booking page bookings.
  • Booking Conditions
    • Group Booking Trigger = Trigger only Master
    • Status = All not cancelled
    • Invoice Balance= Any

Message tab:

  • Send Message = Booking API/Smart Email

If the "Mail & Actions" tab contains a "real" Email address the message is sent to the guests Email address. If only a masked Email address is available the message sends via the channels API messaging systems if possible. If no connection to a messaging system is available the message will send to the Email address from the "Mail & Actions" tab of the Email.

  • Email Subject - enter the subject for your Guests
  • Plain Text Box - will send to channels using Message API

Message Text :- enter the text you wish to send to your guests include URL, change the pay=250 to the value you require. see here


Dear [GUESTNAME],

There is a £250(€) Refundable Security Deposit required for your Stay at [PROPERTYNAME].

Please use the link below so the Security Deposit can be authorised.

https://manage.bookingautomation.com/bookpay.php?bookid=[BOOKID]&g=st&capture=0&pay=250

The Security Deposit will be authorised from your Credit Card and will be released when checks are completed and no damage reported.

Best Regards,

[PROPERTYNAME]

  • HTML box - Email will be sent

Email Text :- enter the Email text you wish to send to your guests include URL, change the pay=250 to the value you require. Template variables can be used. see here

Dear [GUESTNAME],

There is a £250(€) Refundable Security Deposit required for your Stay at [PROPERTYNAME].

Please use the link below so the Security Deposit can be authorised.

https://manage.bookingautomation.com/bookpay.php?bookid=[BOOKID]&g=st&capture=0&pay=250

The Security Deposit will be authorised from your Credit Card and will be released when checks are completed and no damage reported.

Best Regards,

[PROPERTYNAME]


Booking tab: Optional

  • Flag Text = Security Deposit Pending Payment (for example)
  • Flag Colour = select the colour as this will be visible in the Calendar/Bookings list

Booking Info tab:

  • Optional, add a booking info tab for information and reporting

Booking Info tab: Optional, for information and reporting

  • Booking Info Code = PAYREQ (for example enter the value - use one word only)
  • Booking Info Text = Enter the description/text to show in for the Booking Info Code.

Credit Card details at Stripe

The card will be saved as a new customer in Stripe with the booking number as a reference. Once the new customer is created in Stripe the card can be charged.

Multiple cards can be sent for each Stripe customer and a specific one selected when charging.

Stripe will only accept valid cards. If Stripe reject the card, its details will still be visible at BookingAutomation.

Info Codes in the "Info" tab of the booking show you which action was performed.

Code Use
CARDTOSTRIPE card details were sent to Stripe
STRIPEPAYMENT payment imported from Stripe
STRIPEFAIL card could not be sent to Stripe
CARDEXPIRES added when the card expires before check-in
STRIPEAUTHORIZE payment has been authorised by Stripe
CARDFAILSTRIPE card has failed at Stripe, see the note for reason