diff --git a/static/js/billing.js b/static/js/billing.js index a91b9ccb..6ea78cde 100644 --- a/static/js/billing.js +++ b/static/js/billing.js @@ -163,8 +163,7 @@ $(function () { } else { var caption = "Change Billing Plan"; if (planId) { - var amount = planId.substr(1); - caption += " And Pay $" + amount + " Now"; + caption += " And Pay $" + getAmount(planId) + " Now"; } $("#change-plan-btn") @@ -175,4 +174,4 @@ $(function () { } updateChangePlanForm(); -}); \ No newline at end of file +});