Advertisement
Guest User

Untitled

a guest
Nov 13th, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. let configuration = STPPaymentConfiguration()
  2. configuration.companyName = "XXX"
  3. configuration.canDeletePaymentOptions = true
  4. configuration.publishableKey = "pk_live_XXX"
  5. configuration.appleMerchantIdentifier = "merchant.XXX"
  6. paymentOptionsViewController = STPPaymentOptionsViewController(configuration: configuration, theme: STPTheme.default(), customerContext: STPCustomerContext(keyProvider: self.customerContext), delegate: self)
  7. navigationController?.pushViewController(paymentOptionsViewController, animated: true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement