diff --git a/app/Repositories/SubscriptionRepository.php b/app/Repositories/SubscriptionRepository.php index 466857f4a28e..643efd832890 100644 --- a/app/Repositories/SubscriptionRepository.php +++ b/app/Repositories/SubscriptionRepository.php @@ -106,7 +106,7 @@ class SubscriptionRepository extends BaseRepository } } - foreach($subscription->service()->recurringProducts() as $product) + foreach($subscription->service()->recurring_products() as $product) { $line_items[] = (array)$this->makeLineItem($product); }