简体   繁体   English

如何在iOS Stripe UI中启用“电子邮件”字段?

[英]How to enable “email” field in iOS Stripe UI?

I'm using Stripe UI in my iOS application. 我在iOS应用程序中使用Stripe UI。 But when I presenting view controller for adding it asks only card info without email field. 但是,当我提出添加它的视图控制器时,仅询问卡信息而没有电子邮件字段。 How I can enable this field at Stripe UI? 如何在Stripe UI上启用此字段?

Hi to solve your problem you should set property of the SMS Autofill to false . 嗨,要解决您的问题,您应该将SMS Autofill属性设置为false And you going to receive email field on the Stripe UI. 您将在Stripe UI上接收电子邮件字段。

let config = STPPaymentConfiguration.sharedConfiguration()
config.smsAutofillDisabled = false

SMS自动填充功能已在v11.0中删除,因此STPAddCardViewController不再具有电子邮件字段。

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

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