Browse Source

Expand coupon.applies_to (#6554)

v2025.11.0
Alex Morask 1 month ago committed by Alex Morask
parent
commit
bb56bd7fed
No known key found for this signature in database
GPG Key ID: 23E38285B743E3A8
  1. 2
      src/Core/Services/Implementations/StripePaymentService.cs

2
src/Core/Services/Implementations/StripePaymentService.cs

@ -641,7 +641,7 @@ public class StripePaymentService : IPaymentService @@ -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);

Loading…
Cancel
Save