-
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(router): implement post_update_tracker for SessionUpdate Flow and add support for session_update_flow for Paypal #6299
Merged
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
0265c1d
feat: add order_create_endpoint
swangi-kumari e343022
refactor: paypal sdk via create order
swangi-kumari bae1ed8
refactor: merge main
swangi-kumari 3eea57a
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] 97b7104
feat: post update tracker for craete order
swangi-kumari 902b799
Merge branch 'create-order' of https://github.com/juspay/hyperswitch …
swangi-kumari 1cd705b
refactor: next action
swangi-kumari 1e258a8
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] 99a03bf
Merge branch 'main' into create-order
swangi-kumari 6071f12
refactor: some refactor
swangi-kumari 1563a0b
refactor: rename to post_session_tokens
swangi-kumari 990a535
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] abf5f65
refactor: status of paymene attempt
swangi-kumari bfe5bec
refactor: refactor post_update_trackers
swangi-kumari 5aa4a7a
refactor: add dynamic fields
swangi-kumari 7235dac
refactor: paypal paymnet succeeded
swangi-kumari 2bda2ef
Merge branch 'main' of https://github.com/juspay/hyperswitch into cre…
swangi-kumari 5b57ae3
refactor: mereg main
swangi-kumari f4cd68f
chore: run formatter
hyperswitch-bot[bot] 6b14707
refactor: formating
swangi-kumari 5a0b776
Merge branch 'create-order' of https://github.com/juspay/hyperswitch …
swangi-kumari 6b3fcc0
Merge branch 'main' into create-order
swangi-kumari 1f152c1
refactor: solve clippy
swangi-kumari 5ff5f6f
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] f463adf
refactor: some refactor
swangi-kumari e93d487
Merge branch 'create-order' of https://github.com/juspay/hyperswitch …
swangi-kumari 4833097
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] a4044a8
refactor: remove shipping cost
swangi-kumari 42aee19
Merge branch 'create-order' of https://github.com/juspay/hyperswitch …
swangi-kumari 04b3afe
refactor: open api
swangi-kumari 8f1d7e9
feat: sessionupdate for paypal
swangi-kumari 0bdf1a8
refactor: post update trackers
swangi-kumari ebf6d43
refactor: store connector_transaction_id in connector_metadata
swangi-kumari e88f86e
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] 5a2f0f1
Merge branch 'main' into create-order
swangi-kumari 726c34b
refactor: refactor
swangi-kumari 6117ddf
refactor: resolve comments
swangi-kumari e15ff1e
refactor: fix spell check
swangi-kumari d34a704
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] 2976976
refactor: add status
swangi-kumari 7a68862
Merge branch 'create-order' of https://github.com/juspay/hyperswitch …
swangi-kumari d3da258
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] 39b3523
Merge branch 'create-order' into paypal-session-upadte
swangi-kumari da984a8
Merge remote-tracking branch 'origin' into paypal-session-upadte
swangi-kumari d46f5fd
refactor: add session_id in SdkPaymentsSessionUpdateData req
swangi-kumari 2c7829d
refactor: merege main
swangi-kumari c84891b
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] 430d8f6
refactor: fix
swangi-kumari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -404,25 +404,25 @@ pub enum AuthorizationStatus { | |
Unresolved, | ||
} | ||
|
||
// #[derive( | ||
// Clone, | ||
// Debug, | ||
// Eq, | ||
// PartialEq, | ||
// serde::Deserialize, | ||
// serde::Serialize, | ||
// strum::Display, | ||
// strum::EnumString, | ||
// ToSchema, | ||
// Hash, | ||
// )] | ||
// #[router_derive::diesel_enum(storage_type = "text")] | ||
// #[serde(rename_all = "snake_case")] | ||
// #[strum(serialize_all = "snake_case")] | ||
// pub enum SessionUpdateStatus { | ||
// Success, | ||
// Failure, | ||
// } | ||
#[derive( | ||
Clone, | ||
Debug, | ||
Eq, | ||
PartialEq, | ||
serde::Deserialize, | ||
serde::Serialize, | ||
strum::Display, | ||
strum::EnumString, | ||
ToSchema, | ||
Hash, | ||
)] | ||
#[router_derive::diesel_enum(storage_type = "text")] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we do not need to derive database traits if this enum will not be stored in the database |
||
#[serde(rename_all = "snake_case")] | ||
#[strum(serialize_all = "snake_case")] | ||
pub enum SessionUpdateStatus { | ||
Success, | ||
Failure, | ||
} | ||
|
||
#[derive( | ||
Clone, | ||
|
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
session id is mandatory when calling this api right?
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.
In case of apple_pay and google we don't need this.
This is only required for payment_method_type in which we have to call connector for updating the session