@@ -47,6 +47,7 @@ public class PaymentController {
|
|||||||
public void handleYooKassaNotification(@RequestBody Map<String, Object> notification) {
|
public void handleYooKassaNotification(@RequestBody Map<String, Object> notification) {
|
||||||
try {
|
try {
|
||||||
paymentService.handlePaymentNotification(notification);
|
paymentService.handlePaymentNotification(notification);
|
||||||
|
log.info("Notification from yookassa: " + notification);
|
||||||
} catch (PaymentNotFoundException e) {
|
} catch (PaymentNotFoundException e) {
|
||||||
log.error("Error processing payment notification", e);
|
log.error("Error processing payment notification", e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user