CyberSource / cybersource-ios-sdk

The CyberSource InApp SDK enables developers to simply and securely incorporate mobile payments into their iOS applications.
Other
1 stars 1 forks source link

implement Apple Pay authorization #4

Open erikkrietsch opened 8 years ago

connected-bpremachandiran commented 7 years ago

Do we have an idea of when this is going to be merged in? It would be nice to have this in the SDK as the iOS SDK mentioned in the Apple Pay documentation (https://www.cybersource.com/developers/integration_methods/apple_pay/)

I was told by premier support to use this SDK however it seems by this pull request being open that Apple Pay is not supported currently by this SDK.

brianmc commented 7 years ago

Our recommended approach for ApplePay is to complete the transaction on the server, not on the phone, hence this SDK is analogous to the Passkit SDK from Apple. Think of the encrypted blob from this SDK being just like the ApplePay payment data blob. Both can be securely pass to your server and then an ics_auth (or auth,bill) completed using the blobs.

Any additional comments/feedback feel free to continue the thread.

Brian

connected-bpremachandiran commented 7 years ago

Hi Brian,

(http://apps.cybersource.com/library/documentation/dev_guides/apple_payments/sdk/html/wwhelp/wwhimpl/js/html/wwhelp.htm#href=working_with.4.3.html)

This documentation shows a method of using the SDK to process to send encrypted Apple Pay token to CyberSource to decrypt.

Is this documentation invalid then? We assumed from this documentation that it was okay to send the payment data from the app to CyberSource via the SDK. As well the SDK linked on the Apple Pay page (https://www.cybersource.com/developers/integration_methods/apple_pay/) seems to be older than this SDK. Just wondering which one we should be using.

Thanks for your help.