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

[10.0] Add options to subscription swap #620

Merged
merged 4 commits into from
Mar 19, 2019
Merged

Conversation

keithbrink
Copy link
Contributor

This resolves #580 - you can now pass in parameters when swapping a subscription, such as a coupon.

I believe this would also resolve #550, but I haven't tested it.

Pull request to the master branch.

@driesvints driesvints changed the title Add options to subscription swap [10.0] Add options to subscription swap Mar 18, 2019
@taylorotwell taylorotwell requested a review from driesvints March 19, 2019 03:15
@driesvints
Copy link
Member

This won't solve #550 because that should be done with the subscription builder instead.

@driesvints driesvints merged commit 69510c9 into laravel:master Mar 19, 2019
@driesvints
Copy link
Member

Thanks!

@driesvints
Copy link
Member

This seems to have broken the build: https://travis-ci.org/laravel/cashier/builds/508282346?utm_medium=notification&utm_source=email

The fact that builds don't run on PRs for this repo is a real PITA 🤦‍♂️

@driesvints
Copy link
Member

Ah, I know what's wrong. We'll need to update the coupon duration probably on our own Stripe test account. This is where #622 would come in handy...

@keithbrink
Copy link
Contributor Author

I can take a crack at #622 over the next couple days.

@driesvints
Copy link
Member

Would be great. I'll try to provide feedback if you want. Hit me up on Discord if you have questions.

@driesvints
Copy link
Member

In the meantime I'll try to get the test coupon fixed as soon as possible.

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

Successfully merging this pull request may close these issues.

2 participants