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

refactor(core): Refactor customer payment method list for v2 #4856

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
b88e259
refactor(core): Refactor customer pml for v2
Sarthak1799 Jun 3, 2024
f2d7e05
Merge branch 'main' of github.com:juspay/hyperswitch into refactor-cu…
Sarthak1799 Jun 5, 2024
cd89296
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] Jun 5, 2024
a580b35
fix(payment_methods): Fixed clippy errors
Sarthak1799 Jun 5, 2024
4eae216
fix(payment_methods): Fixed clippy errors
Sarthak1799 Jun 5, 2024
51c7d12
fix(payment_methods): Resolved comments
Sarthak1799 Jun 10, 2024
c71e21a
Merge branch 'main' of github.com:juspay/hyperswitch into refactor-cu…
Sarthak1799 Jun 20, 2024
bc62440
fix(payment_methods): Fixed errors
Sarthak1799 Jun 20, 2024
ddd9fd6
fix(payment_methods): Resolved comments
Sarthak1799 Jun 26, 2024
b2c0274
refactor(payment_methods): refactored for v2 flag
Sarthak1799 Jul 1, 2024
2ac2fa9
chore: run formatter
hyperswitch-bot[bot] Jul 1, 2024
d0e505a
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] Jul 1, 2024
d19ca37
fix(payment_methods): Fixed errors
Sarthak1799 Jul 2, 2024
d98b862
Merge branch 'main' of github.com:juspay/hyperswitch into refactor-cu…
Sarthak1799 Jul 2, 2024
47874b3
fix(payment_methods): Fixed errors
Sarthak1799 Jul 2, 2024
7a918cd
fix(payment_methods): Fixed errors
Sarthak1799 Jul 2, 2024
a921a06
fix(payment_methods): Fixed errors
Sarthak1799 Jul 2, 2024
dbafd56
fix(payment_methods): Fixed errors
Sarthak1799 Jul 2, 2024
ff414c7
refactor(payment_methods): Refactored a bit
Sarthak1799 Jul 3, 2024
f892342
Merge branch 'main' into refactor-customer-pm-list
Sarthak1799 Jul 3, 2024
f991fca
fix(payment_methods): Fixed errors
Sarthak1799 Jul 3, 2024
c4ffddd
fix(payment_methods): Fixed errors
Sarthak1799 Jul 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(payment_methods): Resolved comments
  • Loading branch information
Sarthak1799 committed Jun 26, 2024
commit ddd9fd61f1ce0a416701289d4b6496dd269b785b
3 changes: 0 additions & 3 deletions crates/router/src/core/payment_methods/cards.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3708,10 +3708,7 @@ pub async fn list_customer_payment_method(
ParentPaymentMethodToken::create_key_for_token((token, pma.payment_method))
.insert(intent_created, hyperswitch_token_data, state)
.await?;
}

// Check this block in review
if let Some(token) = parent_payment_method_token {
if let Some(metadata) = pma.metadata {
let pm_metadata_vec: payment_methods::PaymentMethodMetadata = metadata
.parse_value("PaymentMethodMetadata")
Expand Down
Loading