Skip to content

Commit

Permalink
feat(frontier): allow coupon codes in delegated checkout (#352)
Browse files Browse the repository at this point in the history
Signed-off-by: Kush Sharma <[email protected]>
  • Loading branch information
kushsharma authored Apr 5, 2024
1 parent c48531f commit df0e357
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions raystack/frontier/v1beta1/models.proto
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,11 @@ message CheckoutSubscriptionBody {
string plan = 1;
bool skip_trial = 2;
bool cancel_after_trial = 3;

// provider_coupon_id is the coupon code that will be applied to the subscription
// generated by the billing provider, this will be deprecated once coupons are
// managed by the platform
string provider_coupon_id = 4;
}

message CheckoutProductBody {
Expand Down

0 comments on commit df0e357

Please sign in to comment.