Fix bug 63618 - Payments: Payer. The payment page skips the payer's email address if a different case is used.
This commit is contained in:
parent
4d2bc180b0
commit
a100fdc3e1
@ -338,11 +338,11 @@ class PaymentStore {
|
||||
const { userStore, currentTariffStatusStore } = authStore;
|
||||
const { user } = userStore;
|
||||
|
||||
const { customerId } = currentTariffStatusStore;
|
||||
const { payerInfo } = currentTariffStatusStore;
|
||||
|
||||
if (!user) return false;
|
||||
if (!user || !payerInfo) return false;
|
||||
|
||||
return user.email === customerId;
|
||||
return user.email === payerInfo.email;
|
||||
}
|
||||
|
||||
get isStripePortalAvailable() {
|
||||
|
Loading…
Reference in New Issue
Block a user