You've already forked AstralRinth
forked from didirus/AstralRinth
PY-53 Subscription Force Renewal Button (#3153)
* chore: show resubscribe on `failed` status Signed-off-by: Evan Song <theevansong@gmail.com> * chore: hide cancel on failed Signed-off-by: Evan Song <theevansong@gmail.com> * update copy Signed-off-by: Evan Song <theevansong@gmail.com> --------- Signed-off-by: Evan Song <theevansong@gmail.com>
This commit is contained in:
@@ -257,7 +257,7 @@
|
|||||||
v-else-if="getPyroCharge(subscription).status === 'processing'"
|
v-else-if="getPyroCharge(subscription).status === 'processing'"
|
||||||
class="text-sm text-orange"
|
class="text-sm text-orange"
|
||||||
>
|
>
|
||||||
Your payment is being processed. Perks will activate once payment is
|
Your payment is being processed. Your server will activate once payment is
|
||||||
complete.
|
complete.
|
||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
@@ -270,7 +270,8 @@
|
|||||||
v-else-if="getPyroCharge(subscription).status === 'failed'"
|
v-else-if="getPyroCharge(subscription).status === 'failed'"
|
||||||
class="text-sm text-red"
|
class="text-sm text-red"
|
||||||
>
|
>
|
||||||
Your subscription payment failed. Please update your payment method.
|
Your subscription payment failed. Please update your payment method, then
|
||||||
|
resubscribe.
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -278,7 +279,8 @@
|
|||||||
<ButtonStyled
|
<ButtonStyled
|
||||||
v-if="
|
v-if="
|
||||||
getPyroCharge(subscription) &&
|
getPyroCharge(subscription) &&
|
||||||
getPyroCharge(subscription).status !== 'cancelled'
|
getPyroCharge(subscription).status !== 'cancelled' &&
|
||||||
|
getPyroCharge(subscription).status !== 'failed'
|
||||||
"
|
"
|
||||||
type="standard"
|
type="standard"
|
||||||
@click="showPyroCancelModal(subscription.id)"
|
@click="showPyroCancelModal(subscription.id)"
|
||||||
@@ -291,7 +293,8 @@
|
|||||||
<ButtonStyled
|
<ButtonStyled
|
||||||
v-else-if="
|
v-else-if="
|
||||||
getPyroCharge(subscription) &&
|
getPyroCharge(subscription) &&
|
||||||
getPyroCharge(subscription).status === 'cancelled'
|
(getPyroCharge(subscription).status === 'cancelled' ||
|
||||||
|
getPyroCharge(subscription).status === 'failed')
|
||||||
"
|
"
|
||||||
type="standard"
|
type="standard"
|
||||||
color="green"
|
color="green"
|
||||||
|
|||||||
Reference in New Issue
Block a user