From 4c0ad79242afcfef42542f033081e007f3330b7e Mon Sep 17 00:00:00 2001 From: Esteban Date: Wed, 3 Apr 2024 14:30:56 -0400 Subject: [PATCH] latest --- latest.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/latest.js b/latest.js index a8dd596..c09bf23 100644 --- a/latest.js +++ b/latest.js @@ -598,13 +598,11 @@ shipping_placeholder: config.strings && config.strings.shipping_placeholder ? config.strings.shipping_placeholder : 'Required *', } - // TODO - window.NanoPay.updateShipping = async (amount) => { - // TODO: update checkout + window.NanoPay.updateShipping = async (new_shipping) => { rpc_checkout = (await RPC.post(node, { action: "checkout", line_items, - shipping: amount, + shipping: new_shipping, currency, cloud, address,