JAVA-955: Migrate stripe to parent-boot-2

This commit is contained in:
sampadawagde
2020-05-06 22:35:28 +05:30
parent 2dd9b80107
commit 86da74f733
4 changed files with 28 additions and 3 deletions
@@ -13,4 +13,27 @@ public class ChargeRequest {
private Currency currency;
private String stripeEmail;
private String stripeToken;
public String getDescription() {
return description;
}
public int getAmount() {
return amount;
}
public Currency getCurrency() {
return currency;
}
public String getStripeEmail() {
return stripeEmail;
}
public String getStripeToken() {
return stripeToken;
}
public void setDescription(String description) {
this.description = description;
}
public void setCurrency(Currency currency) {
this.currency = currency;
}
}
@@ -0,0 +1,2 @@
STRIPE_SECRET_KEY=
STRIPE_PUBLIC_KEY=
+1 -1
View File
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url=/checkout.html" />
<meta http-equiv="refresh" content="0; url=/checkout" />
</head>
<body></body>
</html>