mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(connector): [BLUECODE] Added Bluecode Wallet QR Code Redirect Payment Method (#8762)
Co-authored-by: Sayak Bhattacharya <sayak.b@Sayak-Bhattacharya-G092THXJ34.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8ac5e50422
commit
c749bd9c51
@ -3345,6 +3345,26 @@ fn get_bank_transfer_required_fields() -> HashMap<enums::PaymentMethodType, Conn
|
||||
]),
|
||||
},
|
||||
),
|
||||
(
|
||||
Connector::Bluecode,
|
||||
RequiredFieldFinal {
|
||||
mandate: HashMap::new(),
|
||||
non_mandate: HashMap::new(),
|
||||
common: HashMap::from([
|
||||
RequiredField::BillingUserFirstName.to_tuple(),
|
||||
RequiredField::BillingUserLastName.to_tuple(),
|
||||
RequiredField::BillingCountries(vec![
|
||||
"AT", "BE", "BG", "HR", "CY", "CZ", "DK", "EE", "FI", "FR", "DE",
|
||||
"GR", "HU", "IE", "IT", "LV", "LT", "LU", "MT", "NL", "PL", "PT",
|
||||
"RO", "SK", "SI", "ES", "SE", "IS", "LI", "NO",
|
||||
])
|
||||
.to_tuple(),
|
||||
RequiredField::BillingAddressCity.to_tuple(),
|
||||
RequiredField::BillingAddressLine1.to_tuple(),
|
||||
RequiredField::BillingAddressZip.to_tuple(),
|
||||
]),
|
||||
},
|
||||
),
|
||||
(
|
||||
Connector::Facilitapay,
|
||||
RequiredFieldFinal {
|
||||
|
||||
@ -104,6 +104,7 @@ pub fn validate_payment_method_type_against_payment_method(
|
||||
api_enums::PaymentMethod::Wallet => matches!(
|
||||
payment_method_type,
|
||||
api_enums::PaymentMethodType::AmazonPay
|
||||
| api_enums::PaymentMethodType::Bluecode
|
||||
| api_enums::PaymentMethodType::Paysera
|
||||
| api_enums::PaymentMethodType::Skrill
|
||||
| api_enums::PaymentMethodType::ApplePay
|
||||
|
||||
Reference in New Issue
Block a user