PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.15
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.15
6.2.15 6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 All 197 releases
← All changes | app/Modules/Payments/Classes/PaymentReceipt.php +3 -1 6.2.4 → 6.2.15 View file →
@@ -5,8 +5,9 @@
5 5 if (!defined('ABSPATH')) {
6 6 exit; // Exit if accessed directly.
7 7 }
8 8
9 +use FluentForm\App\Helpers\Helper;
9 10 use FluentForm\App\Modules\Payments\Orders\OrderData;
10 11 use FluentForm\App\Modules\Payments\PaymentHelper;
11 12
12 13 class PaymentReceipt
@@ -62,9 +63,10 @@
62 63 return OrderData::getTotalPaid($this->entry);
63 64 }
64 65
65 66 $value = '';
66 - if(property_exists($this->entry, $property)) {
67 + $columns = Helper::getEntryColumns($this->entry);
68 + if(array_key_exists($property, $columns)) {
67 69 $value = $this->entry->{$property};
68 70 }
69 71
70 72 if($property == 'payment_method' && $value == 'test') {