swiss-activemerchant 1.0.9 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 303dfd0fa92bd813d23a4af3e48c3d0d038e1d7c909ec8c9b4a830fa6aa497c5
4
- data.tar.gz: 02b69592868a6f07ee592a8386aaa309521d69e95d5ba12965a59a388619548d
3
+ metadata.gz: 636641fdf235b185875abc903620f0e95b57fa8324512b8d6fe5e5021bf9debe
4
+ data.tar.gz: aaf0f828481b37e974216f4ebeabf464658c63fd05143e645958c3fa0b599268
5
5
  SHA512:
6
- metadata.gz: 62d7a1edfc8b6f4fcbe74e28cacceb3efe4f71008c16dd0fc1cd29b0b3a054f0e031aeef044840650490ac7637d3e97b6d71b161f0450f1f1f2ad3c3ba569fe9
7
- data.tar.gz: e4a69300e654cd6392478060b4b5dadc5c1eda4ea835fc3cc8b798210bc64a9dc0d8ec3c826493b31b631432b597a0521382fcc7bb7bbe93395a226d041f1172
6
+ metadata.gz: dac01dc8994370f17ee5ac551c559114598ab367b67b872902c07115a3df0c8abce3cc96a2064a57644ecd25f8176a88fe3afeab4e8446fab488fb4759eb9e30
7
+ data.tar.gz: d77113b3d55f1b31767cd84a4c0d2c91681041cf59fff60148eafdc0f8cdaa8f500919cfe275ea1dbde9676318a6520a5453d46dce0295939d668baf9c91e801
@@ -120,6 +120,10 @@ module ActiveMerchant #:nodoc:
120
120
  commit("transactions/#{transaction_token}.xml", nil, :get)
121
121
  end
122
122
 
123
+ def deliver(receiver_token, request)
124
+ commit("receivers/#{receiver_token}/deliver.xml", request)
125
+ end
126
+
123
127
  alias status find
124
128
 
125
129
  def supports_scrubbing?
@@ -207,6 +211,14 @@ module ActiveMerchant #:nodoc:
207
211
  doc.state(options[:billing_address].try(:[], :state))
208
212
  doc.zip(options[:billing_address].try(:[], :zip))
209
213
  doc.country(options[:billing_address].try(:[], :country))
214
+ doc.phone_number(options[:billing_address].try(:[], :phone))
215
+ doc.shipping_address1(options[:shiping_address].try(:[], :address1))
216
+ doc.shipping_address2(options[:shiping_address].try(:[], :address2))
217
+ doc.shipping_city(options[:shiping_address].try(:[], :city))
218
+ doc.shipping_state(options[:shiping_address].try(:[], :state))
219
+ doc.shipping_zip(options[:shiping_address].try(:[], :zip))
220
+ doc.shipping_country(options[:shiping_address].try(:[], :country))
221
+ doc.shipping_phone_number(options[:shiping_address].try(:[], :phone))
210
222
  end
211
223
  end
212
224
 
@@ -1,3 +1,3 @@
1
1
  module ActiveMerchant
2
- VERSION = '1.0.9'
2
+ VERSION = '1.0.11'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swiss-activemerchant
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Luetke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-13 00:00:00.000000000 Z
11
+ date: 2024-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport