Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let configuration = STPPaymentConfiguration()
- configuration.companyName = "XXX"
- configuration.canDeletePaymentOptions = true
- configuration.publishableKey = "pk_live_XXX"
- configuration.appleMerchantIdentifier = "merchant.XXX"
- paymentOptionsViewController = STPPaymentOptionsViewController(configuration: configuration, theme: STPTheme.default(), customerContext: STPCustomerContext(keyProvider: self.customerContext), delegate: self)
- navigationController?.pushViewController(paymentOptionsViewController, animated: true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement