mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
fix(connector): [Novalnet] handle refund failure response in novalnet (#7721)
This commit is contained in:
@ -902,7 +902,7 @@ pub struct NovalnetRefundsTransactionData {
|
|||||||
pub order_no: Option<String>,
|
pub order_no: Option<String>,
|
||||||
pub payment_type: String,
|
pub payment_type: String,
|
||||||
pub refund: RefundData,
|
pub refund: RefundData,
|
||||||
pub refunded_amount: u64,
|
pub refunded_amount: Option<u64>,
|
||||||
pub status: NovalnetTransactionStatus,
|
pub status: NovalnetTransactionStatus,
|
||||||
pub status_code: u64,
|
pub status_code: u64,
|
||||||
pub test_mode: u8,
|
pub test_mode: u8,
|
||||||
@ -913,7 +913,7 @@ pub struct NovalnetRefundsTransactionData {
|
|||||||
pub struct RefundData {
|
pub struct RefundData {
|
||||||
amount: u64,
|
amount: u64,
|
||||||
currency: common_enums::Currency,
|
currency: common_enums::Currency,
|
||||||
payment_type: String,
|
payment_type: Option<String>,
|
||||||
tid: Option<Secret<i64>>,
|
tid: Option<Secret<i64>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user