Stripe payments 在Stripe Connect';s oauth/授权注册

Stripe payments 在Stripe Connect';s oauth/授权注册,stripe-payments,Stripe Payments,根据上列出的可选查询字符串参数,我很难在Stripe Connect的用户授权注册页面上预填充字段。此页面标识可选字段,如stripe\u user[产品描述] 默认注册过程对我来说正常工作,因此根据url参数正确设置所需的参数,如客户端id和响应类型 但是,当我在末尾添加一个可选参数,如stripe_user[production_description]时,它会被忽略: https://connect.stripe.com/oauth/authorize&scope=read_only&st

根据上列出的可选查询字符串参数,我很难在Stripe Connect的用户授权注册页面上预填充字段。此页面标识可选字段,如
stripe\u user[产品描述]

默认注册过程对我来说正常工作,因此根据url参数正确设置所需的参数,如
客户端id
响应类型

但是,当我在末尾添加一个可选参数,如stripe_user[production_description]时,它会被忽略:

https://connect.stripe.com/oauth/authorize&scope=read_only&stripe_landing=register&response_type=code&client_id=ca_MyClientId&stripe_user[产品描述]=我的%20产品%20描述。

但是,如果在测试用户的新帐户注册页面上,我只需将查询字符串添加到url参数的末尾,例如,只需将
&stripe\u user[product\u description]=My%20Product%20description.
添加到浏览器地址栏中,产品描述字段就会被stripe隐藏,我认为这意味着它被正确地接受和认可


我有一种感觉,我的语法在某个地方有点偏离,因此非常感谢您的帮助。

我想您可以在a href中使用它,例如:

<a href="https://connect.stripe.com/oauth/authorize&scope=read_only&stripe_landing=register&response_type=code&client_id=ca_MyClientId&stripe_user[product_description]=My Product description&stripe_user[url]=https://somesite.come">Connect to stripe</a>

我一直在为同样的事情苦苦挣扎,直到我编码了“stripe\u user[product\u description]”部分。就你而言

stripe_user[product_description]=My%20Product%20description
应该是

stripe_user%5Bproduct_description%5D=My%20Product%20description