From 1c135b4c67dfcf35e4a0db53d0fd2974cbd9f64e Mon Sep 17 00:00:00 2001 From: Mononaut Date: Thu, 11 Jul 2024 07:56:15 +0000 Subject: [PATCH] [accelerator] enable cashapp --- .../accelerate-checkout/accelerate-checkout.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts index 66e4ab660..a5e5966d7 100644 --- a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts +++ b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts @@ -551,7 +551,7 @@ export class AccelerateCheckout implements OnInit, OnDestroy { } get couldPayWithCashapp() { - if (!this.cashappEnabled || this.stateService.referrer !== 'https://cash.app/') { + if (!this.cashappEnabled) { return false; } return !!this.estimate?.availablePaymentMethods?.cashapp; @@ -574,7 +574,7 @@ export class AccelerateCheckout implements OnInit, OnDestroy { } get canPayWithCashapp() { - if (!this.cashappEnabled || !this.conversions || this.stateService.referrer !== 'https://cash.app/') { + if (!this.cashappEnabled || !this.conversions) { return false; }