register payment listener

This commit is contained in:
2025-12-24 23:57:16 +03:30
parent d78846fea9
commit 4716620a43
6 changed files with 17 additions and 11 deletions
@@ -64,7 +64,7 @@ export class PaymentsController {
@ApiBody({ type: VerifyPaymentDto })
@ApiNotFoundResponse({ description: 'Payment not found' })
verifyPayment(@Body() verifyPaymentDto: VerifyPaymentDto) {
return this.paymentsService.verifyPayment(verifyPaymentDto.authority, verifyPaymentDto.orderId);
return this.paymentsService.verifyOnlinePayment(verifyPaymentDto.authority, verifyPaymentDto.orderId);
}
/** admin routes */