0
当我发送请求,以更新现有的自定义帐户,我得到这个消息:You cannot use a live bank account number when making transfers or debits in test mode
随着400 BAD_REQUEST:在测试模式下,Stripe的BAD_REQUEST是什么造成的:“在测试模式下进行转账或借记时,您不能使用活的银行账号?”
"error" => [
"type" => "invalid_request_error"
"message" => "You cannot use a live bank account number when making transfers or debits in test mode"
"param" => "external_account[account_number]"
]
检查的数据我送条锈我发现,只有当这个数据在出现此错误请求正文:
"external_account" => array:6 [
"object" => "bank_account"
"account_number" => "1212121212"
"country" => "BE"
"currency" => "EUR"
"account_holder_name" => "NAME LASTNAME"
"account_holder_type" => "company"
]
我试图使用不同的假银行帐号,但没有帮助。成功更新数据的唯一方法是完全避免这种数据。
我想知道我能做些什么来让Stripe接受它吗?由于此错误仅在功能测试期间出现。
谢谢亨利!这工作。我想知道为什么Stripe没有可搜索的错误库,所以我不得不去堆栈溢出。 –