Charge virtual credit cards from channels automatically with Stripe. Booking.com, Expedia and Agoda collect the payment from the guest and send you a virtual card. When Beds24 imports the booking, it adds a pending payment with the collection date, and the card is charged at Stripe on that date.
Prerequisites: a Stripe account connected to your property with the Connect to Stripe button. Automatic charging of pending payments, and charging a stored card from a booking, only work with this connection.
You also need a connection to a channel that sends virtual credit cards: Booking.com, Expedia or Agoda.
Quick Guide
- Set up Stripe in Settings > Payments > Payment Gateways > Stripe with Save all cards to Stripe = Yes.
- Create a payment rule for virtual cards in Settings > Payments > Payment Rules.
- In each channel's mapping settings, set Auto Process Virtual Cards = Yes and select your payment rule.
Step 1: Set up your Stripe account
Go to Settings > Payments > Payment Gateways > Stripe and set:
| Setting | Value |
|---|---|
| Connect | Click to connect. If you have several Stripe accounts, make sure you connect to the right one. |
| Enable/Priority | A number. With several payment gateways, it sets the order on the payment page. |
| Save all cards to Stripe | Yes |
| Capture | Yes: collects the payment at the time of booking on your Beds24 booking page |
| Payment Description, Title, Instruction | Optional. See Stripe settings. |
Step 2: Create a payment rule for virtual cards
The rule also handles cancellations: the pending payment isn't collected if the booking is cancelled. Go to Settings > Payments > Payment Rules and create a new rule:
| Group | Setting | Value |
|---|---|---|
| Payment Rule | Name | Your title, for example Virtual Cards |
| Payment Rule | Action | Auto |
| Payment Trigger | Booking Status | All not cancelled |
| Payment Trigger | Any Booking Info Code, All Booking Info Codes, Exclude Booking Info Code | Optional |
| Payment Action | Funding Source | Virtual card only |
| Payment Action | Payment value adjustment | Limit to group booking balance |
| Payment Action | Capture | Yes: charged immediately |
| Prevent Auto Payment | Prevent payment if booking status | Cancelled |
| Prevent Auto Payment | Prevent payment after check-out (days) | 7 (default) |
| Prevent Auto Payment | Prevent payment action | Set Manual |
All rule settings: Payment Rules.
Step 3: Turn on auto processing for each channel
- Go to Settings > Channel Management > Booking.com > Mapping.
- Under Auto Payment Processing, set Auto Process Virtual Cards = Yes.
- Set Virtual Card Payment Rule to the rule from Step 2 and save.
- Repeat for each channel that allows auto processing of virtual cards.
Expected result: imported channel bookings with a virtual card get a pending payment with the collection date, and Stripe charges the card when it's due.
Card details at Stripe
Each card sent to Stripe is saved as a Stripe customer, with the booking number as reference. Info codes on the Info tab of the booking show what happened, for example CARDTOSTRIPE or STRIPEPAYMENT. See Card details at Stripe and info codes.