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:
Sayak Bhattacharya
2025-08-01 18:11:09 +05:30
committed by GitHub
parent 8ac5e50422
commit c749bd9c51
61 changed files with 642 additions and 129 deletions

View File

@ -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 {

View File

@ -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