Prefill Form Fields (query strings) | Payment Page Documentation
You can easily prefill form fields on the payment form with the query strings and parameters below.
For the first parameter of your query string, ensure you enter a question mark “?”. Then, use the ampersand symbol “&” for all following strings. See examples below.
You can read all about how query strings and their parameters work in the details below, but in the meantime, here are some examples you can copy/paste.
Let’s say you want to accept a credit card payment from Stripe for $99/month and you already had that plan set up on your payment form. Here’s the query string combination you would send to your customer or link on your site:
https://your-domain.com/?gateway=stripe&method=cards¤cy=usd&frequency=m_1&amount=99.00 Let’s say you want to accept a custom invoice amount for €59.99, you’ve created a custom field labeled “Invoice ID” on your form, and you want to select SEPA as the payment method to be used automatically. You would give this link to your customer:
https://your-domain.com/?gateway=stripe&method=sepa¤cy=eur&frequency=one-time& List of Query Strings and Parameters
Here are all the query strings and their possible parameters, along with some examples and important notes.
* The ?gateway parameter must be used in conjunction with the ?method parameter.
Stripe methods:
ccard
ach_direct_debit (Plaid)
sepa
apple_pay
google_pay
microsoft_pay
alipay
wechat PayPal methods: standard_checkout
* The ?gateway parameter must be used in conjunction with the ?method parameter.
Any 3-digit currency code. E.g. – usd, eur
d_1
