feat(connector): [Xendit] ADD Cards & Mandates Flow #6966
feat(connector): [Xendit] ADD Cards & Mandates Flow #6966likhinbopanna merged 6 commits intomainfrom
Conversation
6da83bc to
0fddb93
Compare
crates/router/src/configs/defaults/payment_connector_required_fields.rs
Outdated
Show resolved
Hide resolved
crates/router/src/configs/defaults/payment_connector_required_fields.rs
Outdated
Show resolved
Hide resolved
crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
Outdated
Show resolved
Hide resolved
crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
Outdated
Show resolved
Hide resolved
crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
Outdated
Show resolved
Hide resolved
crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
Outdated
Show resolved
Hide resolved
crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
Outdated
Show resolved
Hide resolved
7d6b3a9 to
55e01c1
Compare
crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
Outdated
Show resolved
Hide resolved
1c9a909 to
282cf08
Compare
| customer_acceptance: null, | ||
| setup_future_usage: "on_session", | ||
| amount: 6500000, | ||
| billing: { |
There was a problem hiding this comment.
Can you make billing address as const and use it everywhere ?
| }, | ||
| currency: "IDR", | ||
| mandate_data: null, | ||
| customer_acceptance: { |
There was a problem hiding this comment.
You can also make customer_acceptance as const and use it
There was a problem hiding this comment.
Can you check this ?
aec75ce
06210f7 to
aec75ce
Compare
aec75ce to
dce0ac6
Compare
0d814be to
fc571f4
Compare
| billing: billing_details, | ||
| }, | ||
| setup_future_usage: "off_session", | ||
| customer_acceptance: customer_acceptance, |
There was a problem hiding this comment.
can you make every variable camelCase just so that we follow a single convention rather than having a mixture of different conventions?
| status: 501, | ||
| body: { | ||
| error: { | ||
| type: "invalid_request", | ||
| message: "Cancel/Void flow is not supported", |
There was a problem hiding this comment.
501 is not implemented error, right? or, is this expected to be a 4xx?
if this is being thrown from backend, then, i feel, it is wrong, we're supposed to throw a 4xx if not supported.
correct me if wrong.
| VoidAfterConfirm: { | ||
| Request: {}, | ||
| Response: { | ||
| status: 501, | ||
| status: 400, | ||
| body: { | ||
| error: { | ||
| type: "invalid_request", | ||
| message: "Cancel/Void flow is not supported", | ||
| code: "IR_00", | ||
| code: "IR_19", |
e81c6e4 to
6a0291e
Compare
| VoidAfterConfirm: { | ||
| Request: {}, | ||
| Response: { | ||
| status: 400, | ||
| body: { | ||
| error: { | ||
| type: "invalid_request", | ||
| message: "Cancel/Void flow is not supported", | ||
| code: "IR_19", | ||
| }, | ||
| }, | ||
| }, | ||
| }, |
There was a problem hiding this comment.
@likhinbopanna, we should take this up in the coming days and put this under getCustomExchange
Type of Change
Description
Added Xendit Cards & Mandates Flow
Additional Changes
Motivation and Context
How did you test it?
**Three-DS **
Redirection Response


Mandates 3DS
MIT-Payments
Sync:
Checklist
cargo +nightly fmt --allcargo clippy