Store PayU payment metadata and attempts
All checks were successful
build-and-deploy / build-deploy (push) Successful in 37s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 37s
This commit is contained in:
@@ -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(
|
||||
"""
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user