-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Helpers for / integration of Apple Pay #41
Comments
ping @cneijenhuis what do you think? |
I think there are two levels of doing it:
The roadmap for the first 2 months of Sunrise development is not yet finalized, but currently we're planning to do click&collect first (= no payment in app). |
thanks, good Analysis. I updated the original text to be more precise. |
On another thought, it would be good if we do this along with |
good point. I did wonder whether a |
We haven't designed this yet, and I will consult with you when we start this 😉 |
Since we did the Apple Pay integration in the new version of Sunrise iOS app, I wanted to revisit this issue and discuss whether we still like to offer some methods to make it easier for others to potentially integrate it using our SDK. Here's the code related to Apple Pay SDK <-> CT SDK: https://github.com/commercetools/commercetools-sunrise-ios/blob/master/Sunrise/ViewModels/Cart/CartViewModel.swift#L364:L536 The way I see it, it'd be nice to have some extensions and helper methods to update the active cart based based on customer's actions with the apple pay UI + transforming models from AP SDK to CT SDK and vice versa (e.g First, I'd like to hear from @nkuehn @cneijenhuis if you agree, and if so, it'd be great if @cneijenhuis could have a glance at the existing iOS app implementation, and provide some feedback. After that, I'd write specs proposal and take it from there. |
I still think the idea is a good one, would be great to see this moving along! I'm afraid I won't have the time to dive into the details of it, though :( |
We could consider providing some helper functions for the Apple Pay Feature of iOS.
It's not live in Germany yet, but in USA and UK and Spain and the list of backing payment providers (PSPs) to be used is very interesting:
Use Case:
Why Useful?
Caveat: A PSP specific trusted Server component is still necessary to transfer the encrypted info to the PSP, have the PSP decrypt and do it and then pass back the "success" info to the app / CTP (we could try to add that to the existing Stripe integration)
edit: reduced bias and added caveat that it's "just" the checkout in-app part that's standardized then -> still requires a PSP integration.
The text was updated successfully, but these errors were encountered: