You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
645 B
Swift
17 lines
645 B
Swift
// TODO:
|
|
// We can add an option to execute the charge API-side, in which case
|
|
// the developer would also need to provide their 'charge' endpoint,
|
|
// meaning that the success/fail return value becomes meaningful.
|
|
// The extraHTTPHeaders now allows us to do that, to be done later..
|
|
|
|
public class StripePaymentsPluginConfig {
|
|
public var publishableKey: String = ""
|
|
public var ephemeralKeyUrl: String = ""
|
|
public var appleMerchantId: String = ""
|
|
public var companyName: String = ""
|
|
public var maximumKeyRetries: Int = 0
|
|
public var extraHTTPHeaders: [String:String] = [:]
|
|
}
|
|
|
|
let PluginConfig = StripePaymentsPluginConfig()
|