diff --git a/src/modules/gateway/sagas.ts b/src/modules/gateway/sagas.ts index 7c1f2ac2..9e2f62f9 100644 --- a/src/modules/gateway/sagas.ts +++ b/src/modules/gateway/sagas.ts @@ -344,7 +344,9 @@ export function createGatewaySaga(config: GatewaySagasConfig) { } } - const marketplaceAPI = new MarketplaceAPI(transakConfig.apiBaseUrl) + const marketplaceAPI = new MarketplaceAPI( + transakConfig.marketplaceServerURL + ) const transak = new Transak(transakConfig, {}, identity) let statusHasChanged = false diff --git a/src/modules/gateway/transak/Transak.spec.ts b/src/modules/gateway/transak/Transak.spec.ts index 1d800ac2..448e0fec 100644 --- a/src/modules/gateway/transak/Transak.spec.ts +++ b/src/modules/gateway/transak/Transak.spec.ts @@ -51,6 +51,7 @@ const mockConfig: GatewaySagasConfig = { pollingDelay: 50 }, [NetworkGatewayType.TRANSAK]: { + marketplaceServerURL: 'https://marketplace-server.decentraland.zone', apiBaseUrl: 'http://transak-base.url.xyz', key: 'transak-key', env: 'TEST', diff --git a/src/modules/gateway/types.ts b/src/modules/gateway/types.ts index b9f8fb44..92f41be4 100644 --- a/src/modules/gateway/types.ts +++ b/src/modules/gateway/types.ts @@ -52,6 +52,7 @@ export type MoonPayConfig = { } export type TransakConfig = { + marketplaceServerURL: string apiBaseUrl: string key: string env: string