-
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 #6590
Open
Sweta-Kumari-Sharma
wants to merge
21
commits into
main
Choose a base branch
from
klarnaCheckout
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+713
−94
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
2 tasks
swangi-kumari
added
A-connector-integration
Area: Connector integration
A-core
Area: Core flows
C-feature
Category: Feature request or enhancement
labels
Nov 18, 2024
Sweta-Kumari-Sharma
changed the title
Klarna checkout
[FEATURE]: [KLARNA] Klarna Kustom Checkout Integration #6590
Nov 18, 2024
Sweta-Kumari-Sharma
changed the title
[FEATURE]: [KLARNA] Klarna Kustom Checkout Integration #6590
[FEATURE]: [KLARNA] Klarna Kustom Checkout Integration
Nov 18, 2024
hyperswitch-bot
bot
added
the
M-api-contract-changes
Metadata: This PR involves API contract changes
label
Nov 18, 2024
Sweta-Kumari-Sharma
changed the title
[FEATURE]: [KLARNA] Klarna Kustom Checkout Integration
feat(klarna): Klarna Kustom Checkout Integration
Nov 18, 2024
cookieg13
reviewed
Nov 19, 2024
cookieg13
reviewed
Nov 19, 2024
cookieg13
reviewed
Nov 19, 2024
cookieg13
reviewed
Nov 19, 2024
cookieg13
reviewed
Nov 19, 2024
cookieg13
reviewed
Nov 19, 2024
cookieg13
reviewed
Nov 19, 2024
cookieg13
reviewed
Nov 19, 2024
cookieg13
reviewed
Nov 19, 2024
cookieg13
reviewed
Nov 19, 2024
Sweta-Kumari-Sharma
force-pushed
the
klarnaCheckout
branch
from
November 20, 2024 20:11
1c78c1b
to
3d5508c
Compare
Sweta-Kumari-Sharma
force-pushed
the
klarnaCheckout
branch
from
November 20, 2024 20:41
43df930
to
b338b35
Compare
Sweta-Kumari-Sharma
force-pushed
the
klarnaCheckout
branch
from
November 20, 2024 20:45
d0ed9b4
to
476ef14
Compare
Sweta-Kumari-Sharma
force-pushed
the
klarnaCheckout
branch
from
November 20, 2024 20:51
67c9f33
to
cfc70cf
Compare
swangi-kumari
requested changes
Nov 22, 2024
Narayanbhat166
requested changes
Nov 27, 2024
#[derive(Debug, Clone, Eq, PartialEq, serde::Deserialize, serde::Serialize)] | ||
|
||
pub struct KlarnaCheckoutPaymentMethod { | ||
pub payment_type: Option<String>, |
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.
why is this inner field optional?
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.
Additional Changes
Motivation and Context
How did you test it?
I tested it using postman by hitting the required endpoints. Curl to the postman setup:
Response:
Response:
Checklist
cargo +nightly fmt --all
cargo clippy