Skip to content

Conversation

@TaprootFreak
Copy link
Collaborator

Summary

  • Removed Maerki Baumann integration from codebase
  • Set Yapeal as new default bank for SEPA payments
  • Preserved database compatibility through existing enums

Changes

  • Removed maerkiBaumannEnable flag from Country entity
  • Removed Maerki-specific logic from Bank entity methods
  • Updated default bank mapping: FiatPaymentMethod.BANK now uses Yapeal instead of Maerki
  • Removed Maerki from blockchainToBankName() mapping
  • Updated fee calculation in BuyFiat preparation to use Yapeal
  • Replaced test mocks: maerkiEUR/maerkiCHFyapealEUR/yapealCHF
  • Updated all unit tests to reflect new default bank

Database Compatibility

The following enums are preserved for historical data:

  • IbanBankName.MAERKI = 'Maerki Baumann'
  • Blockchain.MAERKI_BAUMANN = 'MaerkiBaumann'

Test Plan

  • TypeScript compilation successful
  • All unit tests updated
  • Manual testing on dev environment

- Remove maerkiBaumannEnable flag from Country entity
- Remove Maerki-specific country check logic from Bank entity
- Update default bank for SEPA payments from Maerki to Yapeal
- Remove Maerki from blockchain-to-bank mapping
- Update all tests to use Yapeal instead of Maerki
- Replace maerkiEUR/maerkiCHF mocks with yapealEUR/yapealCHF
- Preserve IbanBankName.MAERKI and Blockchain.MAERKI_BAUMANN enums for database compatibility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants