Skip to content

Commit

Permalink
Fix syncing of tax rates
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Apr 16, 2020
1 parent d721769 commit 0489030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ public function syncTaxRates()
foreach ($this->items as $item) {
$stripeSubscriptionItem = $item->asStripeSubscriptionItem();

$stripeSubscriptionItem->tax_rates = $this->user->planTaxRates($item->stripe_plan);
$stripeSubscriptionItem->tax_rates = $this->getPlanTaxRatesForPayload($item->stripe_plan);

$stripeSubscriptionItem->save();
}
Expand Down

0 comments on commit 0489030

Please sign in to comment.