[accelerator] enable cashapp
This commit is contained in:
parent
f24223ca06
commit
1c135b4c67
@ -551,7 +551,7 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get couldPayWithCashapp() {
|
get couldPayWithCashapp() {
|
||||||
if (!this.cashappEnabled || this.stateService.referrer !== 'https://cash.app/') {
|
if (!this.cashappEnabled) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return !!this.estimate?.availablePaymentMethods?.cashapp;
|
return !!this.estimate?.availablePaymentMethods?.cashapp;
|
||||||
@ -574,7 +574,7 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get canPayWithCashapp() {
|
get canPayWithCashapp() {
|
||||||
if (!this.cashappEnabled || !this.conversions || this.stateService.referrer !== 'https://cash.app/') {
|
if (!this.cashappEnabled || !this.conversions) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user