Skip to content

Commit

Permalink
release: update latest hyperswitch stable release V1.110.0 (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
jagan-jaya authored Aug 2, 2024
1 parent ba221a0 commit 0b2a374
Show file tree
Hide file tree
Showing 14 changed files with 122 additions and 46 deletions.
Binary file not shown.
24 changes: 13 additions & 11 deletions charts/incubator/hyperswitch-app/configs/misc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ enabled = true # boolean

[connector_request_reference_id_config]
merchant_ids_send_payment_id_as_connector_request_id = [
"merchant_id_1",
"merchant_id_2",
"etc.,",
"merchant_id_1",
"merchant_id_2"
]

[cors]
Expand Down Expand Up @@ -45,6 +44,9 @@ outgoing_webhook_logs_topic = "topic" # Kafka topic to be used for outgoing webh
dispute_analytics_topic = "topic" # Kafka topic to be used for Dispute events
audit_events_topic = "topic" # Kafka topic to be used for Payment Audit events
payout_analytics_topic = "topic" # Kafka topic to be used for Payouts and PayoutAttempt events
consolidated_events_topic = "topic" # Kafka topic to be used for Consolidated events
authentication_analytics_topic = "topic" # Kafka topic to be used for Authentication events
fraud_check_analytics_topic = "topic" # Kafka topic to be used for Fraud Check events

[forex_api]
call_delay = 21600 # Api calls are made after every 6 hrs
Expand All @@ -67,9 +69,11 @@ traces_enabled = false # boolean [true or false],
metrics_enabled = false # boolean [true or false], whether metrics are enabled
ignore_errors = false # boolean [true or false], whether to ignore errors during traces or metrics pipeline setup
sampling_rate = 0.1 # decimal rate between 0.0 - 1.0
otel_exporter_otlp_endpoint = "http://localhost:4317" # endpoint to send metrics and traces to, can include port number
otel_exporter_otlp_timeout = 5000 # timeout (in milliseconds) for sending metrics and traces
use_xray_generator = false # Set this to true for AWS X-ray compatible traces
route_to_trace = ["*/confirm"]
bg_metrics_collection_interval_in_secs = 15 # Interval for collecting the metrics in background thread

[lock_settings]
delay_between_retries_in_milliseconds = 500 # Delay between retries in milliseconds
Expand All @@ -89,9 +93,9 @@ theme = "#4285F4"
logo = "https://app.hyperswitch.io/HyperswitchFavicon.png"
merchant_name = "HyperSwitch"
[generic_link.payment_method_collect.enabled_payment_methods]
card = ["credit", "debit"]
bank_transfer = ["ach", "bacs", "sepa"]
wallet = ["paypal", "pix", "venmo"]
card = "credit,debit"
bank_transfer = "ach,bacs,sepa"
wallet = "paypal,pix,venmo"

[generic_link.payout_link]
sdk_url = "http://localhost:9090/0.16.7/v0/HyperLoader.js"
Expand All @@ -101,16 +105,14 @@ theme = "#4285F4"
logo = "https://app.hyperswitch.io/HyperswitchFavicon.png"
merchant_name = "HyperSwitch"
[generic_link.payout_link.enabled_payment_methods]
card = ["credit", "debit"]
bank_transfer = ["ach", "bacs", "sepa"]
wallet = ["paypal", "pix", "venmo"]
card = "credit,debit"


[payment_method_auth]
redis_expiry = 900 # Redis expiry time in milliseconds

[redis]
host = "redis.com"
host = "127.0.0.1"
port = 6379
pool_size = 5 # Number of connections to keep open
reconnect_max_attempts = 5 # Maximum number of reconnection attempts to make before failing. Set to 0 to retry forever.
Expand Down Expand Up @@ -163,7 +165,7 @@ workers = 8

[multitenancy]
enabled = false
global_tenant = { schema = "public", redis_key_prefix = "" }
global_tenant = { schema = "public", redis_key_prefix = "", clickhouse_database = "default"}

[multitenancy.tenants]
public = { name = "hyperswitch", base_url = "http://localhost:8080", schema = "public", redis_key_prefix = "", clickhouse_database = "default"}
Expand Down
45 changes: 41 additions & 4 deletions charts/incubator/hyperswitch-app/configs/router-production.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,18 @@ przelewy24.stripe.banks = "alior_bank,bank_millennium,bank_nowy_bfg_sa,bank_peka

[connector_customer]
connector_list = "stax,stripe,gocardless"
payout_connector_list = "wise"
payout_connector_list = "stripe,wise"

[connectors]
aci.base_url = "https://eu-test.oppwa.com/"
adyen.base_url = "https://{{merchant_endpoint_prefix}}-checkout-live.adyenpayments.com/checkout/"
adyen.secondary_base_url = "https://{{merchant_endpoint_prefix}}-pal-live.adyenpayments.com/"
adyenplatform.base_url = "https://balanceplatform-api-live.adyen.com/"
airwallex.base_url = "https://api-demo.airwallex.com/"
applepay.base_url = "https://apple-pay-gateway.apple.com/"
authorizedotnet.base_url = "https://api.authorize.net/xml/v1/request.api"
bambora.base_url = "https://api.na.bambora.com"
bamboraapac.base_url = "https://demo.bambora.co.nz/interface/api/dts.asmx"
bankofamerica.base_url = "https://api.merchant-services.bankofamerica.com/"
billwerk.base_url = "https://api.reepay.com/"
billwerk.secondary_base_url = "https://card.reepay.com/"
Expand All @@ -37,6 +39,7 @@ checkout.base_url = "https://api.checkout.com/"
coinbase.base_url = "https://api.commerce.coinbase.com"
cryptopay.base_url = "https://business.cryptopay.me/"
cybersource.base_url = "https://api.cybersource.com/"
datatrans.base_url = "https://api.datatrans.com/"
dlocal.base_url = "https://sandbox.dlocal.com/"
dummyconnector.base_url = "http://localhost:8080/dummy-connector"
ebanx.base_url = "https://sandbox.ebanxpay.com/"
Expand All @@ -45,9 +48,11 @@ forte.base_url = "https://sandbox.forte.net/api/v3"
globalpay.base_url = "https://apis.sandbox.globalpay.com/ucp/"
globepay.base_url = "https://pay.globepay.co/"
gocardless.base_url = "https://api.gocardless.com"
gpayments.base_url = "https://{{merchant_endpoint_prefix}}-test.api.as1.gpayments.net"
helcim.base_url = "https://api.helcim.com/"
iatapay.base_url = "https://iata-pay.iata.org/api/v1"
klarna.base_url = "https://api-na.playground.klarna.com/"
klarna.base_url = "https://api{{klarna_region}}.klarna.com/"
mifinity.base_url = "https://secure.mifinity.com/"
mollie.base_url = "https://api.mollie.com/v2/"
mollie.secondary_base_url = "https://api.cc.mollie.com/v1/"
multisafepay.base_url = "https://testapi.multisafepay.com/"
Expand All @@ -60,12 +65,14 @@ opayo.base_url = "https://pi-live.sagepay.com/"
opennode.base_url = "https://api.opennode.com"
payeezy.base_url = "https://api.payeezy.com/"
payme.base_url = "https://live.payme.io/"
payone.base_url = "https://payment.payone.com/"
paypal.base_url = "https://api-m.paypal.com/"
payu.base_url = "https://secure.payu.com/api/"
placetopay.base_url = "https://checkout.placetopay.com/rest/gateway"
powertranz.base_url = "https://staging.ptranz.com/api/"
prophetpay.base_url = "https://ccm-thirdparty.cps.golf/"
rapyd.base_url = "https://sandboxapi.rapyd.net"
razorpay.base_url = "https://api.juspay.in"
riskified.base_url = "https://wh.riskified.com/api/"
shift4.base_url = "https://api.shift4.com/"
signifyd.base_url = "https://api.signifyd.com/"
Expand All @@ -83,7 +90,7 @@ worldline.base_url = "https://eu.sandbox.api-ingenico.com/"
worldpay.base_url = "https://try.access.worldpay.com/"
zen.base_url = "https://api.zen.com/"
zen.secondary_base_url = "https://secure.zen.com/"
zsl.base_url = "https://api.sitoffalb.net/"
zsl.base_url = "https://apirh.prodoffalb.net/"
threedsecureio.base_url = "https://service.3dsecure.io"
netcetera.base_url = "https://{{merchant_endpoint_prefix}}.3ds-server.prev.netcetera-cloud-payment.ch"

Expand All @@ -110,6 +117,13 @@ refund_tolerance = 100
refund_ttl = 172800
slack_invite_url = "https://join.slack.com/t/hyperswitch-io/shared_invite/zt-2awm23agh-p_G5xNpziv6yAiedTkkqLg"


[user]
password_validity_in_days = 90
two_factor_auth_expiry_in_secs = 300
totp_issuer_name = "Hyperswitch Production"
base_url = "https://live.hyperswitch.io" # Change it to your actual production url

[frm]
enabled = false

Expand Down Expand Up @@ -241,6 +255,13 @@ google_pay = { currency = "USD" }
[pm_filters.braintree]
paypal.currency = "AUD,BRL,CAD,CNY,CZK,DKK,EUR,HKD,HUF,ILS,JPY,MYR,MXN,TWD,NZD,NOK,PHP,PLN,GBP,RUB,SGD,SEK,CHF,THB,USD"


[pm_filters.cybersource]
credit = { currency = "USD" }
debit = { currency = "USD" }
apple_pay = { currency = "USD" }
google_pay = { currency = "USD" }

[pm_filters.forte]
credit.currency = "USD"
debit.currency = "USD"
Expand All @@ -256,6 +277,9 @@ we_chat_pay.currency = "GBP,CNY"
[pm_filters.klarna]
klarna = { country = "AU,AT,BE,CA,CZ,DK,FI,FR,DE,GR,IE,IT,NL,NZ,NO,PL,PT,ES,SE,CH,GB,US", currency = "CHF,DKK,EUR,GBP,NOK,PLN,SEK,USD,AUD,NZD,CAD" }

[pm_filters.mifinity]
mifinity = { country = "BR,CN,SG,MY,DE,CH,DK,GB,ES,AD,GI,FI,FR,GR,HR,IT,JP,MX,AR,CO,CL,PE,VE,UY,PY,BO,EC,GT,HN,SV,NI,CR,PA,DO,CU,PR,NL,NO,PL", currency = "AUD,CAD,CHF,CNY,CZK,DKK,EUR,GBP,INR,JPY,NOK,NZD,PLN,RUB,SEK,ZAR,USD" }

[pm_filters.prophetpay]
card_redirect.currency = "USD"

Expand All @@ -277,6 +301,10 @@ sofort = { country = "AT,BE,DE,IT,NL,ES", currency = "EUR" }
[pm_filters.volt]
open_banking_uk = {country = "DE,GB,AT,BE,CY,EE,ES,FI,FR,GR,HR,IE,IT,LT,LU,LV,MT,NL,PT,SI,SK,BG,CZ,DK,HU,NO,PL,RO,SE,AU,BR", currency = "EUR,GBP,DKK,NOK,PLN,SEK,AUD,BRL"}


[pm_filters.razorpay]
upi_collect = {country = "IN", currency = "INR"}

[pm_filters.worldpay]
apple_pay.country = "AU,CN,HK,JP,MO,MY,NZ,SG,TW,AM,AT,AZ,BY,BE,BG,HR,CY,CZ,DK,EE,FO,FI,FR,GE,DE,GR,GL,GG,HU,IS,IE,IM,IT,KZ,JE,LV,LI,LT,LU,MT,MD,MC,ME,NL,NO,PL,PT,RO,SM,RS,SK,SI,ES,SE,CH,UA,GB,AR,CO,CR,BR,MX,PE,BH,IL,JO,KW,PS,QA,SA,AE,CA,UM,US"
google_pay.country = "AL,DZ,AS,AO,AG,AR,AU,AT,AZ,BH,BY,BE,BR,BG,CA,CL,CO,HR,CZ,DK,DO,EG,EE,FI,FR,DE,GR,HK,HU,IN,ID,IE,IL,IT,JP,JO,KZ,KE,KW,LV,LB,LT,LU,MY,MX,NL,NZ,NO,OM,PK,PA,PE,PH,PL,PT,QA,RO,RU,SA,SG,SK,ZA,ES,LK,SE,CH,TW,TH,TR,UA,AE,GB,US,UY,VN"
Expand All @@ -294,6 +322,12 @@ red_pagos = { country = "UY", currency = "UYU" }
[pm_filters.zsl]
local_bank_transfer = { country = "CN", currency = "CNY" }

[payout_method_filters.adyenplatform]
sepa = { country = "ES,SK,AT,NL,DE,BE,FR,FI,PT,IE,EE,LT,LV,IT,CZ,DE,HU,NO,PL,SE,GB,CH" , currency = "EUR,CZK,DKK,HUF,NOK,PLN,SEK,GBP,CHF" }

[payout_method_filters.stripe]
ach = { country = "US", currency = "USD" }

[temp_locker_enable_config]
bluesnap.payment_method = "card"
nuvei.payment_method = "card"
Expand Down Expand Up @@ -322,4 +356,7 @@ outgoing_enabled = true
connectors_with_webhook_source_verification_call = "paypal"

[unmasked_headers]
keys = "user-agent"
keys = "user-agent"

[saved_payment_methods]
sdk_eligible_payment_methods = "card"
33 changes: 27 additions & 6 deletions charts/incubator/hyperswitch-app/configs/router-sandbox.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ airwallex.base_url = "https://api-demo.airwallex.com/"
applepay.base_url = "https://apple-pay-gateway.apple.com/"
authorizedotnet.base_url = "https://apitest.authorize.net/xml/v1/request.api"
bambora.base_url = "https://api.na.bambora.com"
bamboraapac.base_url = "https://demo.ippayments.com.au/interface/api/dts.asmx"
bankofamerica.base_url = "https://apitest.merchant-services.bankofamerica.com/"
billwerk.base_url = "https://api.reepay.com/"
billwerk.secondary_base_url = "https://card.reepay.com/"
Expand All @@ -56,6 +57,7 @@ gocardless.base_url = "https://api-sandbox.gocardless.com"
gpayments.base_url = "https://{{merchant_endpoint_prefix}}-test.api.as1.gpayments.net"
helcim.base_url = "https://api.helcim.com/"
iatapay.base_url = "https://sandbox.iata-pay.iata.org/api/v1"
itaubank.base_url = "https://sandbox.devportal.itau.com.br/"
klarna.base_url = "https://api{{klarna_region}}.playground.klarna.com/"
mifinity.base_url = "https://demo.mifinity.com/"
mollie.base_url = "https://api.mollie.com/v2/"
Expand All @@ -74,9 +76,11 @@ payone.base_url = "https://payment.preprod.payone.com/"
paypal.base_url = "https://api-m.sandbox.paypal.com/"
payu.base_url = "https://secure.snd.payu.com/"
placetopay.base_url = "https://test.placetopay.com/rest/gateway"
plaid.base_url = "https://sandbox.plaid.com"
powertranz.base_url = "https://staging.ptranz.com/api/"
prophetpay.base_url = "https://ccm-thirdparty.cps.golf/"
rapyd.base_url = "https://sandboxapi.rapyd.net"
razorpay.base_url = "https://sandbox.juspay.in/"
riskified.base_url = "https://sandbox.riskified.com/api"
shift4.base_url = "https://api.shift4.com/"
signifyd.base_url = "https://api.signifyd.com/"
Expand All @@ -89,6 +93,7 @@ trustpay.base_url = "https://test-tpgw.trustpay.eu/"
trustpay.base_url_bank_redirects = "https://aapi.trustpay.eu/"
tsys.base_url = "https://stagegw.transnox.com/"
volt.base_url = "https://api.sandbox.volt.io/"
wellsfargo.base_url = "https://apitest.cybersource.com/"
wise.base_url = "https://api.sandbox.transferwise.tech/"
worldline.base_url = "https://eu.sandbox.api-ingenico.com/"
worldpay.base_url = "https://try.access.worldpay.com/"
Expand Down Expand Up @@ -131,11 +136,13 @@ base_url = "https://app.hyperswitch.io"
enabled = true

[mandates.supported_payment_methods]
bank_debit.ach.connector_list = "gocardless" # Mandate supported payment method type and connector for bank_debit
bank_debit.becs.connector_list = "gocardless" # Mandate supported payment method type and connector for bank_debit
bank_debit.sepa.connector_list = "gocardless" # Mandate supported payment method type and connector for bank_debit
card.credit.connector_list = "stripe,adyen,authorizedotnet,cybersource,globalpay,worldpay,multisafepay,nmi,nexinets,noon,bankofamerica" # Mandate supported payment method type and connector for card
card.debit.connector_list = "stripe,adyen,authorizedotnet,cybersource,globalpay,worldpay,multisafepay,nmi,nexinets,noon,bankofamerica" # Mandate supported payment method type and connector for card
bank_debit.ach = { connector_list = "gocardless,adyen" } # Mandate supported payment method type and connector for bank_debit
bank_debit.becs = { connector_list = "gocardless" } # Mandate supported payment method type and connector for bank_debit
bank_debit.bacs = { connector_list = "adyen" } # Mandate supported payment method type and connector for bank_debit
bank_debit.sepa = { connector_list = "gocardless,adyen" } # Mandate supported payment method type and connector for bank_debit

card.credit.connector_list = "stripe,adyen,authorizedotnet,cybersource,globalpay,worldpay,multisafepay,nmi,nexinets,noon,bankofamerica,braintree" # Mandate supported payment method type and connector for card
card.debit.connector_list = "stripe,adyen,authorizedotnet,cybersource,globalpay,worldpay,multisafepay,nmi,nexinets,noon,bankofamerica,braintree" # Mandate supported payment method type and connector for card
pay_later.klarna.connector_list = "adyen" # Mandate supported payment method type and connector for pay_later
wallet.apple_pay.connector_list = "stripe,adyen,cybersource,noon,bankofamerica" # Mandate supported payment method type and connector for wallets
wallet.google_pay.connector_list = "stripe,adyen,cybersource,bankofamerica" # Mandate supported payment method type and connector for wallets
Expand Down Expand Up @@ -290,6 +297,11 @@ mifinity = { country = "BR,CN,SG,MY,DE,CH,DK,GB,ES,AD,GI,FI,FR,GR,HR,IT,JP,MX,AR
[pm_filters.prophetpay]
card_redirect.currency = "USD"

[pm_filters.razorpay]
upi_collect = {country = "IN", currency = "INR"}

[pm_filters.plaid]
open_banking_pis = {currency = "EUR,GBP"}

[pm_filters.stax]
ach = { country = "US", currency = "USD" }
Expand Down Expand Up @@ -326,6 +338,12 @@ red_pagos = { country = "UY", currency = "UYU" }
[pm_filters.zsl]
local_bank_transfer = { country = "CN", currency = "CNY" }

[payout_method_filters.adyenplatform]
sepa = { country = "ES,SK,AT,NL,DE,BE,FR,FI,PT,IE,EE,LT,LV,IT,CZ,DE,HU,NO,PL,SE,GB,CH" , currency = "EUR,CZK,DKK,HUF,NOK,PLN,SEK,GBP,CHF" }

[payout_method_filters.stripe]
ach = { country = "US", currency = "USD" }

[temp_locker_enable_config]
bluesnap.payment_method = "card"
nuvei.payment_method = "card"
Expand Down Expand Up @@ -358,4 +376,7 @@ connectors_with_webhook_source_verification_call = "paypal" # List of con
keys = "user-agent"

[saved_payment_methods]
sdk_eligible_payment_methods = "card"
sdk_eligible_payment_methods = "card"

[locker_based_open_banking_connectors]
connector_list = ""
14 changes: 7 additions & 7 deletions charts/incubator/hyperswitch-app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ application:
host_rs:
mock_locker : false # Emulate a locker locally using Postgres
locker_signing_key_id : "1" # Key_id to sign basilisk hs locker
locker_enabled : false # Boolean to enable or disable saving cards in locker
locker_enabled : true # Boolean to enable or disable saving cards in locker

locker_public_key:
hyperswitch_private_key:
Expand Down Expand Up @@ -295,18 +295,18 @@ application:
# configuration values to be used by the service that is connected to the hyperswitch server
services:
router:
version: v1.109.0
image: juspaydotin/hyperswitch-router:v1.109.0-standalone
version: v1.110.0
image: juspaydotin/hyperswitch-router:v1.110.0-standalone
host: http://localhost:8080
consumer:
image: juspaydotin/hyperswitch-consumer:v1.109.0-standalone
image: juspaydotin/hyperswitch-consumer:v1.110.0-standalone
producer:
image: juspaydotin/hyperswitch-producer:v1.109.0-standalone
image: juspaydotin/hyperswitch-producer:v1.110.0-standalone
controlCenter:
image: juspaydotin/hyperswitch-control-center:v1.31.0
image: juspaydotin/hyperswitch-control-center:v1.32.0
sdk:
host: http://localhost:9090
version: 0.71.11
version: 0.80.0
subversion: v0
redis:
# - enable Bitnami redis sub-chart helm installation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ spec:
port: 8080
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 3
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 1
name: tartarus
Expand All @@ -115,7 +115,7 @@ spec:
port: 8080
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 5
periodSeconds: 50
successThreshold: 1
timeoutSeconds: 1
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
- |-
apt update
apt install -y git
git clone --single-branch --branch main https://github.com/juspay/hyperswitch-card-vault.git
git clone --single-branch --branch $VERSION https://github.com/juspay/hyperswitch-card-vault.git
cd hyperswitch-card-vault
diesel migration --database-url postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST:5432/$DBNAME run
echo "Completed hyperswitch database migration"
Expand All @@ -42,6 +42,8 @@ spec:
value: {{ include "locker-psql.name" . }}
- name: POSTGRES_USER
value: {{ include "locker-psql.username" . }}
- name: VERSION
value: {{ regexReplaceAll "^[^:]+:" .Values.server.image "" }}
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
Expand Down
2 changes: 1 addition & 1 deletion charts/incubator/hyperswitch-card-vault/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ server:
annotations: {}

# Image to be used for hyperswitch-card-vault.
image: juspaydotin/hyperswitch-card-vault:0.4.0
image: juspaydotin/hyperswitch-card-vault:v0.4.0

# values to be used in pod template.
pod:
Expand Down
3 changes: 2 additions & 1 deletion charts/incubator/hyperswitch-sdk/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@ spec:
if [ "$FORCE_BUILD" != "true" ] && [ -f "$BUILD_COMPLETE_FILE" ]; then
echo "Build complete file exists, skipping build."
else
envSdkUrl={{ .Values.autoBuild.buildParam.envSdkUrl }} envBackendUrl={{ .Values.autoBuild.buildParam.envBackendUrl }}
envSdkUrl={{ .Values.autoBuild.buildParam.envSdkUrl }} envBackendUrl={{ .Values.autoBuild.buildParam.envBackendUrl }} envLogsUrl={{ .Values.autoBuild.buildParam.envLogsUrl }}
cd dist/integ
ls -lth
sed -i'' -e 's|https://dev.hyperswitch.io/|'${envSdkUrl}'/|g' app.js HyperLoader.js
sed -i'' -e 's|https://beta.hyperswitch.io/api|'$envBackendUrl'|g' app.js HyperLoader.js
sed -i'' -e 's|https://sandbox.hyperswitch.io/logs/sdk|'$envLogsUrl'|g' app.js HyperLoader.js
cp -rfv * /dist
touch "$BUILD_COMPLETE_FILE"
fi
Expand Down
Loading

0 comments on commit 0b2a374

Please sign in to comment.