From 239df0f67ca8666d0d405288ad2261ca6c980676 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 9 Feb 2023 09:14:22 +1100 Subject: [PATCH 1/3] Add logging around paytrace --- app/PaymentDrivers/PayTrace/CreditCard.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/PaymentDrivers/PayTrace/CreditCard.php b/app/PaymentDrivers/PayTrace/CreditCard.php index a4074c1732..4783126f4b 100644 --- a/app/PaymentDrivers/PayTrace/CreditCard.php +++ b/app/PaymentDrivers/PayTrace/CreditCard.php @@ -87,6 +87,9 @@ class CreditCard return $this->paytrace->processUnsuccessfulTransaction($data); } + nlog("paytrace response createCustomer"); + nlog($response); + $cgt = []; $cgt['token'] = $response->customer_id; $cgt['payment_method_id'] = GatewayType::CREDIT_CARD; From 8760068a8c456eee3a0999eb0ee7495c78b4a873 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 9 Feb 2023 09:20:09 +1100 Subject: [PATCH 2/3] Update purchase orders with correct footer --- app/Services/PurchaseOrder/PurchaseOrderService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/PurchaseOrder/PurchaseOrderService.php b/app/Services/PurchaseOrder/PurchaseOrderService.php index 68568ecffc..80bfb889e4 100644 --- a/app/Services/PurchaseOrder/PurchaseOrderService.php +++ b/app/Services/PurchaseOrder/PurchaseOrderService.php @@ -54,7 +54,7 @@ class PurchaseOrderService if (! $this->purchase_order->design_id) $this->purchase_order->design_id = $this->decodePrimaryKey($settings->purchase_order_design_id); - if (!isset($this->invoice->footer) || empty($this->invoice->footer)) + if (!isset($this->purchase_order->footer) || empty($this->purchase_order->footer)) $this->purchase_order->footer = $settings->purchase_order_footer; if (!isset($this->purchase_order->terms) || empty($this->purchase_order->terms)) From 0f6d782b059713b64cb5b3444fea508ead075d0d Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 9 Feb 2023 09:23:47 +1100 Subject: [PATCH 3/3] Fixes for translation string in subscriptions --- .../components/livewire/billing-portal-purchase.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/portal/ninja2020/components/livewire/billing-portal-purchase.blade.php b/resources/views/portal/ninja2020/components/livewire/billing-portal-purchase.blade.php index 446bb79a74..9f1fee95b3 100644 --- a/resources/views/portal/ninja2020/components/livewire/billing-portal-purchase.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/billing-portal-purchase.blade.php @@ -209,7 +209,7 @@ @if($steps['passwordless_login_sent']) {{ ctrans('texts.email_sent') }} + class="block mt-2 text-sm text-green-600">{!! ctrans('texts.sent') !!} @endif @endif