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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12a97debf15fb02d9d0712a243678e4e22254248
4
- data.tar.gz: 4c3d1dae9566fbd56c0533214a6a31f737ad7fea
3
+ metadata.gz: 7c5c18b73cac34637dc9ed13a87f0c3784fb3ddc
4
+ data.tar.gz: 01d361e31a8b99073dc3abd53dded81d8e17e111
5
5
  SHA512:
6
- metadata.gz: 6f51d8fea3829038ce485565dfe746eef460cf767841552fdf92a2078988bdba0cc84e5e42176065f736107eb687387571e2e2f8ae1c8837d003e2629df32d68
7
- data.tar.gz: d429eaf005ca857dfd8336a26db0153a8725b27348ac86d3c49f05778caab97603bcead186ddf68890f0c14fb32de0ee8f770a23830df68807046c1081dbed91
6
+ metadata.gz: be18f316acd23f5e0384734f6c26ade124d4f0d0500808b91108563de8cefe5c0389a2f6c6561ea48db0e09a95696d52bf54b29a2133647e7f7228eafdd5e9eb
7
+ data.tar.gz: 5df08a5ac6dded03169c20650ffa7b27bf418be9e7db134b74626ed9cd5c1d4013a31ce4e8a7e59285c4d935f0bb76849f2ec7707fc2484fbe8ea899279f2977
@@ -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.13'
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.ship_total - 10 %>"; // string: order amount plus tax minus shipping costs in cents (required)
19
- orderInfo.amount_2 = "<%= ( @order.total - @order.ship_total - 10 ) / 1.21 %>"; // string: order amount minus tax minus shipping costs in cents (required)
20
- orderInfo.amount_3 = "<%= @order.ship_total %>"; // string: shipping amount plus tax in cents (required)
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adcurve_spree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stanislav O. Pogrebnyak