AltaPay / plugin-magento2

MIT License
0 stars 3 forks source link

Notice: Undefined variable: _order #22

Closed AleksLi closed 3 years ago

AleksLi commented 4 years ago

I have 0.5.0 altapay/magento2-payment module installed via the composer without any overridden files on my project. I've checked the latest version of your module (which is 0.14.0 on this moment) and found the same code for the form.phtml template.

I've got this message trying to reach any of the Shipment View page. I'm attaching the screenshot of the message. shipment error formphtml

Reproducing

  1. Create any order -> create shipment
  2. Go to admin panel Sales-> Shipment
  3. Pick any of the created shipments.

You will see the message only in developer mode. In production mode you will get just a page without content.

BushraAsif commented 3 years ago

This has been resolved in the latest version.