Checkout / Additional Fields
Sometimes you need to collect more fields from your customers or pre-fill checkout form on our site with default fields, and we have a way to do it. Let's check how to do it.
Last updated
Sometimes you need to collect more fields from your customers or pre-fill checkout form on our site with default fields, and we have a way to do it. Let's check how to do it.
Last updated
When you need to pre-fill checkout form page by email, name, phone or your custom hidden/text fields which you've created on products settings page at product settings (5. Collected customer information then you can pass it as GET params to checkout or payment links
How a pre-filled payment link looks like:
You can open and check link above to see how it works
All params for link must be url encoded, please refer to if you don't know
name
phone_number
country
zipcode
promocode
Additional parameters (for example, text_0, link_0, etc. - they can be taken from the Product Settings -> 5. Collect customer information
How to build a valid url with params
A "?" must be placed between the product number and the parameters:
An "=" must follow the parameter:
An "&" must be placed between parameters:
For example you would like to pass your own unique order id with each sell and receive it in webhook at additional_fields
Select the desired type of field to add to the checkout page for your customer. In our example, we selected hidden fields. This field won't be visible to the customer on the checkout page but can be pre-filled via GET parameters in the checkout link.
For example you have a checkout link such as
To pre-fill and pass value via GET params you need to add it to your checkout link as in example below:
A customer won't see this field in the checkout page, but it will be passed to AfterSell Webhook inside additiona_fields object
In our example we passed 136754 inside hidden_0
field and it may be obtained inside payload after each sell, if you was setup After Sell Webhook
You can add more fields, for example text input for user which will be rendered and collected on the checkout form, hover on it to see the name, in our example name is text_0