我可以在 stripe express Onboarding 中预填手机号码字段吗?
Can I prefill Mobile number field in stripe express Onboarding?
我可以在 stripe express Onboarding 中预先填写手机号码字段吗?
Image
这是我的代码,在这里我可以预填除 phone 号码以外的所有字段。我尝试了 +43 0000000000、0000000000、000-000-0000 组合 phone number
Map<String, Object> addressParams = new HashMap<>();
addressParams.put("country", "AU");
if (accountInfo.get("companyAddressLine1") != null)
addressParams.put("line1", accountInfo.get("companyAddressLine1"));
if (accountInfo.get("companyAddressLine2") != null)
addressParams.put("line2", accountInfo.get("companyAddressLine2"));
if (accountInfo.get("companyAddressCity") != null)
addressParams.put("city", accountInfo.get("companyAddressCity"));
if (accountInfo.get("companyAddressState") != null)
addressParams.put("state", accountInfo.get("companyAddressState"));
if (accountInfo.get("companyAddressPostalCode") != null)
addressParams.put("postal_code", accountInfo.get("companyAddressPostalCode"));
Map<String, Object> companyParams = new HashMap<>();
companyParams.put("address", addressParams);
if (accountInfo.get("companyName") != null)
companyParams.put("name", accountInfo.get("companyName"));
if (accountInfo.get("companyPhone") != null)
companyParams.put("phone", "+43 0000000000");
companyParams.put("structure", "private_corporation");
Map<String, Object> businessProfileParams = new HashMap<>();
businessProfileParams.put("support_address", addressParams);
businessProfileParams.put("product_description","test");
if (accountInfo.get("companyPhone") != null)
businessProfileParams.put("support_phone","+43 0000000000");
if (accountInfo.get("companyEmail") != null)
businessProfileParams.put("support_email",accountInfo.get("companyEmail"));
Map<String, Object> params = new HashMap<>();
params.put("business_type", COMPANY_TYPE);
if (accountInfo.get("companyEmail") != null)
params.put("email", accountInfo.get("companyEmail"));
params.put("business_profile", businessProfileParams);
params.put("company", companyParams);
Account updatedAccount = account.update(params);
屏幕截图中的 phone 和电子邮件输入用于快速身份验证,并与帐户上的用户相关联。平台无法预填此用户数据。您使用帐户 API 预先填写的 phone 和电子邮件与此帐户的 company/business 相关联。
我们也尝试过,但似乎没有办法 pre-fill phone 在关联帐户的入职流程第一页中询问的号码。
我可以在 stripe express Onboarding 中预先填写手机号码字段吗? Image
这是我的代码,在这里我可以预填除 phone 号码以外的所有字段。我尝试了 +43 0000000000、0000000000、000-000-0000 组合 phone number
Map<String, Object> addressParams = new HashMap<>();
addressParams.put("country", "AU");
if (accountInfo.get("companyAddressLine1") != null)
addressParams.put("line1", accountInfo.get("companyAddressLine1"));
if (accountInfo.get("companyAddressLine2") != null)
addressParams.put("line2", accountInfo.get("companyAddressLine2"));
if (accountInfo.get("companyAddressCity") != null)
addressParams.put("city", accountInfo.get("companyAddressCity"));
if (accountInfo.get("companyAddressState") != null)
addressParams.put("state", accountInfo.get("companyAddressState"));
if (accountInfo.get("companyAddressPostalCode") != null)
addressParams.put("postal_code", accountInfo.get("companyAddressPostalCode"));
Map<String, Object> companyParams = new HashMap<>();
companyParams.put("address", addressParams);
if (accountInfo.get("companyName") != null)
companyParams.put("name", accountInfo.get("companyName"));
if (accountInfo.get("companyPhone") != null)
companyParams.put("phone", "+43 0000000000");
companyParams.put("structure", "private_corporation");
Map<String, Object> businessProfileParams = new HashMap<>();
businessProfileParams.put("support_address", addressParams);
businessProfileParams.put("product_description","test");
if (accountInfo.get("companyPhone") != null)
businessProfileParams.put("support_phone","+43 0000000000");
if (accountInfo.get("companyEmail") != null)
businessProfileParams.put("support_email",accountInfo.get("companyEmail"));
Map<String, Object> params = new HashMap<>();
params.put("business_type", COMPANY_TYPE);
if (accountInfo.get("companyEmail") != null)
params.put("email", accountInfo.get("companyEmail"));
params.put("business_profile", businessProfileParams);
params.put("company", companyParams);
Account updatedAccount = account.update(params);
屏幕截图中的 phone 和电子邮件输入用于快速身份验证,并与帐户上的用户相关联。平台无法预填此用户数据。您使用帐户 API 预先填写的 phone 和电子邮件与此帐户的 company/business 相关联。
我们也尝试过,但似乎没有办法 pre-fill phone 在关联帐户的入职流程第一页中询问的号码。