ソースを参照

Had billing prompt users with subscribed status

Hiding based on user status and not only billing details allows easier
testing with fake users.
master
Immanuel Onyeka 1年前
コミット
171b508dee
1個のファイルの変更2行の追加1行の削除
  1. +2
    -1
      components/app.vue

+ 2
- 1
components/app.vue ファイルの表示

@@ -239,7 +239,8 @@ function start() {
fetchUser().then( u => {
if (u.sub.customerId &&
validStatuses.includes(u.sub.paymentStatus) &&
this.user.status != "Unsubscribed") {
this.user.status != "Unsubscribed" ||
this.user.status != "Subscribed") {
return
}
// Payment must be updated


読み込み中…
キャンセル
保存