Skip to content

Commit

Permalink
Update files
Browse files Browse the repository at this point in the history
Signed-off-by: Kunal Verma <vkunal321@gmail.com>
  • Loading branch information
verma-kunal committed Nov 4, 2022
1 parent 216b784 commit 2f79232
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Stripe-Payment-Integration
Sign-Up form with Stripe payment gateway
# AWS Deployment Automation
Deployment automation on AWS using Jenkins CI/CD
2 changes: 1 addition & 1 deletion client/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var btnWorshop3 = document.getElementById("work-3");

// __________________________________________________________________

var URL = "https://kube-workshop.herokuapp.com";
var URL = "http://localhost:3000";

btnWorshop1.addEventListener("click", function (e) {
e.preventDefault();
Expand Down
2 changes: 1 addition & 1 deletion client/cancel.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h1>Error ⚠️</h1>
btn.addEventListener("click", function (e) {
e.preventDefault();

location.href = "https://kube-workshop.herokuapp.com";
location.href = "http://localhost:3000";
});
</script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion client/success.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h1>Success 🎉</h1>
btn.addEventListener("click", function (e) {
e.preventDefault();

location.href = "https://kube-workshop.herokuapp.com";
location.href = "http://localhost:3000";
});
</script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion client/workshops/workshop1.html
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ <h1>Speaker</h1>
}

// Setting this PriceId here:
var priceId = "price_1Lp5A6SCC8JVWfvgGEkl8dKT";
var priceId = "price_1M0KsTSCC8JVWfvgLwfKxX53";

fetch("/create-checkout-session/" + priceId, {
method: "POST",
Expand Down
2 changes: 1 addition & 1 deletion client/workshops/workshop2.html
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ <h1>Speaker</h1>
}

// Setting this PriceId here:
var priceId = "price_1Lp5AaSCC8JVWfvg8pg1OAGn";
var priceId = "price_1M0KtiSCC8JVWfvgcKspC6qQ";

fetch("/create-checkout-session/" + priceId, {
method: "POST",
Expand Down
2 changes: 1 addition & 1 deletion client/workshops/workshop3.html
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ <h1>Speaker</h1>
}

// Setting this PriceId here:
var priceId = "price_1Lp5B7SCC8JVWfvgJ8AgwuvV";
var priceId = "price_1M0KudSCC8JVWfvgG9kjipMp";

fetch("/create-checkout-session/" + priceId, {
method: "POST",
Expand Down
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ app.post("/create-checkout-session/:pid", async (req, res) => {

// Server listening:
app.listen(port, () => {
console.log(`Server listening on port: ${port}!`);
console.log(`Server listening on port: ${port}`);
});

0 comments on commit 2f79232

Please sign in to comment.