-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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(connector): [Stancer] Add authorize flow for Stancer #2876
Open
beaujean
wants to merge
34
commits into
juspay:main
Choose a base branch
from
beaujean:stancer
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.
Open
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
7bcdf45
add_connector.sh inital commit
3968eb6
Stancer API handles amount in lower unit (cents)
13e78e4
Enable capture methods as automatic, manual, manual multiple
8cc578b
Bearer token API auth
ed3ceda
Fill Stancer structs
9d0e640
maintain alphabetical order
72e8bc8
fix issie from add_connector.sh
258c64c
maintain alphabetical order
08c1f3e
maintain alphabetical order
748eb2a
fix typos
0c3f9de
useless use of snake_case
5860d47
merge main
rsecob 1dfed33
add connector `stancer` with `add_connector` script + fix compilation…
rsecob d84f499
add stancer models
rsecob 56ad320
set currency unit + format auth headers
rsecob 6dc83d6
implement `ConnectorValidation`
rsecob 28a4370
add generic error response
rsecob 513fa44
change amount type in router data + transform `CreatePaymentRequest`
rsecob e810e25
tranform `Payment`
rsecob 2a55bba
tranform `Refund`
rsecob bb921d9
update `get_url` for authorize flow
rsecob 8628f97
update url for payment sync flow
rsecob 611865e
transform `UpdatePaymentRequest` + update impl of capture flow
rsecob 691123a
update url for refund & refund sync flows
rsecob 4c9d433
add `ConnectorCustomer` flow
rsecob c388b27
remove duplicated urls
rsecob 1eea005
downgrade 3ds request if not enrolled
rsecob b86aa9a
Merge branch 'main' into stancer
swangi-kumari dc71bd0
refactor: resolved conflicts and errors
swangi-kumari fc589e7
refactor: merged model.rs file in transformers.rs
swangi-kumari 64017e2
refactor: resolve clippy warnings and openspecs
swangi-kumari f12d2d8
Merge branch 'main' into stancer
swangi-kumari e13ce0f
address comments
rsecob 7de44d0
comment connector
rsecob 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
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 |
---|---|---|
|
@@ -115,6 +115,7 @@ pub enum Connector { | |
Rapyd, | ||
Shift4, | ||
Square, | ||
Stancer, | ||
Stax, | ||
Stripe, | ||
Trustpay, | ||
|
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 | ||||
---|---|---|---|---|---|---|
|
@@ -151,6 +151,7 @@ pub enum RoutableConnectors { | |||||
Shift4, | ||||||
Signifyd, | ||||||
Square, | ||||||
// Stancer, | ||||||
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. No need to comment, it is not a template draft PR, we have the implementation of the connector.
Suggested change
|
||||||
Stax, | ||||||
Stripe, | ||||||
Trustpay, | ||||||
|
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.
since prod base url and sbx url is same,
we can add a note in wasm dashboard that api keys for test env starts with
stest_xxx
and for prod env starts withsprod_xxx
to avoid making a actual payment in sbx if prod keys are configured.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.
Of course, where is the wasm dashboard?