Skip to content

Commit

Permalink
@danyao observed that the comment in the example referred to shipping…
Browse files Browse the repository at this point in the history
… but the

label referred to VAT. Fixed the label to refer to shipping
  • Loading branch information
ianbjacobs committed Apr 22, 2021
1 parent 66c5d34 commit 1a1e6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ <h3>
amount: { currency: "GBP", value: "55.00" },
},
{
label: "Value-Added Tax (VAT)",
label: "Standard shipping",
amount: { currency: "GBP", value: "5.00" },

This comment has been minimized.

Copy link
@danyao

danyao Apr 22, 2021

Collaborator

This works too. But we should change the total below to "60.00" instead of "65.00".

I believe the original example was expecting 55.00 (subtotal) + 5.00 (tax) + 5.00 (shipping) = 65.00.

},
],
Expand Down

0 comments on commit 1a1e6a1

Please sign in to comment.