PayKickstart

How to Pass Custom Variables into a Checkout Page URL?

An advanced feature for vendors is the ability to pass custom variables into a checkout page URL. The benefit to this is being able to pre-fill the checkout page with any customer information that you may already have. Here is a list of variable IDs you can use in the checkout page URL: First Name: first_name first_name Last Name: last_name last_name Email: email email Company Name: buyer_tax_name buyer_tax_name Billing Address: billing_address_1 billing_address_1 Billing Address 2: billing_address_2 billing_address_2 Billing City: billing_city billing_city Billing State: billing_state billing_state Billing Zip: billing_zip billing_zip Billing Country: billing_country billing_country Billing Phone Country Code: billing_phone_code billing_phone_code Billing Phone: billing_phone_number billing_phone_number Shipping Address: shipping_address_1 shipping_address_1 Shipping Address 2: shipping_address_2 shipping_address_2 Shipping City: shipping_city shipping_city Shipping State: shipping_state shipping_state Shipping Zip: shipping_zip shipping_zip Shipping Country: shipping_country shipping_country Shipping Phone Country Code: shipping_phone_code shipping_phone_code Shipping Phone: shipping_phone_number shipping_phone_number Currency: ccCurrency ccCurrency Quantity: qt NOTE: You can also insert custom field variable IDs as well. Here is an example of how the checkout page URL would be structured with a custom variable(s): https://app.paykickstart.com/checkout/VNvm3yQDqng4BW1LRnzEZbXKRdaY96G2?first_name=john&last_name=smith You would add a ” ? ” after the checkout URL then insert one of the variable IDs above, with ” = ” and the value. Then use ” & ” if you want to add multiple variables. NOTE: IF you are attempting to pass a custom variable to an upsell product, the custom field will need to be on the main product as well as the upsell product to allow the custom variables to pass to the checkout via URL.
Was this article helpful?

Still puzzling over something?

The agent has read this article — and everything around it. Ask a follow-up and it answers in seconds.