Stripe 连接限制国家/地区?(锁定为“澳大利亚") [英] Stripe connect onboarding limiting country? (locked to 'Australia')

查看:73
本文介绍了Stripe 连接限制国家/地区?(锁定为“澳大利亚")的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用以下内容创建新的 Stripe 连接帐户:

I use the following to create a new Stripe connect account:

account = Stripe::Account.create({
  type: 'express',
  requested_capabilities: ['card_payments', 'transfers']
})

当用户点击Connect with Stripe"时,他们开始输入他们的详细信息.他们可以输入美国电话号码,但不能输入美国地址 - 该国被锁定在澳大利亚,点击澳大利亚"尝试更改它根本没有任何作用:

When the user clicks 'Connect with Stripe', they start entering their details. They can enter an American phone number, but not an American address - the country is locked to Australia, and clicking on 'Australia' to try to change it doesn't do anything at all:

此外,州"字段仅显示澳大利亚州:

Also, the 'State' field only shows Australian states:

为什么 stripe 会做出这个限制?我很确定我在设置时正确配置了 stripe,我怀疑这是我的代码有问题(我正在做或没有做的事情)在 Stripe::Account.create()) 期间做什么?

Why is stripe making this restriction? I'm quite sure I've configured stripe correctly when setting it up, I suspect it's a problem with my code (something I'm doing or failing to do during Stripe::Account.create())?

我尝试使用 requested_capabilities: ['card_payments'],但是:

Accounts do not currently support `card_payments` without `transfers`. 
Please visit 
https://stripe.com/docs/connect/account-capabilities#card-payments 
for more details.

尝试 2

我尝试使用 requested_capabilities: ['transfers'],没有错误,但我仍然只能输入澳大利亚地址.

Attempt 2

I tried with requested_capabilities: ['transfers'], there was no error, but I could still only enter an Australian address.

我检查了平台仪表板中的设置,在设置中没有发现任何异常,并确认 connect 已配置为接受来自澳大利亚和其他 35 个国家/地区的已连接用户

I checked the settings in the platform dashboard, cannot spot anything unusual in settings, and confirmed that connect is configured to accept connected users from Australia + 35 other countries

推荐答案

我认为 Stripe API 的 v1,应该允许您指定国家/地区.从我在文档中看到的内容来看,我认为您应该指定您想要的内容.

I think v1 of Stripe API, should allow you to specify country. From what I saw in the Documentation, I think you should specify what you want.

POST/v1/accounts 看起来像这样

require 'stripe'
Stripe.api_key = 'sk_test_4eC39HqLyjWDarjtT1zdp7dc'

Stripe::Account.create({
  type: 'custom',
  country: 'US',
  email: 'jenny.rosen@example.com',
  capabilities: {
    card_payments: {requested: true},
    transfers: {requested: true},
  },
})

您可能需要进一步配置.如果指定国家/地区不能解决问题,请告诉我.从此处阅读.根据 API 中的内容,country 是可选的.由于您没有指定,它默认为您的位置.

You may want to configure further. Let me know if specifying country doesn't fixed the issue. Read up from here. By virtue of what is in the API, country is optional. Since you didn't specify, it defaults to your location.

截至今天,Stripe Express 支持澳大利亚、奥地利、比利时、保加利亚、加拿大、塞浦路斯、捷克共和国、丹麦、爱沙尼亚、芬兰、法国、德国、希腊、香港、匈牙利、爱尔兰、意大利、日本、拉脱维亚、立陶宛、卢森堡、马耳他、墨西哥、荷兰、新西兰、挪威、波兰、葡萄牙、罗马尼亚、新加坡、斯洛伐克、斯洛文尼亚、西班牙、瑞典、瑞士、英国或美国.因此,您可以决定要指定的国家/地区并输入 ISO 3166-1 alpha-2 国家/地区代码.

As of today, Stripe Express supports Australia, Austria, Belgium, Bulgaria, Canada, Cyprus, the Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hong Kong, Hungary, Ireland, Italy, Japan, Latvia, Lithuania, Luxembourg, Malta, Mexico, the Netherlands, New Zealand, Norway, Poland, Portugal, Romania, Singapore, Slovakia, Slovenia, Spain, Sweden, Switzerland, the United Kingdom, or the United States. So you may decide which country you want to specify and put the ISO 3166-1 alpha-2 country code.

这篇关于Stripe 连接限制国家/地区?(锁定为“澳大利亚")的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆