feat: store payment check codes and authentication data from processors (#3958)

Co-authored-by: AkshayaFoiger <akshaya.shankar@juspay.in>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Narayan Bhat
2024-03-20 13:26:20 +05:30
committed by GitHub
parent f3141ecbf9
commit 7afc44e835
39 changed files with 1065 additions and 16 deletions

View File

@ -1488,6 +1488,7 @@ impl DataModelExt for PaymentAttemptUpdate {
encoded_data,
unified_code,
unified_message,
payment_method_data,
} => DieselPaymentAttemptUpdate::ResponseUpdate {
status,
connector,
@ -1507,6 +1508,7 @@ impl DataModelExt for PaymentAttemptUpdate {
encoded_data,
unified_code,
unified_message,
payment_method_data,
},
Self::UnresolvedResponseUpdate {
status,
@ -1543,6 +1545,7 @@ impl DataModelExt for PaymentAttemptUpdate {
unified_code,
unified_message,
connector_transaction_id,
payment_method_data,
} => DieselPaymentAttemptUpdate::ErrorUpdate {
connector,
status,
@ -1554,6 +1557,7 @@ impl DataModelExt for PaymentAttemptUpdate {
unified_code,
unified_message,
connector_transaction_id,
payment_method_data,
},
Self::CaptureUpdate {
multiple_capture_count,
@ -1794,6 +1798,7 @@ impl DataModelExt for PaymentAttemptUpdate {
encoded_data,
unified_code,
unified_message,
payment_method_data,
} => Self::ResponseUpdate {
status,
connector,
@ -1813,6 +1818,7 @@ impl DataModelExt for PaymentAttemptUpdate {
encoded_data,
unified_code,
unified_message,
payment_method_data,
},
DieselPaymentAttemptUpdate::UnresolvedResponseUpdate {
status,
@ -1849,6 +1855,7 @@ impl DataModelExt for PaymentAttemptUpdate {
unified_code,
unified_message,
connector_transaction_id,
payment_method_data,
} => Self::ErrorUpdate {
connector,
status,
@ -1860,6 +1867,7 @@ impl DataModelExt for PaymentAttemptUpdate {
unified_code,
unified_message,
connector_transaction_id,
payment_method_data,
},
DieselPaymentAttemptUpdate::CaptureUpdate {
amount_to_capture,