Skip to main content
All CollectionsPayment links
How can I pre-fill the form?
How can I pre-fill the form?
Updated over 8 months ago

You can pre-fill the form of a payment link by passing values via the query string in the URL.

For payment links with type one-off, subscription, one-off direct debit or mandate, the following parameters are possible:

  • first_name

  • last_name

  • name

  • email

  • iban (only for links with as type "one-off direct debit")

  • amount (only for links with an open amount)

You can place these parameters behind the payment link URL

?name=John Doe&[email protected]&iban=NL12INGB012345678&amount=9.99

The full URL will then something be like:

https://rcur.app/pay/63vDmOs5j?name=John Doe&[email protected]&iban=NL12INGB01234567&amount=9.99

Order payment links

Currently, it is only possible to preselect the products for order links. You can do this by specifying the hash of the product:

?product[HASH]=1

In this example, HASH is the unique ID of the product. This can be found on the products page.

After the = sign you need to enter the quantity. If you want to select multiple products you need to separate them with an &. Example of what this looks like:

?product[HASH]=1&product[HASH]=3&product[HASH]=1

Shipping costs do not need to be specified as they are automatically added to the order.

It is also possible to skip the first step directly, so that the customer can enter his/her data immediately. You do this by specifying an additional parameter:

&submit=1

The full url then looks like this:

?product[HASH]=1&product[HASH]=10&product[HASH]=4&submit=1
Did this answer your question?