diff --git a/web/app/assets/javascripts/accounts_payment_history_screen.js.coffee b/web/app/assets/javascripts/accounts_payment_history_screen.js.coffee index 05fc089d7..0ecbf4a72 100644 --- a/web/app/assets/javascripts/accounts_payment_history_screen.js.coffee +++ b/web/app/assets/javascripts/accounts_payment_history_screen.js.coffee @@ -71,7 +71,7 @@ context.JK.AccountPaymentHistoryScreen = class AccountPaymentHistoryScreen if sale.state.voided status = 'voided' - displayAmount = (0).toFixed(2) + displayAmount = (amt/100).toFixed(2) else if refund_state? status = refund_state displayAmount = (amt/100).toFixed(2) + " (refunded: #{(refund_total/100).toFixed(2)})" diff --git a/web/app/assets/javascripts/checkout_order.js b/web/app/assets/javascripts/checkout_order.js index 918e48f8c..eeee5d74b 100644 --- a/web/app/assets/javascripts/checkout_order.js +++ b/web/app/assets/javascripts/checkout_order.js @@ -227,6 +227,7 @@ $orderPanel.addClass("hidden") $thanksPanel.removeClass("hidden") jamTrackUtils.checkShoppingCart() + app.refreshUser() handleJamTracksPurchased(purchaseResponse.jam_tracks) } diff --git a/web/app/views/clients/_checkout_order.html.slim b/web/app/views/clients/_checkout_order.html.slim index e9fd83616..83b939b05 100644 --- a/web/app/views/clients/_checkout_order.html.slim +++ b/web/app/views/clients/_checkout_order.html.slim @@ -38,7 +38,7 @@ div layout="screen" layout-id="checkoutOrder" id="checkoutOrderScreen" class="sc br .thanks-detail.jam-tracks-in-browser.hidden p To play your purchased JamTrack, launch the JamKazam application and open the JamTrack while in a session. - a.download-jamkazam-wrapper.hidden href="/downloads" + a.download-jamkazam-wrapper.hidden href="/downloads" rel="external" .download-jamkazam | Click Here to Get the Free JamKazam Application .thanks-detail.purchased-jam-track.hidden