Payment response

This commit is contained in:
David Bomba 2021-07-05 23:05:30 +10:00
parent e1e7a3ffc8
commit 2d044eee8e

View File

@ -223,7 +223,7 @@ class CreditCard
'payment_hash' => $request->input('m_payment_id'), 'payment_hash' => $request->input('m_payment_id'),
]; ];
$this->payfast->payment_hash->data = array_merge((array) $this->stripe->payment_hash->data, $state); $this->payfast->payment_hash->data = array_merge((array) $this->payfast->payment_hash->data, $state);
$this->payfast->payment_hash->save(); $this->payfast->payment_hash->save();
if($response_array['payment_status'] == 'COMPLETE') { if($response_array['payment_status'] == 'COMPLETE') {