noctivityinc-activemerchant 1.5.1 → 1.5.2
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.
|
@@ -9,6 +9,16 @@ module ActiveMerchant #:nodoc:
|
|
|
9
9
|
# * You can force email of merchant receipt with :merchant_receipt => true
|
|
10
10
|
# * You can exclude CVV with :ignore_cvv => true
|
|
11
11
|
# * All transactions use dollar values.
|
|
12
|
+
#
|
|
13
|
+
# The following options exist that can be based to the options hash for purchase, authorize and capture
|
|
14
|
+
# => billing_address hash
|
|
15
|
+
# => invoice = invoice number
|
|
16
|
+
# => description = product description for receipt
|
|
17
|
+
# => email = email address of customer. IMPORTANT!
|
|
18
|
+
# => customer = customer number
|
|
19
|
+
# => ip = ip address of customer
|
|
20
|
+
|
|
21
|
+
#
|
|
12
22
|
class QuantumGateway < Gateway
|
|
13
23
|
LIVE_URL = 'https://secure.quantumgateway.com/cgi/xml_requester.php'
|
|
14
24
|
|
|
@@ -30,7 +40,7 @@ module ActiveMerchant #:nodoc:
|
|
|
30
40
|
#
|
|
31
41
|
# :email_receipt => true if you want a receipt sent to the customer (false be default)
|
|
32
42
|
#
|
|
33
|
-
# :merchant_receipt => true if you want to override receiving the merchant receipt
|
|
43
|
+
# :merchant_receipt => true if you want to override receiving the merchant receipt (false be default)
|
|
34
44
|
#
|
|
35
45
|
# :ignore_avs => true ignore both AVS and CVV verification
|
|
36
46
|
# :ignore_cvv => true don't want to use CVV so continue processing even if CVV would have failed
|
|
@@ -145,7 +155,7 @@ module ActiveMerchant #:nodoc:
|
|
|
145
155
|
|
|
146
156
|
def add_invoice_details(xml, options)
|
|
147
157
|
xml.tag! 'InvoiceNumber', options[:invoice]
|
|
148
|
-
xml.tag! 'InvoiceDescription', options[:
|
|
158
|
+
xml.tag! 'InvoiceDescription', options[:description]
|
|
149
159
|
end
|
|
150
160
|
|
|
151
161
|
def add_customer_details(xml, options)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: noctivityinc-activemerchant
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.
|
|
4
|
+
version: 1.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tobias Luetke
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain:
|
|
11
11
|
- gem-public_cert.pem
|
|
12
|
-
date: 2010-02-
|
|
12
|
+
date: 2010-02-20 00:00:00 -05:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|