简体   繁体   English

条带管理帐户验证不起作用

[英]Stripe managed account verification not working

I'm using Stripe Connect to transfer funds to third party bank accounts. 我正在使用Stripe Connect将资金转移到第三方银行帐户。

I have created managed accounts in Stripe Connect and link bank account details to that account. 我已经在Stripe Connect中创建了托管帐户,并将银行帐户详细信息链接到该帐户。

While verifying accounts using SSN numbers I'm getting the following error. 使用SSN编号验证帐户时,出现以下错误。

Fatal error: Uncaught exception 'Stripe\\Error\\InvalidRequest' with message 'Received unknown parameters: personal_id_number_provided, ssn_last_4_provided' 致命错误:消息为“收到的未知参数:personal_id_number_provided,ssn_last_4_provided”的未捕获异常“ Stripe \\ Error \\ InvalidRequest”

Code: 码:

$account = \Stripe\Account::retrieve("acct_xxxxx");
$account->legal_entity->business_name = "Gowri Sankar";
$account->legal_entity->dob = array('day'=>05,'month'=>06,'year'=>1990);
$account->legal_entity->first_name = 'Gowri';
$account->legal_entity->last_name = 'Sankar';
$account->legal_entity->personal_address = array('city'=>'San Clemente','country'=>'US','line1'=>'100', 'line2'=>'Avenida Presidio', 'postal_code'=>'92672','state'=>'CA');

//These two lines gives error
$account->legal_entity->personal_id_number_provided = '8547';
$account->legal_entity->ssn_last_4_provided = true;


$account->legal_entity->type = 'individual';
$account->tos_acceptance->date = time();
$account->tos_acceptance->ip = $_SERVER['REMOTE_ADDR'];
$account->save();

I'm using Stripe PHP API. 我正在使用Stripe PHP API。
Any suggestions please. 有任何建议请。

Pretty sure you figured this out by now, but those 2 parameters are not valid. 可以肯定的是,您现在已经弄清楚了,但是那两个参数无效。 The proper param should be ssn_last_4 . 正确的参数应该是ssn_last_4 Try running: 尝试运行:

$account->legal_entity->ssn_last_4 = '8547';

Or perhaps (mostly for international clients): 也许(主要针对国际客户):

$account->legal_entity->personal_id_number = '8547';

As per the documentation . 根据文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM