Remove token billing / refund placeholders

This commit is contained in:
Benjamin Beganović 2021-10-07 21:16:21 +02:00
parent 167c42e5b1
commit e592b56e03

View File

@ -85,15 +85,9 @@ class RazorpayPaymentDriver extends BaseDriver
return $this->payment_method->paymentResponse($request); return $this->payment_method->paymentResponse($request);
} }
public function refund(Payment $payment, $amount, $return_client_response = false) public function refund(Payment $payment, $amount, $return_client_response = false) {}
{
return $this->payment_method->yourRefundImplementationHere();
}
public function tokenBilling(ClientGatewayToken $cgt, PaymentHash $payment_hash) public function tokenBilling(ClientGatewayToken $cgt, PaymentHash $payment_hash) {}
{
return $this->payment_method->yourTokenBillingImplmentation();
}
/** /**
* Convert the amount to the format that Razorpay supports. * Convert the amount to the format that Razorpay supports.