rails-paypal-gem 0.7 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjVhZjVlNGY5MTU0MmYzNWFhZDhjYTAyNjk1NjhkNzZjZmVmZmFhMg==
4
+ ZGQwODUwMTcwMzEyZTcwYWFkNDU1ZjI2N2MxZjk2Yzc1MmZlMDRmZA==
5
5
  data.tar.gz: !binary |-
6
- Y2IzODc5MGZjYzcwZDA0YjU0ZTZhODZmYWRlMmIzMzE4ZDYwMGM3NQ==
6
+ MDQyNDdjMzBjNTUxMjY5MjM3MjRlMDZhYTMxZmVlZTI2ZmVkYTkyMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjhiYzJjY2U4OGNlYTllMWEyN2YzZWY0MmVjMWE0ZjBjZWY2YzVlYzgzYzYw
10
- NGM4ZWExYWFlZTAzNDY3ZGMxNjc5ZjAzMTU3NDMxMWExM2MzMDk5NDIyNTBj
11
- YTcyNjZhYjM5NjU3ZjhkYjAzMGE4MWY5YTVkZTc1M2NjYzNkMmM=
9
+ ODBmMzJlOTA4ZGFlOTFlYzcyMGQwOTM1MTg1Nzk2NDI4ZGUxMTMyY2NjNDM3
10
+ YTRiOTVkOWU2MWIxZTk2YWU4YWVjNzgzM2RmZjA4ZGM1NmI0ZTYxYjNhMmE5
11
+ OWZjY2I3MThlNGY3M2EzNzg5NmEyYzE1OWZkMGViZGM5MTRjZDk=
12
12
  data.tar.gz: !binary |-
13
- NTIxMmYyYTEyOTg1NDNjM2UzMzYyYzM4ZjkwYzA4YzVjZjc4ZmFiODQ4ZDgz
14
- OGM5MDc0MDEzMGVhYjA0NjcxMGExMTdkZjEyNjI5MTJmOTg0ZGE4MzY4NDcx
15
- NTJkY2YwNTNmNTk0NmQ0N2MyYmE5YzliYmZiNjM3NTQ2NWQ1MWI=
13
+ NDRhNTQ4N2RjZDMyODlmNmI0YjQ5OWM5ZjliYzA1OGFhY2ZkZTJmMjQwOTg4
14
+ NWE3MTAyZDQ4MWU1ZmMxZjY0ZTY1MWNkZjdjMjNiNTYxN2UyMWE0OWI5OTE4
15
+ YWQxODQxNGI0ZmMyYzI4YzJiMGZiMjFmMWM1NDFhODkxOGY3YTg=
@@ -1,3 +1,3 @@
1
1
  module RailsPaypalGem
2
- VERSION = '0.7'
2
+ VERSION = '0.7.1'
3
3
  end
@@ -15,9 +15,12 @@ class RailsPaypalGem::ExpressCheckout < RailsPaypalGem
15
15
  total += (li[:price].to_f * li[:quantity].to_i)
16
16
  end
17
17
  params["PAYMENTREQUEST_0_AMT"] = total.to_s
18
+ params["PAYMENTREQUEST_0_CURRENCYCODE"] = currency
19
+
18
20
  end
19
21
 
20
22
  def set(action = 'Sale', currency = 'EUR')
23
+ self.params["PAYMENTREQUEST_0_CURRENCYCODE"] = currency
21
24
  self.params["PAYMENTREQUEST_0_PAYMENTACTION"] = action
22
25
  self.params["METHOD"] = 'SetExpressCheckout'
23
26
  response = self.class.call(self.params)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-paypal-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Jezek