Add empty check to earliestMatchingOrder query. This was throwing an error when the subscription was brand-new and had no orders yet
Add empty check to earliestMatchingOrder query. This was throwing an error when the subscription was brand-new and had no orders yet

MarketingDigitalBR/infusionsoft-php-sdk,F2KLabs/infusionsoft-php-sdk