Hi,
Thanks for the report.
We have already submit a patch for this PHP notice but we modified too much elements in order to create a new package.
Please replace
if(
(in_array($order->order_status, $confirmed) || (empty($order->order_status) && in_array($created, $confirmed)))
&&
(empty($order->old->order_status) || !in_array($order->old->order_status, $confirmed))
) {
foreach($this->fullOrder->order_payment_params->userpoints->earn_points as $mode => $p) {
By
if(
!empty($this->fullOrder->order_payment_params->userpoints->earn_points)
&&
(in_array($order->order_status, $confirmed) || (empty($order->order_status) && in_array($created, $confirmed)))
&&
(empty($order->old->order_status) || !in_array($order->old->order_status, $confirmed))
) {
foreach($this->fullOrder->order_payment_params->userpoints->earn_points as $mode => $p) {
Regards,