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(payments_v2): add payment_confirm_intent api endpoint #6263

Merged
merged 124 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
1427c48
make v2 changes for payment attempt diesel model
hrithikesh026 Sep 9, 2024
3122ca4
refactor: comment out payment attempt update code for v2
Narayanbhat166 Sep 17, 2024
dd5452e
make v2 changes for payment attempt domail model
hrithikesh026 Sep 9, 2024
adb65be
Merge branch 'main' into payment_attempt_v2_changes
Narayanbhat166 Sep 20, 2024
4362850
refactor: rename few fields in attempt
Narayanbhat166 Sep 24, 2024
f8c237d
Merge branch 'main' into payment_attempt_v2_changes
Narayanbhat166 Sep 24, 2024
be1aab4
refactor: make payment attempt domain model changes
Narayanbhat166 Sep 24, 2024
01d5030
refactor: add back connector and fix errors in v2
Narayanbhat166 Sep 25, 2024
d881325
chore: cargo clippy
Narayanbhat166 Sep 25, 2024
133be4b
Merge branch 'main' into payment_attempt_v2_changes
Narayanbhat166 Sep 25, 2024
aef08dd
refactor: remove payment_v2 feature flag
Narayanbhat166 Sep 26, 2024
a400249
Merge branch 'main' into payment_attempt_v2_changes
Narayanbhat166 Sep 26, 2024
11bdfb5
chore: run formatter
hyperswitch-bot[bot] Sep 26, 2024
724c289
chore: merge fixes
Narayanbhat166 Sep 26, 2024
9740b44
Merge branch 'main' into payment_attempt_v2_changes
Narayanbhat166 Sep 26, 2024
ad2a4dd
chore: fix migrations
Narayanbhat166 Sep 26, 2024
1c83e8d
chore: cargo clippy_v2
Narayanbhat166 Sep 26, 2024
8e8ad98
refactor: fields for payment attempt
Narayanbhat166 Sep 28, 2024
faa83d1
chore: cargo clippy
Narayanbhat166 Sep 29, 2024
e17c8d6
Merge branch 'main' into payment_attempt_v2_refactor
Narayanbhat166 Sep 29, 2024
f05f7d4
chore: cargo clippy
Narayanbhat166 Sep 29, 2024
f59ce6b
feat: add ConfirmIntentRequest for v2
Narayanbhat166 Sep 30, 2024
f0cf6ca
feat: add ConfirmIntentResponse for v2
Narayanbhat166 Sep 30, 2024
efdac3d
wip: add payment_confirm_intent operation
Narayanbhat166 Sep 30, 2024
5de5b24
feat: add confirm-intent operation
Narayanbhat166 Oct 1, 2024
4e99c8e
Merge branch 'main' into payment_attempt_v2_refactor
Narayanbhat166 Oct 1, 2024
fa3c6c2
add payments create-intent api for v2
sai-harsha-vardhan Oct 1, 2024
329470f
fix spell check
sai-harsha-vardhan Oct 1, 2024
f9293b4
fix ci v2
sai-harsha-vardhan Oct 1, 2024
6b3a964
fix clippy v2
sai-harsha-vardhan Oct 1, 2024
ca5277b
fix clippy v2
sai-harsha-vardhan Oct 1, 2024
11611f4
refactor: add globalattempt id
Narayanbhat166 Oct 2, 2024
cdf6623
Merge branch 'main' into payment_attempt_v2_refactor
Narayanbhat166 Oct 2, 2024
9674768
Merge remote-tracking branch 'origin' into payment_confirm_api
Narayanbhat166 Oct 2, 2024
9b87b73
Merge branch 'payment_attempt_v2_refactor' into payment_confirm_api
Narayanbhat166 Oct 2, 2024
8339804
fix: merge fixes
Narayanbhat166 Oct 2, 2024
c6fd7ac
refactor: add get trackers for intent confirm
Narayanbhat166 Oct 2, 2024
b462348
Merge remote-tracking branch 'origin/add-payments-create-intent-api-v…
Narayanbhat166 Oct 2, 2024
7204bf2
feat: implement get tracker operation for confirm intent
Narayanbhat166 Oct 2, 2024
4be04f3
feat: implement operations in payments core
Narayanbhat166 Oct 2, 2024
90a8cea
resolve conflicts
sai-harsha-vardhan Oct 3, 2024
a198782
feat: implement confirm-intent endpoint with bare minimum features
Narayanbhat166 Oct 5, 2024
37a0997
chore: address few review comments
hrithikesh026 Oct 6, 2024
a61cab6
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] Oct 6, 2024
3171525
chore: address few more review comments
hrithikesh026 Oct 7, 2024
76b2573
accept unmutable payment_data in override_setup_future_usage_to_on_se…
hrithikesh026 Oct 7, 2024
50646fa
chore: address few more review comments
hrithikesh026 Oct 7, 2024
9d975ef
chore: address few more review comments
hrithikesh026 Oct 7, 2024
bde951a
chore: fetch profile_id in auth layer
hrithikesh026 Oct 7, 2024
e48124f
Merge branch 'add-payments-create-intent-api-v2' into payment_confirm…
Narayanbhat166 Oct 7, 2024
9fb996e
wip: fix merge errors
Narayanbhat166 Oct 7, 2024
d1f4e5a
Merge branch 'add-payments-create-intent-api-v2' into payment_confirm…
Narayanbhat166 Oct 7, 2024
1d57cf6
chore: address review comments
hrithikesh026 Oct 8, 2024
fc03daa
chore: address clippy warning
hrithikesh026 Oct 8, 2024
2639994
Merge branch 'main' into add-payments-create-intent-api-v2
hrithikesh026 Oct 8, 2024
eddbd06
Merge branch 'add-payments-create-intent-api-v2' into payment_confirm…
Narayanbhat166 Oct 8, 2024
4938b9a
chore: merge fixes
Narayanbhat166 Oct 8, 2024
7ef97ef
Merge branch 'add-payments-create-intent-api-v2' into payment_confirm…
Narayanbhat166 Oct 8, 2024
da76356
chore: run formatter
hyperswitch-bot[bot] Oct 8, 2024
333561e
avoid fetching profile in get_trackers
hrithikesh026 Oct 8, 2024
7648eea
use FromStr impl to get id_type from headers
hrithikesh026 Oct 8, 2024
d1424e8
refactor: put authenticationdatav2 under v2 flag
Narayanbhat166 Oct 8, 2024
952c867
refactor: remove unncessary profile fetch in create-intent
Narayanbhat166 Oct 9, 2024
cc5eeba
address clippy lints
hrithikesh026 Oct 9, 2024
3d97645
refactor: move a trait function to domain model
Narayanbhat166 Oct 9, 2024
e211e54
chore: merge fixes
Narayanbhat166 Oct 9, 2024
fd6c76a
address comments
hrithikesh026 Oct 9, 2024
6c2e6e6
generate client secret through impl function from GlobalPaymentId
hrithikesh026 Oct 9, 2024
df78c0a
address comments
hrithikesh026 Oct 10, 2024
c15e9ea
address comments
hrithikesh026 Oct 10, 2024
3810094
chore: cargo clippy
Narayanbhat166 Oct 10, 2024
ca68e63
address spell check errors
hrithikesh026 Oct 10, 2024
8d1c7be
address few more comments
hrithikesh026 Oct 10, 2024
1e2daae
Merge branch 'add-payments-create-intent-api-v2' into payment_confirm…
Narayanbhat166 Oct 10, 2024
a39edd3
chore: cargo clippy
Narayanbhat166 Oct 10, 2024
d719f09
refactor: remove redundant business profile being
Narayanbhat166 Oct 10, 2024
988155e
docs: add payment_confirm_intent to openapi
Narayanbhat166 Oct 10, 2024
24e3580
docs: add payment_confirm_intent to openapi
Narayanbhat166 Oct 11, 2024
6213889
Merge branch 'main' into add-payments-create-intent-api-v2
hrithikesh026 Oct 11, 2024
79a313a
docs: add payment_confirm_intent to openapi rust files
Narayanbhat166 Oct 11, 2024
83469be
Merge branch 'add-payments-create-intent-api-v2' into payment_confirm…
Narayanbhat166 Oct 11, 2024
aa8a604
chore: merge fixes
Narayanbhat166 Oct 11, 2024
6512f79
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] Oct 11, 2024
9777a2e
chore: cargo clippy and typos
Narayanbhat166 Oct 11, 2024
1d6f70f
chore: fix ci hack
Narayanbhat166 Oct 13, 2024
8ceb211
chore: cargo clippy v2
Narayanbhat166 Oct 13, 2024
985fdeb
chore: cargo clippy v2
Narayanbhat166 Oct 14, 2024
9b83bed
Merge branch 'main' into payment_confirm_api
Narayanbhat166 Oct 18, 2024
27e7658
chore: run formatter
hyperswitch-bot[bot] Oct 18, 2024
a3476bb
chore: cargo clippy
Narayanbhat166 Oct 18, 2024
6a5423a
fix: schema file for v2
Narayanbhat166 Oct 18, 2024
0fec17e
chore: delete vscode settings.json
Narayanbhat166 Oct 18, 2024
8518070
chore: cargo clippy_v2
Narayanbhat166 Oct 18, 2024
5358511
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] Oct 18, 2024
499b649
chore: cargo clippy_v2
Narayanbhat166 Oct 19, 2024
e7d0598
chore: cargo clippy_v2
Narayanbhat166 Oct 21, 2024
341bc52
refactor: add amount captured in amount details intent
Narayanbhat166 Oct 21, 2024
b2bf5a3
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] Oct 21, 2024
595e297
fix: feature flag with common_utils
Narayanbhat166 Oct 21, 2024
2d644b0
chore: remove TODO since it is fixed in previous commit
Narayanbhat166 Oct 21, 2024
08fcaed
refactor: create a function to derive attempt amount details from int…
Narayanbhat166 Oct 21, 2024
244dc3e
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] Oct 21, 2024
2ff70e2
refactor: fetch customer and raise internal server errors
Narayanbhat166 Oct 21, 2024
289d7c8
refactor: raise internal server error if connector is not found
Narayanbhat166 Oct 21, 2024
ce6a881
chore: resolve PR comments
Narayanbhat166 Oct 22, 2024
78df10c
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] Oct 22, 2024
d2e3c4e
refactor: move HeaderPayload from api models to domain models
Narayanbhat166 Oct 22, 2024
e4e9b09
chore: run formatter
hyperswitch-bot[bot] Oct 22, 2024
1cc14f8
refactor: move client secret to headers
Narayanbhat166 Oct 22, 2024
09fca87
chore: cargo clippy
Narayanbhat166 Oct 23, 2024
b1fa77d
Merge branch 'main' into payment_confirm_api
Narayanbhat166 Oct 23, 2024
d64dd26
chore: run formatter
hyperswitch-bot[bot] Oct 23, 2024
e8efec5
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] Oct 23, 2024
4deff35
refactor: rename operation and fix typos
Narayanbhat166 Oct 23, 2024
64bd149
chore: remove unused function
Narayanbhat166 Oct 23, 2024
f075f6b
chore: use updated_by in updateinternal
Narayanbhat166 Oct 23, 2024
a562a55
chore: remove mutually exclusive feature flag in payments response
Narayanbhat166 Oct 23, 2024
c567c18
chore: cargo clippy v2
Narayanbhat166 Oct 23, 2024
93aed24
Merge branch 'main' into payment_confirm_api
Narayanbhat166 Oct 23, 2024
6271e01
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] Oct 23, 2024
b4109bf
fix(connector_config): include the `payment_processing_details_at` `H…
ShankarSinghC Oct 23, 2024
19a51bc
refactor(connector): Move connectors Forte, Nexinets, Payeezy, Payu …
spritianeja03 Oct 23, 2024
8eec3a2
Merge branch 'main' into payment_confirm_api
Narayanbhat166 Oct 23, 2024
b9d669f
Merge branch 'main' into payment_confirm_api
Narayanbhat166 Oct 24, 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
2 changes: 1 addition & 1 deletion .github/workflows/CI-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ jobs:

- name: Run cargo clippy with v2 features enabled
shell: bash
run: just clippy_v2 -- -D warnings -Aunused -Aclippy::todo -Aclippy::diverging_sub_expression
run: just clippy_v2

- name: Run cargo check enabling only the release and v2 features
shell: bash
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
openapi: post /v2/payments/{id}/confirm-intent
---
3 changes: 2 additions & 1 deletion api-reference-v2/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"group": "Payments",
"pages": [
"api-reference/payments/payments--create-intent",
"api-reference/payments/payments--session-token"
"api-reference/payments/payments--session-token",
"api-reference/payments/payments--confirm-intent"
]
},
{
Expand Down
Loading
Loading