【发布时间】: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