feat(connector): [AMAZONPAY] add Payment flows for Amazon Pay Wallet (#7062)

Co-authored-by: Anurag Singh <anurag.singh.001@Anurag-Singh-WPMHJ5619X.local>
Co-authored-by: Anurag Singh <anurag.singh.001@AnuragSMHJ5619X.lan>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Anurag Singh <anurag.singh.001@MacBookPro.lan>
This commit is contained in:
Anurag
2025-08-29 14:00:32 +05:30
committed by GitHub
parent 9f0cd51cab
commit 23cf4376f5
70 changed files with 1954 additions and 278 deletions

View File

@ -2543,7 +2543,25 @@ fn get_wallet_required_fields() -> HashMap<enums::PaymentMethodType, ConnectorFi
),
(
enums::PaymentMethodType::AmazonPay,
connectors(vec![(Connector::Stripe, fields(vec![], vec![], vec![]))]),
connectors(vec![
(Connector::Stripe, fields(vec![], vec![], vec![])),
(
Connector::Amazonpay,
RequiredFieldFinal {
mandate: HashMap::new(),
non_mandate: HashMap::new(),
common: HashMap::from([
RequiredField::ShippingFirstName.to_tuple(),
RequiredField::ShippingLastName.to_tuple(),
RequiredField::ShippingAddressLine1.to_tuple(),
RequiredField::ShippingAddressCity.to_tuple(),
RequiredField::ShippingAddressState.to_tuple(),
RequiredField::ShippingAddressZip.to_tuple(),
RequiredField::ShippingPhone.to_tuple(),
]),
},
),
]),
),
(
enums::PaymentMethodType::Cashapp,