Skip to content

Commit

Permalink
index
Browse files Browse the repository at this point in the history
  • Loading branch information
nano2dev committed Mar 19, 2024
1 parent aba3e2f commit 253b66c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -460,20 +460,20 @@ <h1 class="smaller">NanoPay.js</h1>
setTimeout(() => {

NanoPay.open({
alias: true, // required
// amount: 30, // required
// alias: true, // required
amount: 30, // required
// notify: '[email protected]',
// contact: true,
contact: true,
// // random: false,
// strings: {
// email_placeholder: 'Required *',
// shipping_placeholder: 'Required *',
// },
// line_items: [
// { name: "Shirt (X-Small)", price: 0.122 },
// { name: "Mens Shoes (9.5)", price: 0 }
// ],
// shipping: 0.011,
line_items: [
{ name: "Shirt (X-Small)", price: 0.122 },
{ name: "Mens Shoes (9.5)", price: 0 }
],
shipping: 0.011,
// currency: 'EUR',
success: (block) => {
document.getElementById('success').innerText = 'Success'
Expand Down

0 comments on commit 253b66c

Please sign in to comment.