Store PayU payment metadata and attempts
All checks were successful
build-and-deploy / build-deploy (push) Successful in 37s

This commit is contained in:
androidlover5842
2026-01-30 09:34:50 +05:30
parent 52bcdd3648
commit e324eee065
7 changed files with 256 additions and 15 deletions

View File

@@ -9,6 +9,8 @@ import java.util.UUID
interface PaymentRepo : JpaRepository<Payment, UUID> {
fun findByBookingIdOrderByReceivedAtDesc(bookingId: UUID): List<Payment>
fun findByReference(reference: String): Payment?
fun findByGatewayPaymentId(gatewayPaymentId: String): Payment?
fun findByGatewayTxnId(gatewayTxnId: String): Payment?
@Query(
"""

View File

@@ -0,0 +1,7 @@
package com.android.trisolarisserver.repo
import com.android.trisolarisserver.models.payment.PayuPaymentAttempt
import org.springframework.data.jpa.repository.JpaRepository
import java.util.UUID
interface PayuPaymentAttemptRepo : JpaRepository<PayuPaymentAttempt, UUID>