Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(connector): [Elavon] Implement cards Flow #6485

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ HypoNoeLbFurNiederosterreichUWien = "HypoNoeLbFurNiederosterreichUWien"
hypo_noe_lb_fur_niederosterreich_u_wien = "hypo_noe_lb_fur_niederosterreich_u_wien"
IOT = "IOT" # British Indian Ocean Territory country code
klick = "klick" # Swedish word for clicks
FPR = "FPR" # Fraud Prevention Rules
LSO = "LSO" # Lesotho country code
NAM = "NAM" # Namibia country code
ND = "ND" # North Dakota state code
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions api-reference-v2/openapi_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -5829,6 +5829,7 @@
"digitalvirgo",
"dlocal",
"ebanx",
"elavon",
"fiserv",
"fiservemea",
"fiuu",
Expand Down Expand Up @@ -18060,6 +18061,7 @@
"digitalvirgo",
"dlocal",
"ebanx",
"elavon",
"fiserv",
"fiservemea",
"fiuu",
Expand Down
2 changes: 2 additions & 0 deletions api-reference/openapi_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -8654,6 +8654,7 @@
"digitalvirgo",
"dlocal",
"ebanx",
"elavon",
"fiserv",
"fiservemea",
"fiuu",
Expand Down Expand Up @@ -22618,6 +22619,7 @@
"digitalvirgo",
"dlocal",
"ebanx",
"elavon",
"fiserv",
"fiservemea",
"fiuu",
Expand Down
2 changes: 1 addition & 1 deletion config/config.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ digitalvirgo.base_url = "https://dcb-integration-service-sandbox-external.stagin
dlocal.base_url = "https://sandbox.dlocal.com/"
dummyconnector.base_url = "http://localhost:8080/dummy-connector"
ebanx.base_url = "https://sandbox.ebanxpay.com/"
elavon.base_url = "https://api.demo.convergepay.com"
elavon.base_url = "https://api.demo.convergepay.com/VirtualMerchantDemo/"
fiserv.base_url = "https://cert.api.fiservapps.com/"
fiservemea.base_url = "https://prod.emea.api.fiservapps.com/sandbox"
fiuu.base_url = "https://sandbox.merchant.razer.com/"
Expand Down
2 changes: 1 addition & 1 deletion config/deployments/integration_test.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ digitalvirgo.base_url = "https://dcb-integration-service-sandbox-external.stagin
dlocal.base_url = "https://sandbox.dlocal.com/"
dummyconnector.base_url = "http://localhost:8080/dummy-connector"
ebanx.base_url = "https://sandbox.ebanxpay.com/"
elavon.base_url = "https://api.demo.convergepay.com"
elavon.base_url = "https://api.demo.convergepay.com/VirtualMerchantDemo/"
fiserv.base_url = "https://cert.api.fiservapps.com/"
fiservemea.base_url = "https://prod.emea.api.fiservapps.com/sandbox"
fiuu.base_url = "https://sandbox.merchant.razer.com/"
Expand Down
2 changes: 1 addition & 1 deletion config/deployments/production.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ digitalvirgo.base_url = "https://dcb-integration-service-sandbox-external.stagin
dlocal.base_url = "https://sandbox.dlocal.com/"
dummyconnector.base_url = "http://localhost:8080/dummy-connector"
ebanx.base_url = "https://sandbox.ebanxpay.com/"
elavon.base_url = "https://api.convergepay.com"
elavon.base_url = "https://api.convergepay.com/VirtualMerchant/"
fiserv.base_url = "https://cert.api.fiservapps.com/"
fiservemea.base_url = "https://prod.emea.api.fiservapps.com"
fiuu.base_url = "https://pay.merchant.razer.com/"
Expand Down
2 changes: 1 addition & 1 deletion config/deployments/sandbox.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ digitalvirgo.base_url = "https://dcb-integration-service-sandbox-external.stagin
dlocal.base_url = "https://sandbox.dlocal.com/"
dummyconnector.base_url = "http://localhost:8080/dummy-connector"
ebanx.base_url = "https://sandbox.ebanxpay.com/"
elavon.base_url = "https://api.demo.convergepay.com"
elavon.base_url = "https://api.demo.convergepay.com/VirtualMerchantDemo/"
fiserv.base_url = "https://cert.api.fiservapps.com/"
fiservemea.base_url = "https://prod.emea.api.fiservapps.com/sandbox"
fiuu.base_url = "https://sandbox.merchant.razer.com/"
Expand Down
2 changes: 1 addition & 1 deletion config/development.toml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ digitalvirgo.base_url = "https://dcb-integration-service-sandbox-external.stagin
dlocal.base_url = "https://sandbox.dlocal.com/"
dummyconnector.base_url = "http://localhost:8080/dummy-connector"
ebanx.base_url = "https://sandbox.ebanxpay.com/"
elavon.base_url = "https://api.demo.convergepay.com"
elavon.base_url = "https://api.demo.convergepay.com/VirtualMerchantDemo/"
fiserv.base_url = "https://cert.api.fiservapps.com/"
fiservemea.base_url = "https://prod.emea.api.fiservapps.com/sandbox"
fiuu.base_url = "https://sandbox.merchant.razer.com/"
Expand Down
2 changes: 1 addition & 1 deletion config/docker_compose.toml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ digitalvirgo.base_url = "https://dcb-integration-service-sandbox-external.stagin
dlocal.base_url = "https://sandbox.dlocal.com/"
dummyconnector.base_url = "http://localhost:8080/dummy-connector"
ebanx.base_url = "https://sandbox.ebanxpay.com/"
elavon.base_url = "https://api.demo.convergepay.com"
elavon.base_url = "https://api.demo.convergepay.com/VirtualMerchantDemo/"
fiserv.base_url = "https://cert.api.fiservapps.com/"
fiservemea.base_url = "https://prod.emea.api.fiservapps.com/sandbox"
fiuu.base_url = "https://sandbox.merchant.razer.com/"
Expand Down
2 changes: 2 additions & 0 deletions crates/api_models/src/connector_enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ pub enum Connector {
Digitalvirgo,
Dlocal,
Ebanx,
Elavon,
Fiserv,
Fiservemea,
Fiuu,
Expand Down Expand Up @@ -215,6 +216,7 @@ impl Connector {
| Self::Digitalvirgo
| Self::Dlocal
| Self::Ebanx
| Self::Elavon
| Self::Fiserv
| Self::Fiservemea
| Self::Fiuu
Expand Down
1 change: 1 addition & 0 deletions crates/common_enums/src/connector_enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ pub enum RoutableConnectors {
Digitalvirgo,
Dlocal,
Ebanx,
Elavon,
Fiserv,
Fiservemea,
Fiuu,
Expand Down
2 changes: 2 additions & 0 deletions crates/connector_configs/src/connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ pub struct ConnectorConfig {
pub digitalvirgo: Option<ConnectorTomlConfig>,
pub dlocal: Option<ConnectorTomlConfig>,
pub ebanx_payout: Option<ConnectorTomlConfig>,
pub elavon: Option<ConnectorTomlConfig>,
pub fiserv: Option<ConnectorTomlConfig>,
pub fiservemea: Option<ConnectorTomlConfig>,
pub fiuu: Option<ConnectorTomlConfig>,
Expand Down Expand Up @@ -345,6 +346,7 @@ impl ConnectorConfig {
Connector::Digitalvirgo => Ok(connector_data.digitalvirgo),
Connector::Dlocal => Ok(connector_data.dlocal),
Connector::Ebanx => Ok(connector_data.ebanx_payout),
Connector::Elavon => Ok(connector_data.elavon),
Connector::Fiserv => Ok(connector_data.fiserv),
Connector::Fiservemea => Ok(connector_data.fiservemea),
Connector::Fiuu => Ok(connector_data.fiuu),
Expand Down
44 changes: 43 additions & 1 deletion crates/connector_configs/toml/development.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4312,4 +4312,46 @@ type="Radio"
options=["Hyperswitch"]

[fiuu.connector_webhook_details]
merchant_secret="Source verification key"
merchant_secret="Source verification key"

[elavon]
[[elavon.credit]]
payment_method_type = "Mastercard"
[[elavon.credit]]
payment_method_type = "Visa"
[[elavon.credit]]
payment_method_type = "Interac"
[[elavon.credit]]
payment_method_type = "AmericanExpress"
[[elavon.credit]]
payment_method_type = "JCB"
[[elavon.credit]]
payment_method_type = "DinersClub"
[[elavon.credit]]
payment_method_type = "Discover"
[[elavon.credit]]
payment_method_type = "CartesBancaires"
[[elavon.credit]]
payment_method_type = "UnionPay"
[[elavon.debit]]
payment_method_type = "Mastercard"
[[elavon.debit]]
payment_method_type = "Visa"
[[elavon.debit]]
payment_method_type = "Interac"
[[elavon.debit]]
payment_method_type = "AmericanExpress"
[[elavon.debit]]
payment_method_type = "JCB"
[[elavon.debit]]
payment_method_type = "DinersClub"
[[elavon.debit]]
payment_method_type = "Discover"
[[elavon.debit]]
payment_method_type = "CartesBancaires"
[[elavon.debit]]
payment_method_type = "UnionPay"
[elavon.connector_auth.SignatureKey]
api_key="Account Id"
key1="User ID"
api_secret="Pin"
44 changes: 43 additions & 1 deletion crates/connector_configs/toml/production.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3270,4 +3270,46 @@ type="Radio"
options=["Hyperswitch"]

[fiuu.connector_webhook_details]
merchant_secret="Source verification key"
merchant_secret="Source verification key"

[elavon]
[[elavon.credit]]
payment_method_type = "Mastercard"
[[elavon.credit]]
payment_method_type = "Visa"
[[elavon.credit]]
payment_method_type = "Interac"
[[elavon.credit]]
payment_method_type = "AmericanExpress"
[[elavon.credit]]
payment_method_type = "JCB"
[[elavon.credit]]
payment_method_type = "DinersClub"
[[elavon.credit]]
payment_method_type = "Discover"
[[elavon.credit]]
payment_method_type = "CartesBancaires"
[[elavon.credit]]
payment_method_type = "UnionPay"
[[elavon.debit]]
payment_method_type = "Mastercard"
[[elavon.debit]]
payment_method_type = "Visa"
[[elavon.debit]]
payment_method_type = "Interac"
[[elavon.debit]]
payment_method_type = "AmericanExpress"
[[elavon.debit]]
payment_method_type = "JCB"
[[elavon.debit]]
payment_method_type = "DinersClub"
[[elavon.debit]]
payment_method_type = "Discover"
[[elavon.debit]]
payment_method_type = "CartesBancaires"
[[elavon.debit]]
payment_method_type = "UnionPay"
[elavon.connector_auth.SignatureKey]
api_key="Account Id"
key1="User ID"
api_secret="Pin"
44 changes: 43 additions & 1 deletion crates/connector_configs/toml/sandbox.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4276,4 +4276,46 @@ type="Radio"
options=["Hyperswitch"]

[fiuu.connector_webhook_details]
merchant_secret="Source verification key"
merchant_secret="Source verification key"

[elavon]
[[elavon.credit]]
payment_method_type = "Mastercard"
[[elavon.credit]]
payment_method_type = "Visa"
[[elavon.credit]]
payment_method_type = "Interac"
[[elavon.credit]]
payment_method_type = "AmericanExpress"
[[elavon.credit]]
payment_method_type = "JCB"
[[elavon.credit]]
payment_method_type = "DinersClub"
[[elavon.credit]]
payment_method_type = "Discover"
[[elavon.credit]]
payment_method_type = "CartesBancaires"
[[elavon.credit]]
payment_method_type = "UnionPay"
[[elavon.debit]]
payment_method_type = "Mastercard"
[[elavon.debit]]
payment_method_type = "Visa"
[[elavon.debit]]
payment_method_type = "Interac"
[[elavon.debit]]
payment_method_type = "AmericanExpress"
[[elavon.debit]]
payment_method_type = "JCB"
[[elavon.debit]]
payment_method_type = "DinersClub"
[[elavon.debit]]
payment_method_type = "Discover"
[[elavon.debit]]
payment_method_type = "CartesBancaires"
[[elavon.debit]]
payment_method_type = "UnionPay"
[elavon.connector_auth.SignatureKey]
api_key="Account Id"
key1="User ID"
api_secret="Pin"
1 change: 1 addition & 0 deletions crates/hyperswitch_connectors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ image = { version = "0.25.1", default-features = false, features = ["png"] }
mime = "0.3.17"
once_cell = "1.19.0"
qrcode = "0.14.0"
quick-xml = { version = "0.31.0", features = ["serialize"] }
rand = "0.8.5"
regex = "1.10.4"
reqwest = { version = "0.11.27" }
Expand Down
Loading
Loading