Payment response

This commit is contained in:
David Bomba 2021-07-05 23:04:17 +10:00
parent fc00d3a614
commit e1e7a3ffc8

View File

@ -204,7 +204,8 @@ class PayFastPaymentDriver extends BaseDriver
default:
$payment_hash = PaymentHash::whereRaw('BINARY `hash`= ?', [$hash])->first();
$payment_hash = PaymentHash::whereRaw('BINARY `hash`= ?', [$data['m_payment_id']])->first();
return $this->setPaymentMethod(GatewayType::CREDIT_CARD)
->setPaymentHash($payment_hash)
->processPaymentResponse($request);