-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
FEAT(klarna): Klarna Kustom Checkout Integration #6839
Merged
Merged
Conversation
This file contains 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
Contributor
Sweta-Kumari-Sharma
added
A-connector-integration
Area: Connector integration
A-core
Area: Core flows
C-feature
Category: Feature request or enhancement
M-api-contract-changes
Metadata: This PR involves API contract changes
labels
Dec 15, 2024
hyperswitch-bot
bot
removed
the
M-api-contract-changes
Metadata: This PR involves API contract changes
label
Dec 15, 2024
Sweta-Kumari-Sharma
changed the title
feat(klarna): Klarna Kustom Checkout Integration
FEAT(klarna): Klarna Kustom Checkout Integration
Dec 15, 2024
2 tasks
hyperswitch-bot
bot
added
the
M-api-contract-changes
Metadata: This PR involves API contract changes
label
Dec 15, 2024
Sweta-Kumari-Sharma
force-pushed
the
klarna-checkout
branch
from
December 16, 2024 11:35
fbbd6b7
to
1dd2e99
Compare
hyperswitch-bot
bot
added
M-api-contract-changes
Metadata: This PR involves API contract changes
and removed
M-api-contract-changes
Metadata: This PR involves API contract changes
labels
Dec 16, 2024
crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
Outdated
Show resolved
Hide resolved
Sweta-Kumari-Sharma
force-pushed
the
klarna-checkout
branch
from
December 16, 2024 12:46
20893a6
to
3edcfbc
Compare
hyperswitch-bot
bot
added
M-api-contract-changes
Metadata: This PR involves API contract changes
and removed
M-api-contract-changes
Metadata: This PR involves API contract changes
labels
Dec 16, 2024
crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
Outdated
Show resolved
Hide resolved
Sweta-Kumari-Sharma
force-pushed
the
klarna-checkout
branch
from
December 16, 2024 13:17
f8ab896
to
a5cc3ca
Compare
hyperswitch-bot
bot
removed
the
M-api-contract-changes
Metadata: This PR involves API contract changes
label
Dec 16, 2024
hyperswitch-bot
bot
added
the
M-api-contract-changes
Metadata: This PR involves API contract changes
label
Dec 16, 2024
Sweta-Kumari-Sharma
force-pushed
the
klarna-checkout
branch
from
December 16, 2024 13:31
d80d501
to
764f20a
Compare
hyperswitch-bot
bot
added
M-api-contract-changes
Metadata: This PR involves API contract changes
and removed
M-api-contract-changes
Metadata: This PR involves API contract changes
labels
Dec 16, 2024
Sweta-Kumari-Sharma
force-pushed
the
klarna-checkout
branch
from
December 16, 2024 15:29
c62da84
to
7bf1403
Compare
hyperswitch-bot
bot
added
M-api-contract-changes
Metadata: This PR involves API contract changes
and removed
M-api-contract-changes
Metadata: This PR involves API contract changes
labels
Dec 16, 2024
Narayanbhat166
previously approved these changes
Dec 17, 2024
apoorvdixit88
previously approved these changes
Dec 17, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dashboard specific changes look fine
swangi-kumari
previously approved these changes
Dec 17, 2024
Sweta-Kumari-Sharma
dismissed stale reviews from swangi-kumari, apoorvdixit88, and Narayanbhat166
via
December 17, 2024 07:45
4fadf79
Sweta-Kumari-Sharma
force-pushed
the
klarna-checkout
branch
from
December 17, 2024 07:45
6ecca7d
to
4fadf79
Compare
hyperswitch-bot
bot
removed
the
M-api-contract-changes
Metadata: This PR involves API contract changes
label
Dec 17, 2024
hyperswitch-bot
bot
added
the
M-api-contract-changes
Metadata: This PR involves API contract changes
label
Dec 17, 2024
SanchithHegde
approved these changes
Dec 17, 2024
swangi-kumari
approved these changes
Dec 17, 2024
apoorvdixit88
approved these changes
Dec 17, 2024
Narayanbhat166
approved these changes
Dec 17, 2024
pixincreate
added a commit
that referenced
this pull request
Dec 20, 2024
…ete-pm * 'main' of github.com:juspay/hyperswitch: refactor(dynamic_routing): add col payment_method_type in dynamic_routing_stats (#6853) refactor(customers_v2): include minor fixes for customer v2 flows (#6876) fix: cypress reports generation (#6894) fix(connector): Paypal BankRedirects (Ideal/EPS) (#6864) chore(version): 2024.12.19.1 fix(connector): [UNIFIED_AUTHENTICATION_SERVICE] change url path to `pre_authentication_processing` in pre-auth flow (#6885) refactor(users): move roles schema to global interface (#6862) feat(payment_methods): add support to pass apple pay recurring details to obtain apple pay merchant token (#6770) feat(payments): [Payment links] Add config for changing button text for payment links (#6860) feat(core): added customer phone_number and email to session token response for click to pay (#6863) FEAT(klarna): Klarna Kustom Checkout Integration (#6839) feat(users): handle email url for users in different tenancies (#6809) chore(version): 2024.12.19.0 refactor(dynamic_routing): update the authentication for update config to include JWT type (#6785) chore(env): remove unified_authentication_service base_url from integ, sandbox and production toml (#6865)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-connector-integration
Area: Connector integration
A-core
Area: Core flows
C-feature
Category: Feature request or enhancement
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
Klarna Kustom Checkout (KCO) integration
Klarna provides two payment methods:
Any one of the methods can be used at a time and switching between Klarna Payments and Klarna Checkout is been done. Based on the PML got, there will be a switching between Klarna Payments and Klarna Checkout.
The redirect_to_url link from response is used to complete the payment.
Linking the original PR here #6590
Additional Changes
Motivation and Context
This PR is related to issue: #6521
How did you test it?
I tested it using postman by hitting the required endpoints. Curl to the postman setup:
Response:
Response:
Response:
After completing the payment on clicking the redirect_url, PSync response is as follows:
Response:
Please test Klarna SDK also.
Checklist
cargo +nightly fmt --all
cargo clippy