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

feat: added dynamic field rendering for klarna #858

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

RustProfi
Copy link
Contributor

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

added dynamic field rendering for klarna. Issue 6050

How did you test it?

I have created a Klarna Playground account and configured it as a payment processor in hyperswitch. I was then able to test the entire order process with Klarna.

Bildschirmfoto 2025-01-07 um 14 15 57 Bildschirmfoto 2025-01-07 um 14 25 13 Bildschirmfoto 2025-01-07 um 14 25 28

Checklist

  • I ran npm run re:build
  • I reviewed submitted code
  • I added unit tests for my changes where possible

Copy link

Review changes with  SemanticDiff

@PritishBudhiraja PritishBudhiraja added the Added Comments - waiting for author Add this label when comments added in the PR and waiting for the author to get those resolved. label Jan 8, 2025
RustProfi and others added 2 commits January 8, 2025 14:35
Co-authored-by: Pritish Budhiraja <[email protected]>
Co-authored-by: Pritish Budhiraja <[email protected]>
@PritishBudhiraja PritishBudhiraja added Ready for Review PR with label Ready for Review should only be reviewed. and removed Added Comments - waiting for author Add this label when comments added in the PR and waiting for the author to get those resolved. labels Jan 8, 2025
aritro2002
aritro2002 previously approved these changes Jan 8, 2025
Copy link
Contributor

@sakksham7 sakksham7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @RustProfi
Can you please try making the confirm body using dynamic fields body instead of KlarnaRedirectionBody, Also the flow that you have checked is for KlarnaSDK flow please do it using Klarna Redirection flow

@RustProfi RustProfi dismissed stale reviews from aritro2002 and PritishBudhiraja via 9a20a4c January 9, 2025 16:24
@RustProfi
Copy link
Contributor Author

Hey @RustProfi Can you please try making the confirm body using dynamic fields body instead of KlarnaRedirectionBody, Also the flow that you have checked is for KlarnaSDK flow please do it using Klarna Redirection flow

Hi @sakksham7, using the dynamic fields body worked out fine.
How do i accomplish using the Klarna Redirection flow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready for Review PR with label Ready for Review should only be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants