From 1e820a0fc8dc3e0d1b5d9519a3eb995a7ea37eae Mon Sep 17 00:00:00 2001 From: Mononaut Date: Sun, 30 Jun 2024 06:55:32 +0000 Subject: [PATCH] [accelerator] soft enforce referrer --- .../accelerate-checkout/accelerate-checkout.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 791dc1ebc..61b03d553 100644 --- a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts +++ b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts @@ -469,7 +469,7 @@ export class AccelerateCheckout implements OnInit, OnDestroy { } get canPayWithCashapp() { - return this.cashappEnabled && this.estimate?.availablePaymentMethods?.includes('cashapp') && this.cost < 400000; + return this.cashappEnabled && this.estimate?.availablePaymentMethods?.includes('cashapp') && this.cost < 400000 && this.stateService.referrer === 'https://cash.app/'; } get canPayWithBalance() {