From e592b56e0372e84ca3fbde32ec099d66ba65b18c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Thu, 7 Oct 2021 21:16:21 +0200 Subject: [PATCH] Remove token billing / refund placeholders --- app/PaymentDrivers/RazorpayPaymentDriver.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/app/PaymentDrivers/RazorpayPaymentDriver.php b/app/PaymentDrivers/RazorpayPaymentDriver.php index 73e0827a1ed4..927ca27805d4 100644 --- a/app/PaymentDrivers/RazorpayPaymentDriver.php +++ b/app/PaymentDrivers/RazorpayPaymentDriver.php @@ -85,15 +85,9 @@ class RazorpayPaymentDriver extends BaseDriver return $this->payment_method->paymentResponse($request); } - public function refund(Payment $payment, $amount, $return_client_response = false) - { - return $this->payment_method->yourRefundImplementationHere(); - } + public function refund(Payment $payment, $amount, $return_client_response = false) {} - public function tokenBilling(ClientGatewayToken $cgt, PaymentHash $payment_hash) - { - return $this->payment_method->yourTokenBillingImplmentation(); - } + public function tokenBilling(ClientGatewayToken $cgt, PaymentHash $payment_hash) {} /** * Convert the amount to the format that Razorpay supports.