-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
refactor(cypress): pass connector_type
externally
#5522
Merged
Merged
Conversation
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
Aprabhat19
approved these changes
Aug 5, 2024
Sakilmostak
approved these changes
Aug 5, 2024
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.
LGTM
likhinbopanna
approved these changes
Aug 5, 2024
pixincreate
added a commit
that referenced
this pull request
Aug 5, 2024
…ypress-x2 * 'main' of github.com:juspay/hyperswitch: refactor(cypress): pass `connector_type` externally (#5522) refactor(router): refactor merchant_connector update v2 flow (#5484) feat(router): add accept language header middleware (#5500) chore(version): 2024.08.05.0 chore(postman): update Postman collection files fix(pm_auth): Added mca status check in pml (#5421) refactor(payment_methods): List the Payment Methods for Merchant , based on the connector type (#4909) fix(router): [Iatapay] make error status and error message optional (#5382) chore(version): 2024.08.02.0 feat(business_profile): introduce domain models for business profile v1 and v2 APIs (#5497) feat(auth): Add `profile_id` in `AuthenticationData` (#5492) feat(core): accept business profile in core functions for payments, refund, payout and disputes (#5498) refactor(router): domain and diesel model changes for merchant_connector_account create v2 flow (#5462) fix(open_payment_links): send displaySavedPaymentMethods as false explicitly for open payment links (#5501) refactor(role): determine level of role entity (#5488)
pixincreate
added a commit
that referenced
this pull request
Aug 5, 2024
* 'main' of github.com:juspay/hyperswitch: (37 commits) fix(connector): Fixed status mapping for Plaid (#5525) feat(core): accept profile_id in merchant_account, connectors and customers core functions (#5505) refactor(auth): Pass `profile_id` from the auth to core functions (#5520) refactor(routing): Refactor api v2 routes for deactivating and retrieving the routing config (#5478) refactor(cypress): pass `connector_type` externally (#5522) refactor(router): refactor merchant_connector update v2 flow (#5484) feat(router): add accept language header middleware (#5500) chore(version): 2024.08.05.0 chore(postman): update Postman collection files fix(pm_auth): Added mca status check in pml (#5421) refactor(payment_methods): List the Payment Methods for Merchant , based on the connector type (#4909) fix(router): [Iatapay] make error status and error message optional (#5382) chore(version): 2024.08.02.0 feat(business_profile): introduce domain models for business profile v1 and v2 APIs (#5497) feat(auth): Add `profile_id` in `AuthenticationData` (#5492) feat(core): accept business profile in core functions for payments, refund, payout and disputes (#5498) refactor(router): domain and diesel model changes for merchant_connector_account create v2 flow (#5462) fix(open_payment_links): send displaySavedPaymentMethods as false explicitly for open payment links (#5501) refactor(role): determine level of role entity (#5488) feat(cypress): add corner cases (#5481) ...
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
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.
Type of Change
Description
#4909 will break Cypress tests.
We need to replace
fiz_operations
during merchant connector account create call with respectiveconnector_type
(s) --payment_processor
for payments andpayout_processor
for payouts, for now.Additional Changes
Motivation and Context
NIL
How did you test it?
This change only affects connector create. So there is no need to look for other flows
PML
![image](https://private-user-images.githubusercontent.com/69745008/355043023-fa35fb6c-d862-4cc0-b584-c38f03e5e094.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MjMxOTYsIm5iZiI6MTczODgyMjg5NiwicGF0aCI6Ii82OTc0NTAwOC8zNTUwNDMwMjMtZmEzNWZiNmMtZDg2Mi00Y2MwLWI1ODQtYzM4ZjAzZTVlMDk0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDA2MjEzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcwYjI3OWMyNWQyNzZjMzJkMmZhYjQ1ZDBjODZhYTU0MTBjYTI5YWYzNjUwMDIwNGNmM2ZjNTIxZjMxZTc4YzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.v_G2rBCSYEy4-iufq-zvk0fI-mjpBfZtVN2J-cD18bA)
Payment Merchant Connector Create Call
![image](https://private-user-images.githubusercontent.com/69745008/355043248-a1709bf1-7afb-4ef4-93b8-4f592566872f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MjMxOTYsIm5iZiI6MTczODgyMjg5NiwicGF0aCI6Ii82OTc0NTAwOC8zNTUwNDMyNDgtYTE3MDliZjEtN2FmYi00ZWY0LTkzYjgtNGY1OTI1NjY4NzJmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDA2MjEzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg5ZTU3ZDU3MWUyYTAxYjk2NjE3OWE3ZTYyNjM0MGE3OTVlM2JjMGZjYjQ4MzAyMDBiYjExN2I4MGM4ZTZiMGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.iRBbF4EuK9nwBeCzeWG4LeLLq49QQxpgUlh_4O6Ewco)
![image](https://private-user-images.githubusercontent.com/69745008/355043442-cc8118b4-c236-493e-a58f-77b3f37ca199.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MjMxOTYsIm5iZiI6MTczODgyMjg5NiwicGF0aCI6Ii82OTc0NTAwOC8zNTUwNDM0NDItY2M4MTE4YjQtYzIzNi00OTNlLWE1OGYtNzdiM2YzN2NhMTk5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDA2MjEzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNmZjNkOTgxYWVlOWE0YjI2ZGM0YWViMGYxMGU0NDdiNzMwZDQ0ZjFkN2NhNTM4YTZmZDQ5MmU3NzJiMDRlODAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Ont31O9p9WHZmcKdw8o-rPEoEPjGfU3T-eBHgu79E64)
Payout Merchant Connector Create Call
![image](https://private-user-images.githubusercontent.com/69745008/355043576-ec6f1d98-71fc-4b27-8661-09b5af2c730e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiw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mF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDA2MjEzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc0MTg4YTA5MzI1NDcxM2RjOTFmZjdhOGE1NmFiZWY3ZTRjMzA4ZGE4ZDNhYjgxMDFmZWQxNTQwMDE4ZGIyY2EmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.nrqB1tK4QKPJnqlxnAO5p9nM1iVwjX2yAzNgy6uUAz4)
Routing is unaffected as usual
![image](https://private-user-images.githubusercontent.com/69745008/355043820-8edffe52-71c0-4ea0-904b-b12cf52fb7eb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MjMxOTYsIm5iZiI6MTczODgyMjg5NiwicGF0aCI6Ii82OTc0NTAwOC8zNTUwNDM4MjAtOGVkZmZlNTItNzFjMC00ZWEwLTkwNGItYjEyY2Y1MmZiN2ViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDA2MjEzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRmMDk2ZjAyZWJjYjEzMjlkYjY1NTk4YTQzNmU0ZmIyZWExNjBjZjc1Y2NmODQ0ZGUzNjM1NjhkYWIwMWM3ZjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.YxYSIvUAdrS2Lj3JtWu86wpLQWNxenPnsGEUlMM2L5E)
Checklist
prettier . -write
cargo clippy