In the update_status, just before the closing bracket add:
See how that works for you ...Code:// hide this payment module when set to Store Pickup if ( is_object($$module) || ($_SESSION['shipping']['id'] == 'storepickup_storepickup') ) { echo 'should not run!!!'; $this->enabled = false; }![]()



