We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3f7696c + f93a8d0 commit e695430Copy full SHA for e695430
src/main/java/com/backend/domain/payment/controller/ApiV1PaymentMethodController.java
@@ -171,7 +171,8 @@ public ResponseEntity<Void> confirmCallback(
171
@RequestParam(required = false, defaultValue = "") String result
172
) {
173
try {
174
- if (!"success".equalsIgnoreCase(result)) {
+ String res = (result == null) ? "" : result.toLowerCase();
175
+ if (!res.startsWith("success")) {
176
return redirect("/wallet?billing=fail&reason=result_not_success");
177
}
178
if (customerKey == null || authKey == null) {
0 commit comments