Services Plugins FAQs

HomeBNB - booking functionality bug

I recently installed HomeBNB and testing the functionality but am not able to Book a stay.

I receive the following message. “Stripe checkout error: The name, description, and amount fields must not be left blank”.

I checked the Stripe logs and everything looked good and no error was thrown.

Any help would be greatly appreciated.
Thanks,
Ryan

Hello, @ryan.flynn!
Please accept my sincere apologies for such a delay with the reply. For some reason, we have missed your query. :pray:

First of all, let me please advise you to make sure you have set up Stripe keys in your app correctly. Please follow this documentation:

Here is also some information on Bubble’s Stripe plugin (which we use in the HomeBNB template):

This Bubble Forum thread should be useful as well:

Hope it helps! :slightly_smiling_face:

Thank you @kate . I was able to figure out the issue as it HomeBNB needs to use the legacy v2 Stripe plugin.

An additional question as I haven’t been able to recreate in the HomeBNB template…When a Guest books a room, Stripe authorizes the charge. What triggers the invoice to be created & Guest credit card charged? Does the Host manually do this in HomeBNB or Stripe… or is it automatically done on the last day of the trip? Can you share a screenshot of the invoice with the Service Fee charged for HomeBNB?

Thanks,
Ryan

@ryan.flynn, please accept my apologies for the late reply :pray:

There are 3 workflows in the template for this case. When the user (host) is logged in and he is the current apartment’s creator; when the user (guest) is logged in and he is not the current apartment’s creator; when the user is not logged in. All these 3 workflows you can find on the page “room”, do the search by the word “BOOK”.

Stripe’s plugin action “charge the current user” is responsible for this. Then, the next step creates the reservation record and makes changes in the information about available dates in the current page’s apartment.

After the guest confirms the booking, he is being charged automatically by the Stripe plugin. Thought, the user pays before the trip.

No, unfortunately, we have no such document for sharing. Apologies for the inconvenience.

Please let me know if there is anything I can help you with.
Have a good day. :slightly_smiling_face:

Thank you @kate This was very helpful!

1 Like