Jake Vanderwerf
5 days ago 0dfe1d8afafc59c4a5559c498342668d5a58d6ef
inc/ui/Checkout.php
@@ -31,11 +31,13 @@
{
    public static function getProvider():Integrations|false
    {
        foreach (Site::getIntegrations() as $integration => $active) {
            if (in_array($integration, ['square', 'helcim']) && $active) {
                return JVB()->connect($integration);
            }
        }
      $int = ['square','helcim'];
      foreach ($int as $i) {
         if (Site::hasIntegration($i)) {
            error_log('Site has '.$i);
            return JVB()->connect($i);
         }
      }
        return false;
    }
   /**