Skip to content

Commit

Permalink
Jumbo missing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben committed Dec 19, 2024
1 parent 1442d28 commit 64a14fc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export enum FinancialServiceProviders {
safaricom = 'Safaricom',
commercialBankEthiopia = 'Commercial-bank-ethiopia',
excel = 'Excel',
deprecatedJumbo = 'Intersolve-jumbo-physical',
}

export enum FinancialServiceProviderConfigurationProperties {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,14 @@ export const FINANCIAL_SERVICE_PROVIDER_SETTINGS: FinancialServiceProviderDto[]
},
],
},
{
name: FinancialServiceProviders.deprecatedJumbo, // This financial service provider is deprecated. However there are still transactions that exists for this FSP in running program. Therefore this is needed as a work around
integrationType: FinancialServiceProviderIntegrationType.api,
defaultLabel: {
en: 'JUMBO deprecated',
},
notifyOnTransaction: false,
attributes: [],
configurationProperties: [],
},
];
3 changes: 3 additions & 0 deletions services/121-service/src/payments/payments.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ export class PaymentsService {
this.commercialBankEthiopiaService,
],
[FinancialServiceProviders.excel]: [this.excelService],
[FinancialServiceProviders.deprecatedJumbo]: [
{} as FinancialServiceProviderIntegrationInterface,
],
};
}

Expand Down

0 comments on commit 64a14fc

Please sign in to comment.