Quote Originally Posted by OldNGrey View Post
I think you need to be checking delivery country is set. Try changing approx line 48 from
Code:
if ( ($this->enabled == true) && ((int)MODULE_PAYMENT_DIRBANKNZ_ZONE > 0) ) {
to
Code:
      if ( ($this->enabled == true) && ((int)MODULE_PAYMENT_DIRBANKNZ_ZONE > 0) && isset($order->delivery['country']['id']) ) {
I have placed an updated NZ module of Direct Bank Deposit in my GitHub. https://github.com/OldNGreyBMR/direc...in/NZ/includes that works with ZC157d and ZC158 with PHP 7.4 to 8.2.

Please try it on a test system and let me know the outcome.