Skip to content
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

add apple pay integration #312

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

tyler-techcombine
Copy link
Collaborator

@tyler-techcombine tyler-techcombine commented Feb 25, 2025

Description

Integrates Apple Pay support into the Omise iOS SDK by introducing a new ApplePaymentHandler to manage the complete payment flow using PKPaymentAuthorizationController, along with an ApplePayViewModel that encapsulates the payment logic and token payload creation. The implementation uses dependency injection and protocol abstraction for easy testing and mocking, requests billing contact details when needed, and handles errors gracefully to ensure a seamless payment experience with minimal external code changes.

Demo

with-add.MP4

AnasNaouchi
AnasNaouchi previously approved these changes Feb 27, 2025
rosle
rosle previously approved these changes Feb 27, 2025
Narum11
Narum11 previously approved these changes Feb 28, 2025
new4762
new4762 previously approved these changes Feb 28, 2025
@tyler-techcombine tyler-techcombine dismissed stale reviews from new4762, Narum11, and rosle via 4115996 March 4, 2025 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants