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

[13.x] Implement support for Stripe Tax #1190

Merged
merged 1 commit into from
Jun 11, 2021
Merged

[13.x] Implement support for Stripe Tax #1190

merged 1 commit into from
Jun 11, 2021

Conversation

driesvints
Copy link
Member

@driesvints driesvints commented Jun 10, 2021

This PR is superseded by #1198 which will allow you to enable tax collection without the need to call withTax manually.

This implements support for Stripe Tax into Cashier Stripe.

$subscription = Auth::user()->newSubscription('default', 'price_monthly')
    ->withTax()
    ->create('pm_card_visa');

Checkout:

$checkout = Auth::user()
    ->withTax()
    ->checkout('price_tshirt');

@excid3 excid3 mentioned this pull request Jun 10, 2021
3 tasks
@taylorotwell taylorotwell merged commit 740ce6a into 13.x Jun 11, 2021
@taylorotwell taylorotwell deleted the stripe-tax branch June 11, 2021 13:40
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