-
Notifications
You must be signed in to change notification settings - Fork 3.9k
feat(router): add support for apple pay pre-decrypted token in the payments confirm call #8815
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
Merged
likhinbopanna
merged 14 commits into
main
from
wallets/add-support-for-applepay-predecrypt
Aug 5, 2025
Merged
feat(router): add support for apple pay pre-decrypted token in the payments confirm call #8815
likhinbopanna
merged 14 commits into
main
from
wallets/add-support-for-applepay-predecrypt
Aug 5, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ments confirm call
…/github.com/juspay/hyperswitch into wallets/add-support-for-applepay-predecrypt
deepanshu-iiitu
previously approved these changes
Aug 1, 2025
jagan-jaya
requested changes
Aug 4, 2025
deepanshu-iiitu
previously approved these changes
Aug 4, 2025
jagan-jaya
previously approved these changes
Aug 4, 2025
1a20ce6
AkshayaFoiger
previously approved these changes
Aug 4, 2025
jagan-jaya
previously approved these changes
Aug 4, 2025
deepanshu-iiitu
previously approved these changes
Aug 4, 2025
awasthi21
previously approved these changes
Aug 4, 2025
d2fefc1
hrithikesh026
approved these changes
Aug 5, 2025
awasthi21
approved these changes
Aug 5, 2025
jagan-jaya
approved these changes
Aug 5, 2025
pixincreate
added a commit
that referenced
this pull request
Aug 6, 2025
…ordea-sepa * 'main' of github.com:juspay/hyperswitch: (89 commits) feat(router): [worldpayvantiv] add dispute list sync and implement dispute (#8830) feat(core): Add support for Void after Capture (#8839) fix(wasm): [FISERV] Added GooglePay Payment Method Type (#8832) feat(connector): [Barclaycard] Add Google Pay Payment Method (#8786) chore(version): 2025.08.06.0 feat(core): Added additional authentication fields for 3ds external authentication (#8758) refactor(core): propagate network_transaction_id in response of payment (#8829) fix(core): add fix for stopping multiple event locking idempotent logs (#8034) feat(connector): [AUTHORIZEDOTNET] create connector customer flow added (#8774) feat(core): Add L2_L3 Data Support (#8828) feat(connector): [NMI] Add mandates flow (#8652) fix(connector): [Wise] send uuid as connector_transaction_id (#8836) feat(core): populate UCS status_code in response headers (#8788) feat(external_services): Fixed Url for Unified Connector Service gRPC Client (#8587) chore: reorder v2 migrations folders (#8671) fix(router): Take merchant ID from headers in API Key - Revoke (v2) (#8808) fix(connector): (payload) currency auth key wasm changes (#8825) feat(payment-methods): add filtering logic for payment method list v2 (#8606) feat(router): add support for apple pay pre-decrypted token in the payments confirm call (#8815) chore(version): 2025.08.05.0 ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-core
Area: Core flows
A-payment-methods
Area: Payment Methods
A-payments
Area: payments
M-api-contract-changes
Metadata: This PR involves API contract changes
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
This pull request adds support pass the decryted apple pay token directly in the confirm call.
This pull also request introduces significant changes to the handling of Apple Pay payment data across multiple modules, improving the structure, validation, and usage of encrypted and decrypted Apple Pay data. It also refactors related code to enhance type safety and modularity. Below is a summary of the most important changes grouped by themes.
Additional Changes
Motivation and Context
How did you test it?
Test apple pay pre decrypt flow
-> Enable apple pay for a connector a connector that supports decryption and do not configure any apple pay certificates.
-> Make a payment by passing pre decrypted apple pay token in the confirm call
logs indicating apple pay pre decrypt flow

logs showing decrypted apple pay token being sent to the connector

Test apple pay hyperswitch decryption flow
-> Enable apple pay for a connector by selecting payment_processing_details_at
Hyperswitch
-> Make a apple pay payment
Logs indicating decrypt apple pay token

Logs showing decrypted token in the connector request

Test connector decryption flow
-> Enabled apple pay with payment processing details at "Connector"
Checklist
cargo +nightly fmt --all
cargo clippy