Skip to content

Commit 22fe50c

Browse files
Expand coupon.applies_to (#6554)
1 parent d1fecc2 commit 22fe50c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core/Services/Implementations/StripePaymentService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ public async Task<SubscriptionInfo> GetSubscriptionAsync(ISubscriber subscriber)
641641
}
642642

643643
var subscription = await _stripeAdapter.SubscriptionGetAsync(subscriber.GatewaySubscriptionId,
644-
new SubscriptionGetOptions { Expand = ["customer", "discounts", "test_clock"] });
644+
new SubscriptionGetOptions { Expand = ["customer.discount.coupon.applies_to", "discounts.coupon.applies_to", "test_clock"] });
645645

646646
subscriptionInfo.Subscription = new SubscriptionInfo.BillingSubscription(subscription);
647647

0 commit comments

Comments
 (0)