-
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
refactor(cypress): Fiuu connector configuration changes #7297
base: main
Are you sure you want to change the base?
Conversation
…st for connector Fiuu
Changed Files
|
…to fiuu-cypress-fixes
@@ -229,7 +229,7 @@ export const connectorDetails = { | |||
payment_method_data: { | |||
card: successfulNo3DSCardDetails, | |||
billing: { | |||
email: "[email protected]", | |||
email: "[email protected]", |
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.
Without the billing.email
, the following Response Body was yielded
{
"error": {
"code": "IR_04",
"message": "Missing required param: payment_method_data.billing.email",
"type": "invalid_request"
}
}
…to fiuu-cypress-fixes
…responses so that the errors get verified
@@ -135,7 +135,6 @@ export const connectorDetails = { | |||
amount_to_capture: 6000, | |||
}, | |||
Response: { | |||
status: 200, |
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.
Why did you remove status code check ?
@@ -342,7 +349,6 @@ export const connectorDetails = { | |||
MITAutoCapture: { | |||
Request: {}, | |||
Response: { | |||
status: 200, |
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.
same here
@@ -569,9 +575,9 @@ export const connectorDetails = { | |||
setup_future_usage: "off_session", | |||
}, | |||
Response: { | |||
status: 200, |
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.
same here
@@ -135,7 +135,7 @@ export const connectorDetails = { | |||
amount_to_capture: 6000, | |||
}, | |||
Response: { | |||
status: 200, | |||
status: 400, |
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.
If the status code is 400 , how are you expecting succeeded status below response
@@ -342,7 +350,7 @@ export const connectorDetails = { | |||
MITAutoCapture: { | |||
Request: {}, | |||
Response: { | |||
status: 200, | |||
status: 400, |
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 here it will be 200 status code right ?
@@ -569,9 +577,10 @@ export const connectorDetails = { | |||
setup_future_usage: "off_session", | |||
}, | |||
Response: { | |||
status: 200, | |||
status: 400, |
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.
same here ?
Type of Change
Description
The FIUU Connector was not functioning as expected.
Key Changes
PaymentConfirmWithShippingCost
,ZeroAuthMandate
, andSaveCardConfirmAutoCaptureOffSessionWithoutBilling
.billing.email
in some places in the configs where it was a required parameter.error_message: "The currency not allow for the RecordType"
wherever necessary.connector_transaction_id: null
if the payment fails. So, changed the command accordingly.Additional Changes
Motivation and Context
How did you test it?
Initial Condition

Current Condition

Checklist
cargo +nightly fmt --all
cargo clippy