feat(router): Add payment link support (#2105)

Co-authored-by: Sahkal Poddar <sahkal.poddar@juspay.in>
Co-authored-by: Kashif <46213975+kashif-m@users.noreply.github.com>
Co-authored-by: Kashif <mohammed.kashif@juspay.in>
Co-authored-by: Bernard Eugine <114725419+bernard-eugine@users.noreply.github.com>
This commit is contained in:
Sahkal Poddar
2023-10-12 14:39:10 +05:30
committed by GitHub
parent 46f14191ab
commit 642085dc74
58 changed files with 2565 additions and 23 deletions

View File

@ -104,6 +104,7 @@ pub struct PaymentIntent {
// Denotes the action(approve or reject) taken by merchant in case of manual review.
// 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_link_id: Option<String>,
pub payment_confirm_source: Option<storage_enums::PaymentSource>,
}
@ -143,6 +144,7 @@ pub struct PaymentIntentNew {
pub attempt_count: i16,
pub profile_id: Option<String>,
pub merchant_decision: Option<String>,
pub payment_link_id: Option<String>,
pub payment_confirm_source: Option<storage_enums::PaymentSource>,
}