chore: remove Checkout.com integration#3702
Closed
TaprootFreak wants to merge 2 commits into
Closed
Conversation
Checkout.com is no longer used as a payment provider. Drops the SDK, service, observer, dto, the CheckoutTx entity/service/repo and the FiatPayIn module. Removes all consumers (createPaymentLink, refundPayment, getBalances, getPayments sync) along with checkoutTx relations on BuyCrypto/Transaction/Recall, the related AML branches and the last7dCheckoutVolume parameter chain. Existing checkout-related migrations and the AmlRule enum values are preserved for DB compatibility. Closes #3699
Removes files unrelated to the Checkout.com removal that were swept in by a wide `git add -A` (untracked local docs and scripts).
Collaborator
Author
|
Superseded by #3703 (same diff, single commit). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #3699. Removes the Checkout.com payment integration entirely:
src/integration/checkout/(SDK wrapper, module, dto, service) and theCheckoutObserver.CheckoutTxentity, service, repository, mock and theFiatPayInmodule (its only purpose was Checkout sync).CheckoutService:createPaymentLinkinBuyService,refundPaymentinBuyCryptoService,getBalancesinBankAdapter, and theFiatPayInSyncServiceitself.checkoutTxrelation fromBuyCrypto,TransactionandRecall, plus allentity.checkoutTxbranches in AML, support, gs, history mappers and transaction services.last7dCheckoutVolumeparameter chain throughamlCheckAndFillUp/getAmlResult/getAmlErrors/amlRuleCheck.AmlRulequote-check branches that fired only onpaymentMethodIn === CARD;paymentMethodInis no longer needed inamlRuleQuoteCheck.checkoutconfig block,CKO_*env vars, the bicep params (ckoPublicKey/ckoSecretKey/ckoEntityId) and thecheckout-sdk-nodedependency.paymentLinkfield onBuyPaymentInfoDto/CustodyOrderBuyResponseDto.Preserved on purpose
*Checkout*migrations stay untouched (historical record).AmlRuleenum values 1/4/6/7/9/10/12/13 stay (DB-referenced); their cases simply have no live branch anymore.TransactionTypeInternal.CHECKOUT_LTD,Blockchain.CHECKOUT,CardBankName.CHECKOUT,TransactionRequest.paymentLinkand the dormantcheckout_txtable remain to keep historical rows readable. A follow-up cleanup migration can be filed separately.63 files changed, +81 / -1414.
Test plan
yarn lintyarn format:checkyarn buildyarn test(931 passed)