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

refactor(config): update base URLs for connectors in production #7584

Closed
wants to merge 3 commits into from
Closed
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
9 changes: 9 additions & 0 deletions api-reference-v2/openapi_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -8365,10 +8365,12 @@
"CAD",
"CDF",
"CHF",
"CLF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
Expand Down Expand Up @@ -8464,6 +8466,7 @@
"SOS",
"SRD",
"SSP",
"STD",
"STN",
"SVC",
"SYP",
Expand Down Expand Up @@ -9969,6 +9972,12 @@
}
}
},
{
"type": "string",
"enum": [
"user_social_security_number"
]
},
{
"type": "string",
"enum": [
Expand Down
9 changes: 9 additions & 0 deletions api-reference/openapi_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -10493,10 +10493,12 @@
"CAD",
"CDF",
"CHF",
"CLF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
Expand Down Expand Up @@ -10592,6 +10594,7 @@
"SOS",
"SRD",
"SSP",
"STD",
"STN",
"SVC",
"SYP",
Expand Down Expand Up @@ -12170,6 +12173,12 @@
}
}
},
{
"type": "string",
"enum": [
"user_social_security_number"
]
},
{
"type": "string",
"enum": [
Expand Down
43 changes: 22 additions & 21 deletions config/deployments/production.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ payout_connector_list = "stripe,wise"
# base urls based on your need.
# Note: These are not optional attributes. hyperswitch request can fail due to invalid/empty values.
[connectors]
aci.base_url = "https://eu-test.oppwa.com/"
aci.base_url = "https://eu-prod.oppwa.com/"
adyen.base_url = "https://{{merchant_endpoint_prefix}}-checkout-live.adyenpayments.com/checkout/"
adyen.payout_base_url = "https://{{merchant_endpoint_prefix}}-pal-live.adyenpayments.com/"
adyen.dispute_base_url = "https://{{merchant_endpoint_prefix}}-ca-live.adyen.com/"
Expand All @@ -33,14 +33,14 @@ amazonpay.base_url = "https://pay-api.amazon.com/v2"
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"
bamboraapac.base_url = "https://www.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/"
bitpay.base_url = "https://bitpay.com"
bluesnap.base_url = "https://ws.bluesnap.com/"
bluesnap.secondary_base_url = "https://pay.bluesnap.com/"
boku.base_url = "https://country-api4-stage.boku.com"
boku.base_url = "https://country-api4.boku.com"
braintree.base_url = "https://payments.braintree-api.com/graphql"
cashtocode.base_url = "https://cluster14.api.cashtocode.com"
chargebee.base_url = "https://$.chargebee.com/api/"
Expand All @@ -52,28 +52,28 @@ cybersource.base_url = "https://api.cybersource.com/"
datatrans.base_url = "https://api.datatrans.com/"
datatrans.secondary_base_url = "https://pay.datatrans.com/"
deutschebank.base_url = "https://merch.directpos.de/rest-api"
digitalvirgo.base_url = "https://dcb-integration-service-sandbox-external.staging.digitalvirgo.pl"
dlocal.base_url = "https://sandbox.dlocal.com/"
digitalvirgo.base_url = "https://dcb-integration-service-external.digitalvirgo.pl"
dlocal.base_url = "https://api.dlocal.com/"
dummyconnector.base_url = "http://localhost:8080/dummy-connector"
ebanx.base_url = "https://sandbox.ebanxpay.com/"
ebanx.base_url = "https://api.ebanxpay.com/"
elavon.base_url = "https://api.convergepay.com/VirtualMerchant/"
fiserv.base_url = "https://cert.api.fiservapps.com/"
fiserv.base_url = "https://api.fiservapps.com/"
fiservemea.base_url = "https://prod.emea.api.fiservapps.com"
fiuu.base_url = "https://pay.merchant.razer.com/"
fiuu.secondary_base_url="https://api.merchant.razer.com/"
fiuu.third_base_url="https://api.merchant.razer.com/"
forte.base_url = "https://sandbox.forte.net/api/v3"
forte.base_url = "https://api.forte.net/api/v3"
getnet.base_url = "https://api.getneteurope.com/engine/rest"
globalpay.base_url = "https://apis.sandbox.globalpay.com/ucp/"
globalpay.base_url = "https://apis.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"
gpayments.base_url = "https://{{merchant_endpoint_prefix}}-api.as1.gpayments.net"
helcim.base_url = "https://api.helcim.com/"
hipay.base_url = "https://secure-gateway.hipay-tpp.com/rest/"
hipay.secondary_base_url = "https://secure2-vault.hipay-tpp.com/rest/"
hipay.third_base_url = "https://api-gateway.hipay.com/"
iatapay.base_url = "https://iata-pay.iata.org/api/v1"
inespay.base_url = "https://apiflow.inespay.com/san/v21"
inespay.base_url = "https://apiflow.inespay.com/v21"
itaubank.base_url = "https://secure.api.itau/"
jpmorgan.base_url = "https://api-ms.payments.jpmorgan.com/api/v2"
juspaythreedsserver.base_url = "http://localhost:8000"
Expand All @@ -83,15 +83,15 @@ 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/"
moneris.base_url = "https://api.moneris.io"
multisafepay.base_url = "https://testapi.multisafepay.com/"
multisafepay.base_url = "https://api.multisafepay.com/"
nexinets.base_url = "https://api.payengine.de/v1"
nexixpay.base_url = "https://xpay.nexigroup.com/api/phoenix-0.0/psp/api/v1"
nmi.base_url = "https://secure.nmi.com/"
nomupay.base_url = "https://payout-api.nomupay.com"
noon.base_url = "https://api.noonpayments.com/"
noon.key_mode = "Live"
novalnet.base_url = "https://payport.novalnet.de/v2"
nuvei.base_url = "https://ppp-test.nuvei.com/"
nuvei.base_url = "https://ppp.nuvei.com/"
opayo.base_url = "https://pi-live.sagepay.com/"
opennode.base_url = "https://api.opennode.com"
paybox.base_url = "https://ppps.paybox.com/PPPS.php"
Expand All @@ -104,17 +104,17 @@ paystack.base_url = "https://api.paystack.co"
payu.base_url = "https://secure.payu.com/api/"
placetopay.base_url = "https://checkout.placetopay.com/rest/gateway"
plaid.base_url = "https://production.plaid.com"
powertranz.base_url = "https://staging.ptranz.com/api/"
powertranz.base_url = "https://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"
rapyd.base_url = "https://api.rapyd.net"
razorpay.base_url = "https://api.razorpay.com"
recurly.base_url = "https://v3.recurly.com"
redsys.base_url = "https://sis.redsys.es:25443/sis/realizarPago"
riskified.base_url = "https://wh.riskified.com/api/"
shift4.base_url = "https://api.shift4.com/"
signifyd.base_url = "https://api.signifyd.com/"
square.base_url = "https://connect.squareupsandbox.com/"
square.secondary_base_url = "https://pci-connect.squareupsandbox.com/"
square.base_url = "https://connect.squareup.com/"
square.secondary_base_url = "https://pci-connect.squareup.com/"
stax.base_url = "https://apiprod.fattlabs.com/"
stripe.base_url = "https://api.stripe.com/"
stripe.base_url_file_upload = "https://files.stripe.com/"
Expand All @@ -127,16 +127,17 @@ tsys.base_url = "https://gateway.transit-pass.com/"
volt.base_url = "https://api.volt.io/"
wellsfargo.base_url = "https://api.cybersource.com/"
wellsfargopayout.base_url = "https://api.wellsfargo.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/"
wise.base_url = "https://api.transferwise.com/"
worldline.base_url = "https://eu.api-ingenico.com/"
worldpay.base_url = "https://access.worldpay.com/"
xendit.base_url = "https://api.xendit.co"
zen.base_url = "https://api.zen.com/"
zen.secondary_base_url = "https://secure.zen.com/"
zsl.base_url = "https://apirh.prodoffalb.net/"
threedsecureio.base_url = "https://service.3dsecure.io"
netcetera.base_url = "https://{{merchant_endpoint_prefix}}.3ds-server.prod.netcetera-cloud-payment.ch"


[delayed_session_response]
connectors_with_delayed_session_response = "trustpay,payme" # List of connectors which have delayed session response

Expand Down
8 changes: 8 additions & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
e2e: {
baseUrl: 'http://localhost:3000', // Change this to your actual server URL
setupNodeEvents(on, config) {
// implement node event listeners here
},
},
};
1 change: 1 addition & 0 deletions cypress/e2e/sample_test.cy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
describe('My First Test', () => { it('Visits the app', () => { cy.visit('/') }) })
5 changes: 5 additions & 0 deletions cypress/fixtures/example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Using fixtures to represent data",
"email": "[email protected]",
"body": "Fixtures are a great way to mock data for responses to routes"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions cypress/support/commands.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// ***********************************************
// This example commands.js shows you how to
// create various custom commands and overwrite
// existing commands.
//
// For more comprehensive examples of custom
// commands please read more here:
// https://on.cypress.io/custom-commands
// ***********************************************
//
//
// -- This is a parent command --
// Cypress.Commands.add('login', (email, password) => { ... })
//
//
// -- This is a child command --
// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
//
//
// -- This is a dual command --
// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
//
//
// -- This will overwrite an existing command --
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
17 changes: 17 additions & 0 deletions cypress/support/e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// ***********************************************************
// This example support/e2e.js is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/configuration
// ***********************************************************

// Import commands.js using ES2015 syntax:
import './commands'
Loading