[accelerator] soft enforce referrer

This commit is contained in:
Mononaut 2024-06-30 06:55:32 +00:00
parent e3abdf4b4f
commit 1e820a0fc8
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E

View File

@ -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() {