Working on payment records from online payments

This commit is contained in:
David Bomba 2020-08-19 12:37:17 +10:00
parent 4a14206e84
commit c5d093232c
2 changed files with 5 additions and 7 deletions

View File

@ -160,7 +160,7 @@ class Charge
return false;
$payment_method_type = $response->charges->data[0]->payment_method_details->card->brand;
info($payment_method_type);
//info($payment_method_type);
$data = [
'gateway_type_id' => $cgt->gateway_type_id,

View File

@ -71,8 +71,6 @@ class PaymentRepository extends BaseRepository
private function applyPayment(array $data, Payment $payment): ?Payment
{
info(print_r($data,1));
//check currencies here and fill the exchange rate data if necessary
if (!$payment->id) {
$this->processExchangeRates($data, $payment);