Skip to content

Commit

Permalink
latest
Browse files Browse the repository at this point in the history
  • Loading branch information
nano2dev committed Apr 3, 2024
1 parent 26ac409 commit 4c0ad79
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions latest.js
Original file line number Diff line number Diff line change
Expand Up @@ -598,13 +598,11 @@
shipping_placeholder: config.strings && config.strings.shipping_placeholder ? config.strings.shipping_placeholder : 'Required <span style="color: red">*</span>',
}

// 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,
Expand Down

0 comments on commit 4c0ad79

Please sign in to comment.