Expand coupon.applies_to (#6554)

This commit is contained in:
Alex Morask 2025-11-07 13:05:05 -06:00 committed by GitHub
parent d1fecc2a0f
commit 22fe50c67a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -641,7 +641,7 @@ public class StripePaymentService : IPaymentService
}
var subscription = await _stripeAdapter.SubscriptionGetAsync(subscriber.GatewaySubscriptionId,
new SubscriptionGetOptions { Expand = ["customer", "discounts", "test_clock"] });
new SubscriptionGetOptions { Expand = ["customer.discount.coupon.applies_to", "discounts.coupon.applies_to", "test_clock"] });
subscriptionInfo.Subscription = new SubscriptionInfo.BillingSubscription(subscription);