super_good-solidus_taxjar 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/super_good/solidus_taxjar/api_params.rb +1 -1
- data/lib/super_good/solidus_taxjar/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16f78fd5b5f06f886e1155ac73da728cafe195ccbf6680cad6399ce8048fcb96
|
4
|
+
data.tar.gz: dd18d3f4cf47e6eda8a2d537cbfac8ef82d15bb49e4042122f18f40e7ba14975
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bca92e9d73c6cbb601f551aef6ba99a19a0780aa351c82fab1281b6cf27c75c6cc931802e537dcff84012b92697b4510a2e0b02297c3a55ee2dff32bac8ee8cf
|
7
|
+
data.tar.gz: 75097f4c136e756add39300058309c7253f889006f52c781aa8b39514310906eaa1bdacf85c7f4d55585ceb1e1bb4e4f069c20e66a8a5150157a197a25823ab1
|
data/CHANGELOG.md
CHANGED
@@ -28,7 +28,7 @@ module SuperGood
|
|
28
28
|
.merge(
|
29
29
|
transaction_id: order.number,
|
30
30
|
transaction_date: order.completed_at.to_formatted_s(:iso8601),
|
31
|
-
amount: order.total - order.additional_tax_total,
|
31
|
+
amount: [order.total - order.additional_tax_total, 0].max,
|
32
32
|
shipping: shipping(order),
|
33
33
|
sales_tax: order.additional_tax_total
|
34
34
|
)
|