refactor: add surcharge_applicable to payment_intent and remove surcharge_metadata from payment_attempt (#2642)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Hrithikesh
2023-10-19 19:26:00 +05:30
committed by GitHub
parent 41b7742b54
commit e5fbaae0d4
17 changed files with 72 additions and 65 deletions

View File

@ -47,5 +47,7 @@ pub struct PaymentIntent {
// Manual review can occur when the transaction is marked as risky by the frm_processor, payment processor or when there is underpayment/over payment incase of crypto payment
pub merchant_decision: Option<String>,
pub payment_confirm_source: Option<storage_enums::PaymentSource>,
pub updated_by: String,
pub surcharge_applicable: Option<bool>,
}