Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincolten authored Nov 5, 2024
1 parent 72d19c3 commit 4be78bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ <h2>Shopping Cart</h2>
const name = document.getElementById('full-name').value;
const email = document.getElementById('email').value;
const items = document.querySelectorAll('.cart-item');
let url = 'https://feature.paycove.io/checkout?contact[name]=' + encodeURIComponent(name) + '&contact[email]=' + encodeURIComponent(email) + '&account_id=e3e742f36fb750a0151631184000807d&type=invoice';
let url = 'https://ecommerce.paycove.io/checkout?contact[name]=' + encodeURIComponent(name) + '&contact[email]=' + encodeURIComponent(email) + '&account_id=4ed8191f5a087c037a54205f03b5239a&type=invoice';

items.forEach((item, index) => {
const itemName = item.children[0].textContent;
Expand All @@ -78,4 +78,4 @@ <h2>Shopping Cart</h2>
window.location.href = url;
});
</script>
</html>
</html>

0 comments on commit 4be78bc

Please sign in to comment.