Class StripeResult
java.lang.Object
io.github.sigmacasino.HTTPRoute
io.github.sigmacasino.GetRoute
io.github.sigmacasino.routes.account.StripeResult
- All Implemented Interfaces:
spark.Route
A route that shows the result of a Stripe payment to the user.
-
Field Summary
Fields inherited from class io.github.sigmacasino.HTTPRoute
app, loginRequired, path
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.sigmacasino.GetRoute
handle, registerSparkRoute
-
Constructor Details
-
StripeResult
-
-
Method Details
-
handleGet
Redirects the user to the account page with a success or error message. Temporary solution until we implement a proper payment result template.- Specified by:
handleGet
in classGetRoute
- Parameters:
request
- The HTTP request.response
- The HTTP response.- Returns:
- A redirect message.
- Throws:
SQLException
- if a database access error occurs in any subclass implementation
-