Apple Pay in 5 minutes

laiso
November 15, 2016

Apple Pay in 5 minutes

laiso

November 15, 2016

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

14 slides
  1. τʔΫϯૹ৴ϑϩʔ let apiClient = PAYJP.APIClient(publicKey: PAYJPPublicKey) apiClient.createToken(with: payment.token) { (result)

    in switch result { case .success(let token): // tokenΛαʔόʔ΁ૹ৴ܾͯ͠ࡁॲཧ // https://pay.jp/docs/charge completion(.success) case .failure(let error): completion(.failure) } }

More Decks by laiso

Other Decks in Technology