adcurve_spree 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/adcurve_spree.gemspec +1 -1
- data/app/views/spree/adcurve_tag/_coversion_tag.html.erb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c5c18b73cac34637dc9ed13a87f0c3784fb3ddc
|
4
|
+
data.tar.gz: 01d361e31a8b99073dc3abd53dded81d8e17e111
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be18f316acd23f5e0384734f6c26ade124d4f0d0500808b91108563de8cefe5c0389a2f6c6561ea48db0e09a95696d52bf54b29a2133647e7f7228eafdd5e9eb
|
7
|
+
data.tar.gz: 5df08a5ac6dded03169c20650ffa7b27bf418be9e7db134b74626ed9cd5c1d4013a31ce4e8a7e59285c4d935f0bb76849f2ec7707fc2484fbe8ea899279f2977
|
data/adcurve_spree.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.platform = Gem::Platform::RUBY
|
4
4
|
s.name = 'adcurve_spree'
|
5
|
-
s.version = '0.0.
|
5
|
+
s.version = '0.0.14'
|
6
6
|
s.summary = 'Adcurve Spree Integration plugin'
|
7
7
|
s.description = 'Easy install adcurve support in to your spree ecommerce site'
|
8
8
|
s.required_ruby_version = '>= 2.1.6'
|
@@ -15,9 +15,9 @@
|
|
15
15
|
|
16
16
|
orderInfo.trans_id = "<%= @order.number %>"; // required, unique string with order or lead identifier (required)
|
17
17
|
orderInfo.trans_type = "order"; // string: Type of the transaction like Lead, Order, Pre-order, etc (optional)
|
18
|
-
orderInfo.amount_1 = "<%= @order.total - @order.
|
19
|
-
orderInfo.amount_2 = "<%=
|
20
|
-
orderInfo.amount_3 = "<%= @order.
|
18
|
+
orderInfo.amount_1 = "<%= @order.total - @order.shipment_total %>"; // string: order amount plus tax minus shipping costs in cents (required)
|
19
|
+
orderInfo.amount_2 = "<%= @order.total - @order.shipment_total - @order.additional_tax_total %>"; // string: order amount minus tax minus shipping costs in cents (required)
|
20
|
+
orderInfo.amount_3 = "<%= @order.shipment_total + @order.additional_tax_total %>"; // string: shipping amount plus tax in cents (required)
|
21
21
|
orderInfo.customer_id = "<%= @order.user_id %>"; // string: customer id (optional)
|
22
22
|
orderInfo.new_customer = false; // string: type of customer: 1=new, 0-=existing (optional)
|
23
23
|
orderInfo.coupon_code = ""; // string: used coupon code (optional)
|