Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Apple Pay in 5 minutes

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →
laiso
November 15, 2016

Apple Pay in 5 minutes

laiso

November 15, 2016

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