diff --git a/src/modal-checkout/index.js b/src/modal-checkout/index.js index f9861d4bd..7b9627e27 100644 --- a/src/modal-checkout/index.js +++ b/src/modal-checkout/index.js @@ -131,7 +131,7 @@ domReady( /** * Get updated cart total to update the "Place Order" button. */ - function returnUpdatedCartTotal() { + function getUpdatedCartTotal() { let cartTotal; $.ajax({ url: newspackBlocksModalCheckout.ajax_url, @@ -159,7 +159,7 @@ domReady( // Modify button text to include updated price. const tree = $( '