# 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](../../hbook-documentation/payment-settings.md#payment-link-settings) that you shared with them. It is required to have at least a payment link form on that page.

> [!INFO]
> 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](../../hbook-documentation/payment-settings.md#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](../../hbook-documentation/payment-settings.md#stripe-settings).

<a id="shortcode-hb_payment_link_form"></a>

## Shortcode \[hb\_payment\_link\_form\]

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.

> [!INFO]
> On the “Thank you page”, you need to have at least a [\[hb\_reservation\_summary\] shortcode or a bloc “Reservation summary”](../shortcodes-blocks/reservation-summary.md).

> [!NOTE]
> **\[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"](../shortcodes-blocks/reservation-summary.md).

* * *

<a id="payment-link-form-gutenberg"></a>

## Payment link form - Gutenberg

![payment-link-gutenberg.png](./attachments/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"](../shortcodes-blocks/reservation-summary.md) on this “Thank you for your payment” page.