-
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?
Changes from all commits
59ded4c
0f17afb
76f1156
5eda0e5
82bf281
7f81dbe
37867e8
0c9888c
323b324
b3f6b71
a742749
0bef3bf
902594e
ec4b39a
bdabf1a
5083f92
eae7f74
71c3fa9
3576e72
a39b59c
ad6afdc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 commentThe 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 |
||
body: { | ||
status: "succeeded", | ||
amount: 6000, | ||
|
@@ -172,7 +172,6 @@ export const connectorDetails = { | |
amount: 6000, | ||
}, | ||
Response: { | ||
status: 200, | ||
body: { | ||
status: "pending", | ||
}, | ||
|
@@ -234,6 +233,9 @@ export const connectorDetails = { | |
payment_method: "card", | ||
payment_method_data: { | ||
card: successfulNo3DSCardDetails, | ||
billing: { | ||
email: "[email protected]", | ||
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. Without the {
"error": {
"code": "IR_04",
"message": "Missing required param: payment_method_data.billing.email",
"type": "invalid_request"
}
} |
||
}, | ||
}, | ||
currency: "USD", | ||
mandate_data: singleUseMandateData, | ||
|
@@ -250,6 +252,9 @@ export const connectorDetails = { | |
payment_method: "card", | ||
payment_method_data: { | ||
card: successfulNo3DSCardDetails, | ||
billing: { | ||
email: "[email protected]", | ||
}, | ||
}, | ||
currency: "USD", | ||
mandate_data: singleUseMandateData, | ||
|
@@ -296,6 +301,9 @@ export const connectorDetails = { | |
payment_method: "card", | ||
payment_method_data: { | ||
card: successfulNo3DSCardDetails, | ||
billing: { | ||
email: "[email protected]", | ||
}, | ||
}, | ||
currency: "USD", | ||
mandate_data: multiUseMandateData, | ||
|
@@ -342,7 +350,7 @@ export const connectorDetails = { | |
MITAutoCapture: { | ||
Request: {}, | ||
Response: { | ||
status: 200, | ||
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. same here |
||
status: 400, | ||
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. Even here it will be 200 status code right ? |
||
body: { | ||
status: "failed", | ||
error_code: "The currency not allow for the RecordType", | ||
|
@@ -569,9 +577,10 @@ export const connectorDetails = { | |
setup_future_usage: "off_session", | ||
}, | ||
Response: { | ||
status: 200, | ||
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. same here |
||
status: 400, | ||
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. same here ? |
||
body: { | ||
status: "succeeded", | ||
status: "failed", | ||
error_message: "The currency not allow for the RecordType", | ||
}, | ||
}, | ||
}, | ||
|
@@ -582,7 +591,8 @@ export const connectorDetails = { | |
Response: { | ||
status: 200, | ||
body: { | ||
status: "requires_capture", | ||
status: "failed", | ||
error_message: "The currency not allow for the RecordType", | ||
}, | ||
}, | ||
}, | ||
|
@@ -701,5 +711,77 @@ export const connectorDetails = { | |
}, | ||
}, | ||
}, | ||
PaymentConfirmWithShippingCost: { | ||
Response: { | ||
status: 200, | ||
body: { | ||
status: "succeeded", | ||
shipping_cost: 50, | ||
amount_received: 6050, | ||
amount: 6000, | ||
net_amount: 6050, | ||
}, | ||
}, | ||
}, | ||
ZeroAuthMandate: { | ||
Request: { | ||
payment_method: "card", | ||
payment_method_data: { | ||
card: successfulNo3DSCardDetails, | ||
}, | ||
currency: "USD", | ||
mandate_data: singleUseMandateData, | ||
}, | ||
Response: { | ||
status: 200, | ||
body: { | ||
status: "processing", | ||
}, | ||
}, | ||
}, | ||
SaveCardConfirmAutoCaptureOffSessionWithoutBilling: { | ||
Request: { | ||
setup_future_usage: "off_session", | ||
billing: null, | ||
}, | ||
Response: { | ||
status: 200, | ||
body: { | ||
status: "failed", | ||
error_message: "The currency not allow for the RecordType", | ||
}, | ||
}, | ||
}, | ||
ZeroAuthPaymentIntent: { | ||
Request: { | ||
amount: 0, | ||
setup_future_usage: "off_session", | ||
currency: "USD", | ||
}, | ||
Response: { | ||
status: 200, | ||
body: { | ||
status: "requires_payment_method", | ||
setup_future_usage: "off_session", | ||
}, | ||
}, | ||
}, | ||
ZeroAuthConfirmPayment: { | ||
Request: { | ||
payment_type: "setup_mandate", | ||
payment_method: "card", | ||
payment_method_type: "credit", | ||
payment_method_data: { | ||
card: successfulNo3DSCardDetails, | ||
}, | ||
}, | ||
Response: { | ||
status: 200, | ||
body: { | ||
status: "processing", | ||
setup_future_usage: "off_session", | ||
}, | ||
}, | ||
}, | ||
}, | ||
}; |
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 ?