Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Jan 9, 2024
1 parent afbd210 commit 6e75999
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ VatCalculator::getTaxRateForLocation('NL');
VatCalculator::isValidVATNumber('NL123456789B01');
```

> **Warning**
> [!WARNING]
> This package does not provide any promises for correctly calculated taxes. You are still responsible to making sure that any calculated tax is correct for your use case. If you're uncertain if a certain tax is correct or not, it's best that you talk to an accountant.
## Requirements
Expand Down Expand Up @@ -237,12 +237,12 @@ if ($validator->passes()) {
}
```

> **Warning**
> [!WARNING]
> The validator extension returns `false` when the VAT ID Check SOAP API is unavailable.
### Cashier Stripe Integration

> **Note**
> [!NOTE]
> At the moment this package is not compatible with Cashier Stripe v13 or higher because it still relies on the old `taxPercentage` method which has been removed from Cashier v13. You can still use it on older Cashier Stripe versions in the meantime.
If you want to use this package in combination with [Laravel Cashier Stripe](https://github.com/laravel/cashier-stripe/) you can let your billable model use the `BillableWithinTheEU` trait. Because this trait overrides the `taxPercentage` method of the `Billable` trait, we have to explicitly tell our model to do so.
Expand Down

0 comments on commit 6e75999

Please sign in to comment.