【问题标题】:Stripe managed account verification not working条纹管理帐户验证不起作用
【发布时间】:2016-02-09 22:36:14
【问题描述】:

我正在使用 Stripe Connect 将资金转入第三方银行账户。

我在 Stripe Connect 中创建了托管账户,并将银行账户详细信息与该账户相关联。

在使用 SSN 号码验证帐户时,我收到以下错误。

致命错误:未捕获异常“Stripe\Error\InvalidRequest”,消息“收到未知参数:personal_id_number_provided, ssn_last_4_provided”

代码:

$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();

我正在使用 Stripe PHP API。
请有任何建议。

【问题讨论】:

    标签: php api stripe-connect


    【解决方案1】:

    很确定您现在已经弄清楚了,但是这 2 个参数无效。正确的参数应该是ssn_last_4。尝试运行:

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

    或者也许(主要针对国际客户):

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

    根据the documentation

    【讨论】:

      猜你喜欢
      • 2016-06-01
      • 2019-10-24
      • 1970-01-01
      • 2016-09-14
      • 2012-03-01
      • 2023-04-01
      • 2019-01-18
      • 2019-11-25
      • 1970-01-01
      相关资源
      最近更新 更多