Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to add coupon in swap #580

Closed
ssrahman opened this issue Nov 13, 2018 · 7 comments
Closed

Add ability to add coupon in swap #580

ssrahman opened this issue Nov 13, 2018 · 7 comments

Comments

@ssrahman
Copy link

Currently it is not possible to add coupon while changing a plan using swap. We offer coupons to users and promote migrating to yearly plans.

@driesvints
Copy link
Member

Yeah, this could be added perhaps.

@Dasinfomedia2
Copy link

Does stripe support it the same? add coupon code with plan upgrade via API?

@driesvints
Copy link
Member

@Dasinfomedia2 I'm not sure what you're asking. This is the repo for the Stripe integration.

@Dasinfomedia2
Copy link

Yes.
I also want to add coupon code while changing the plan. But it cannot be done with cashier.
I want to know does this feature stripe support? So, I can do it with stripe API coding.
I couldn't find on stripe API docs.

@driesvints
Copy link
Member

I think so yes because there's a coupon field on the update method of a subscription: https://stripe.com/docs/api/subscriptions/update

@Dasinfomedia2
Copy link

Ok.
Thanks for the link.
I hope this functionality will be added in cashier ASAP.

@driesvints
Copy link
Member

This will be added in the next major version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants