简体   繁体   中英

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

I'm using Stripe UI in my iOS application. 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?

Hi to solve your problem you should set property of the SMS Autofill to false . And you going to receive email field on the Stripe UI.

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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