Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

feat(connector): [Shift4] add wallet configuration for UCS (#14629)

Pa1c64c2365f6f9
diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml
index 2571537493..0e70e60b27 100644
--- a/crates/connector_configs/toml/development.toml
+++ b/crates/connector_configs/toml/development.toml
@@ -5021,6 +5021,10 @@ options=["Connector"]
payment_method_type = "paysera"
[[shift4.wallet]]
payment_method_type = "skrill"
+[[shift4.wallet]]
+ payment_method_type = "apple_pay"
+[[shift4.wallet]]
+ payment_method_type = "google_pay"
[[shift4.pay_later]]
payment_method_type = "klarna"
[[shift4.voucher]]
@@ -5032,6 +5036,84 @@ api_key="API Key"
[shift4.connector_webhook_details]
merchant_secret="Source verification key"
+[[shift4.metadata.apple_pay]]
+name="certificate"
+label="Merchant certificate (Base64 encoded)"
+placeholder="Enter the merchant certificate (Base64 encoded)"
+required=true
+type="Text"
+[[shift4.metadata.apple_pay]]
+name="certificate_keys"
+label="Merchant private key (Base64 encoded)"
+placeholder="Enter the merchant private key (Base64 encoded)"
+required=true
+type="Text"
+[[shift4.metadata.apple_pay]]
+name="merchant_identifier"
+label="Apple merchant identifier"
+placeholder="Enter the Apple merchant identifier"
+required=true
+type="Text"
+[[shift4.metadata.apple_pay]]
+name="display_name"
+label="Display name"
+placeholder="Enter the display name"
+required=true
+type="Text"
+[[shift4.metadata.apple_pay]]
+name="initiative"
+label="Initiative"
+placeholder="Select the initiative"
+required=true
+type="Select"
+options=["web","ios"]
+[[shift4.metadata.apple_pay]]
+name="initiative_context"
+label="Domain name"
+placeholder="Enter the domain name"
+required=true
+type="Text"
+[[shift4.metadata.apple_pay]]
+name="merchant_business_country"
+label="Merchant business country"
+placeholder="Select the merchant business country"
+required=true
+type="Select"
+options=[]
+[[shift4.metadata.apple_pay]]
+name="payment_processing_details_at"
+label="Payment processing location"
+placeholder="Select the payment processing location"
+required=true
+type="Radio"
+options=["Connector"]
+
+[[shift4.metadata.google_pay]]
+name="merchant_name"
+label="Google Pay merchant name"
+placeholder="Enter the Google Pay merchant name"
+required=true
+type="Text"
+[[shift4.metadata.google_pay]]
+name="merchant_id"
+label="Google Pay merchant ID"
+placeholder="Enter the Google Pay merchant ID"
+required=true
+type="Text"
+[[shift4.metadata.google_pay]]
+name="gateway_merchant_id"
+label="Gateway merchant ID"
+placeholder="Enter the gateway merchant ID"
+required=true
+type="Text"
+[[shift4.metadata.google_pay]]
+name="allowed_auth_methods"
+label="Allowed authentication methods"
+placeholder="Select the allowed authentication methods"
+required=true
+type="MultiSelect"
+options=["CRYPTOGRAM_3DS"]
+
[stripe]
[[stripe.credit]]
payment_method_type = "Mastercard"
diff --git a/crates/connector_configs/toml/production.toml b/crates/connector_configs/toml/production.toml
index 9f78d9e9a6..2f6caa00fb 100644
--- a/crates/connector_configs/toml/production.toml
+++ b/crates/connector_configs/toml/production.toml
@@ -4321,6 +4321,10 @@ payment_method_type = "eps"
payment_method_type = "paysera"
[[shift4.wallet]]
payment_method_type = "skrill"
+[[shift4.wallet]]
+ payment_method_type = "apple_pay"
+[[shift4.wallet]]
+ payment_method_type = "google_pay"
[[shift4.pay_later]]
payment_method_type = "klarna"
[[shift4.voucher]]
@@ -4332,6 +4336,84 @@ api_key = "API Key"
[shift4.connector_webhook_details]
merchant_secret = "Source verification key"
+[[shift4.metadata.apple_pay]]
+name = "certificate"
+label = "Merchant certificate (Base64 encoded)"
+placeholder = "Enter the merchant certificate (Base64 encoded)"
+required = true
+type = "Text"
+[[shift4.metadata.apple_pay]]
+name = "certificate_keys"
+label = "Merchant private key (Base64 encoded)"
+placeholder = "Enter the merchant private key (Base64 encoded)"
+required = true
+type = "Text"
+[[shift4.metadata.apple_pay]]
+name = "merchant_identifier"
+label = "Apple merchant identifier"
+placeholder = "Enter the Apple merchant identifier"
+required = true
+type = "Text"
+[[shift4.metadata.apple_pay]]
+name = "display_name"
+label = "Display name"
+placeholder = "Enter the display name"
+required = true
+type = "Text"
+[[shift4.metadata.apple_pay]]
+name = "initiative"
+label = "Initiative"
+placeholder = "Select the initiative"
+required = true
+type = "Select"
+options = ["web", "ios"]
+[[shift4.metadata.apple_pay]]
+name = "initiative_context"
+label = "Domain name"
+placeholder = "Enter the domain name"
+required = true
+type = "Text"
+[[shift4.metadata.apple_pay]]
+name = "merchant_business_country"
+label = "Merchant business country"
+placeholder = "Select the merchant business country"
+required = true
+type = "Select"
+options = []
+[[shift4.metadata.apple_pay]]
+name = "payment_processing_details_at"
+label = "Payment processing location"
+placeholder = "Select the payment processing location"
+required = true
+type = "Radio"
+options = ["Connector"]
+
+[[shift4.metadata.google_pay]]
+name = "merchant_name"
+label = "Google Pay merchant name"
+placeholder = "Enter the Google Pay merchant name"
+required = true
+type = "Text"
+[[shift4.metadata.google_pay]]
+name = "merchant_id"
+label = "Google Pay merchant ID"
+placeholder = "Enter the Google Pay merchant ID"
+required = true
+type = "Text"
+[[shift4.metadata.google_pay]]
+name = "gateway_merchant_id"
+label = "Gateway merchant ID"
+placeholder = "Enter the gateway merchant ID"
+required = true
+type = "Text"
+[[shift4.metadata.google_pay]]
+name = "allowed_auth_methods"
+label = "Allowed authentication methods"
+placeholder = "Select the allowed authentication methods"
+required = true
+type = "MultiSelect"
+options = ["CRYPTOGRAM_3DS"]
+
[stripe]
[[stripe.credit]]
payment_method_type = "Mastercard"
diff --git a/crates/connector_configs/toml/sandbox.toml b/crates/connector_configs/toml/sandbox.toml
index 41a8876242..1586b25965 100644
--- a/crates/connector_configs/toml/sandbox.toml
+++ b/crates/connector_configs/toml/sandbox.toml
@@ -4984,6 +4984,10 @@ payment_method_type = "eps"
payment_method_type = "paysera"
[[shift4.wallet]]
payment_method_type = "skrill"
+[[shift4.wallet]]
+ payment_method_type = "apple_pay"
+[[shift4.wallet]]
+ payment_method_type = "google_pay"
[[shift4.pay_later]]
payment_method_type = "klarna"
[[shift4.voucher]]
@@ -4995,6 +4999,84 @@ api_key = "API Key"
[shift4.connector_webhook_details]
merchant_secret = "Source verification key"
+[[shift4.metadata.apple_pay]]
+name = "certificate"
+label = "Merchant certificate (Base64 encoded)"
+placeholder = "Enter the merchant certificate (Base64 encoded)"
+required = true
+type = "Text"
+[[shift4.metadata.apple_pay]]
+name = "certificate_keys"
+label = "Merchant private key (Base64 encoded)"
+placeholder = "Enter the merchant private key (Base64 encoded)"
+required = true
+type = "Text"
+[[shift4.metadata.apple_pay]]
+name = "merchant_identifier"
+label = "Apple merchant identifier"
+placeholder = "Enter the Apple merchant identifier"
+required = true
+type = "Text"
+[[shift4.metadata.apple_pay]]
+name = "display_name"
+label = "Display name"
+placeholder = "Enter the display name"
+required = true
+type = "Text"
+[[shift4.metadata.apple_pay]]
+name = "initiative"
+label = "Initiative"
+placeholder = "Select the initiative"
+required = true
+type = "Select"
+options = ["web", "ios"]
+[[shift4.metadata.apple_pay]]
+name = "initiative_context"
+label = "Domain name"
+placeholder = "Enter the domain name"
+required = true
+type = "Text"
+[[shift4.metadata.apple_pay]]
+name = "merchant_business_country"
+label = "Merchant business country"
+placeholder = "Select the merchant business country"
+required = true
+type = "Select"
+options = []
+[[shift4.metadata.apple_pay]]
+name = "payment_processing_details_at"
+label = "Payment processing location"
+placeholder = "Select the payment processing location"
+required = true
+type = "Radio"
+options = ["Connector"]
+
+[[shift4.metadata.google_pay]]
+name = "merchant_name"
+label = "Google Pay merchant name"
+placeholder = "Enter the Google Pay merchant name"
+required = true
+type = "Text"
+[[shift4.metadata.google_pay]]
+name = "merchant_id"
+label = "Google Pay merchant ID"
+placeholder = "Enter the Google Pay merchant ID"
+required = true
+type = "Text"
+[[shift4.metadata.google_pay]]
+name = "gateway_merchant_id"
+label = "Gateway merchant ID"
+placeholder = "Enter the gateway merchant ID"
+required = true
+type = "Text"
+[[shift4.metadata.google_pay]]
+name = "allowed_auth_methods"
+label = "Allowed authentication methods"
+placeholder = "Select the allowed authentication methods"
+required = true
+type = "MultiSelect"
+options = ["CRYPTOGRAM_3DS"]
+
[stripe]
[[stripe.credit]]
payment_method_type = "Mastercard"