Skip to main content
Skip table of contents

Payment link form

You will use the Payment link form shortcode on the page used for payments made by payment links. It is the page where your clients are redirected when they follow a payment link that you shared with them. It is required to have at least a payment link form on that page.

Once you have created your payment page, with the required “Payment link form”, you need to set this page as your payment link page. This is done in HBook > Payment > Payment link settings.

When you add the shortcode [hb_payment_link_form] or the block “Payment link form”, it will display a payment form on your page. This payment form works only with payment links. Payment links can be used for:

  • taking an online payment. With a payment link, you can ask your customer to pay a deposit, the full amount, a security bond, the remaining balance, etc. The amount to pay is set automatically when creating the payment link.

  • providing a payment method that is saved for later charge/refunds. With a payment link, you can as well ask your customer to provide a payment method. No charge is made, but the payment method is saved for future use (charge or refund). This functionality is available only with Stripe and you need to enable “Store payment method” in HBook > Payment > Stripe settings.

Use the [hb_payment_link_form] shortcode to display the payment form on your website.

Parameter:

thank_you_page_url: this parameter is useful if you wish to redirect the customer to a different page for the payment confirmation screen.

On the “Thank you page”, you need to have at least a [hb_reservation_summary] shortcode or a bloc “Reservation summary”.

[hb_payment_link_form thank_you_page_url="https://www.abc.com/thank-you-for-your-payment"]
With this shortcode, the customer is redirected to the “Thank you for your payment” page once the payment is done. On that “Thank you for your payment” page, you need to have a [hb_reservation_summary] shortcode or a bloc "Reservation summary".


Payment link form - Gutenberg

payment-link-gutenberg.png
  1. Indicate the Thank you page. You can use this parameter to redirect your customers to a specific page for the payment confirmation. You will need to have at least a [hb_reservation_summary] shortcode or a bloc "Reservation summary" on this “Thank you for your payment” page.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.