feat(connector): [ProphetPay] Implement Card Redirect PaymentMethodType and flows for Authorize, CompleteAuthorize, Psync, Refund, Rsync and Void (#2641)

Co-authored-by: Arjun Karthik <m.arjunkarthik@gmail.com>
This commit is contained in:
Sakil Mostak
2023-11-16 20:42:08 +05:30
committed by GitHub
parent e8de3a7107
commit 8d4adc52af
29 changed files with 731 additions and 160 deletions

View File

@ -990,6 +990,7 @@ pub enum PaymentMethodType {
BcaBankTransfer,
BniVa,
BriVa,
CardRedirect,
CimbVa,
#[serde(rename = "classic")]
ClassicReward,

View File

@ -1807,6 +1807,7 @@ impl From<PaymentMethodType> for PaymentMethod {
PaymentMethodType::Bizum => Self::BankRedirect,
PaymentMethodType::Blik => Self::BankRedirect,
PaymentMethodType::Alfamart => Self::Voucher,
PaymentMethodType::CardRedirect => Self::CardRedirect,
PaymentMethodType::CimbVa => Self::BankTransfer,
PaymentMethodType::ClassicReward => Self::Reward,
PaymentMethodType::Credit => Self::Card,