Advertisement
Guest User

Untitled

a guest
Mar 21st, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 0.41 KB | None | 0 0
  1. func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -> Bool {
  2.  
  3.         let stripeHandled = Stripe.handleURLCallback(with: url)
  4.  
  5.         if stripeHandled {
  6.             // handle response
  7.             print("ohh yeahhh")
  8.             return true
  9.         } else {
  10.             // did not work
  11.            
  12.            
  13.             return false
  14.         }
  15.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement