diff --git a/.env b/.env index aaa0b592d..723c436b1 100644 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ -apiBaseUrl=http://sandbox.singularitytools.net +apiBaseUrl=https://sandbox.singularitytools.net sdkBaseUrl=https://checkout.sandbox.singularitytools.net/HyperLoader.js -mixpanelToken= \ No newline at end of file +mixpanelToken= diff --git a/public/hyperswitch/Gateway/ZENPAYMENTS.svg b/public/hyperswitch/Gateway/ZENPAYMENTS.svg new file mode 100644 index 000000000..4348ba31e --- /dev/null +++ b/public/hyperswitch/Gateway/ZENPAYMENTS.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/public/hyperswitch/wasm/euclid_bg.wasm b/public/hyperswitch/wasm/euclid_bg.wasm index c5cae9f09..0dfca6a29 100644 Binary files a/public/hyperswitch/wasm/euclid_bg.wasm and b/public/hyperswitch/wasm/euclid_bg.wasm differ diff --git a/src/screens/HyperSwitch/Connectors/ConnectorTypes.res b/src/screens/HyperSwitch/Connectors/ConnectorTypes.res index 65a88917d..964c4480a 100644 --- a/src/screens/HyperSwitch/Connectors/ConnectorTypes.res +++ b/src/screens/HyperSwitch/Connectors/ConnectorTypes.res @@ -78,6 +78,7 @@ type connectorName = | HELCIM | EVERYPAY | MAKECOMMERCE + | ZENPAYMENTS | UnknownConnector(string) type paymentMethod = diff --git a/src/screens/HyperSwitch/Connectors/ConnectorUtils.res b/src/screens/HyperSwitch/Connectors/ConnectorUtils.res index 71e00b2bb..b91004da7 100644 --- a/src/screens/HyperSwitch/Connectors/ConnectorUtils.res +++ b/src/screens/HyperSwitch/Connectors/ConnectorUtils.res @@ -67,6 +67,7 @@ let connectorList: array = [ WORLDLINE, WORLDPAY, ZEN, + ZENPAYMENTS, ] let connectorListForLive: array = [ @@ -74,6 +75,7 @@ let connectorListForLive: array = [ EVERYPAY, MAKECOMMERCE, ADYEN, + AUTHORIZEDOTNET, PAYPAL, BANKOFAMERICA, BLUESNAP, @@ -87,6 +89,7 @@ let connectorListForLive: array = [ PAYME, TRUSTPAY, ZEN, + ZENPAYMENTS, ] let getPaymentMethodFromString = paymentMethod => { @@ -362,6 +365,10 @@ let makecommerceInfo = { description: "EU payment platform", } +let zenpaymentsInfo = { + description: "Zen Payments payment platform", +} + let getConnectorNameString = connector => { switch connector { | ADYEN => "adyen" @@ -417,6 +424,7 @@ let getConnectorNameString = connector => { | HELCIM => "helcim" | EVERYPAY => "everypay" | MAKECOMMERCE => "makecommerce" + | ZENPAYMENTS => "zenpayments" | UnknownConnector(str) => str } } @@ -476,6 +484,7 @@ let getConnectorNameTypeFromString = connector => { | "helcim" => HELCIM | "everypay" => EVERYPAY | "makecommerce" => MAKECOMMERCE + | "zenpayments" => ZENPAYMENTS | _ => UnknownConnector("Not known") } } @@ -535,6 +544,7 @@ let getConnectorInfo = (connector: connectorName) => { | HELCIM => helcimInfo | EVERYPAY => everypayInfo | MAKECOMMERCE => makecommerceInfo + | ZENPAYMENTS => zenpaymentsInfo | UnknownConnector(_) => unknownConnectorInfo } }