-
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
ci(cypress): Add Noon Connector #6603
Conversation
Changed Files
|
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.
Other than that, looks good to me!
last4: "4242", | ||
card_type: "CREDIT", | ||
card_network: "Visa", | ||
card_issuer: "STRIPE PAYMENTS UK LIMITED", |
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.
"Noon", 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.
This is just card_issuer nothing related to connector
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.
😒
}, | ||
connector_metadata: connectorMetadata, | ||
customer_acceptance: null, | ||
currency: "AED", |
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.
Please do not pass currency in confirm calls.
I do not think we need it in refunds either.
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.
We need to pass currency in some of the scenarios where we use create + confirm
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.
Create + confirm, okay. But in every other case.
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.
Even Refund Payments use create + confirm
}, | ||
Response: { | ||
status: 200, | ||
trigger_skip: true, |
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.
I would suggest you moving this to new object called as Configs
.
Please check my draft PR for reference.
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.
We can make this change when your pr gets merged
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.
ok
…ed-cypress * 'main' of github.com:juspay/hyperswitch: fix(connector): [Cybersource] change commerce indicator for applepay (#6634) ci(cypress): Add Noon Connector (#6603) fix(analytics): remove first_attempt group by in Payment Intent old metrics (#6627) chore(version): 2024.11.22.0 refactor: update API response for JSON deserialization errors (#6610) fix(connector): [Novalnet] Get email from customer email if billing.email is not present (#6619) feat(connector): [AIRWALLEX] Update production endpoint (#6632) feat(themes): Add `theme_name` and `entity_type` in themes table (#6621) feat(connector): [Xendit] Template PR (#6593)
Type of Change
Description
Add Noon Connector for Cypress Automation
Note : Noon supports only 3ds payments , so all the no_three_ds payments are skipped
Additional Changes
Motivation and Context
Noon connector was not available in the cypress automation
How did you test it?
Checklist
cargo +nightly fmt --all
cargo clippy