amplifypay_ruby 1.0.1 → 1.0.11
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99897b4235dbbbe8ba3861ae71a06c9d0da68b98
|
4
|
+
data.tar.gz: b19be20db4891b33b1e12a04655d692c0b12c341
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ec7ab7cc0898793a03ff91d5333f840962369a6f95151e2bf797f7355cc78b0432eaa86581a38fcb38fe4b2906d288d6559963443177255a4c53c960c1a0cce
|
7
|
+
data.tar.gz: 0043572cb9768b8adfa1168f8c2ed867aa48194c162b5a5cb520ddd0ce800742c689ed96b64435499289b1cd4fa10ba8c0abd3273ea71007abb866e2f25b5b1b
|
@@ -2,12 +2,11 @@ module AmplifypayRuby
|
|
2
2
|
module Checkout
|
3
3
|
class Invoice < AmplifypayRuby::Checkout::Core
|
4
4
|
|
5
|
-
attr_accessor :
|
5
|
+
attr_accessor :total_amount, :redirect_url, :store, :paymentDescription
|
6
6
|
attr_accessor :customer, :status_desc, :trans_id, :transaction_ref, :response_text, :invoice_url, :status_code
|
7
7
|
|
8
8
|
def initialize
|
9
|
-
@
|
10
|
-
@trans_id = 22
|
9
|
+
@trans_id = "22"
|
11
10
|
@customer = {}
|
12
11
|
@total_amount = 0.0
|
13
12
|
@redirect_url = ""
|
@@ -48,7 +47,7 @@ module AmplifypayRuby
|
|
48
47
|
{
|
49
48
|
merchantId: AmplifypayRuby::Setup.merchant_id,
|
50
49
|
apiKey: AmplifypayRuby::Setup.private_key,
|
51
|
-
transID: @
|
50
|
+
transID: @trans_id,
|
52
51
|
customerEmail: @customer["email"],
|
53
52
|
customerName: @customer["name"],
|
54
53
|
Amount: @total_amount,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amplifypay_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Innocent
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|