global_collect 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. data/COPYING +11 -0
  2. data/README.markdown +109 -0
  3. data/Rakefile +34 -0
  4. data/VERSION +1 -0
  5. data/examples/cancel_payment.rb +14 -0
  6. data/examples/convert_amount.rb +14 -0
  7. data/examples/get_order_status.rb +15 -0
  8. data/examples/insert_order_with_payment.rb +37 -0
  9. data/examples/process_challenged.rb +13 -0
  10. data/examples/set_payment.rb +23 -0
  11. data/examples/test_connection.rb +13 -0
  12. data/global_collect.gemspec +170 -0
  13. data/lib/global_collect/api_client.rb +71 -0
  14. data/lib/global_collect/builders/do_refund/credit_card_payment.rb +12 -0
  15. data/lib/global_collect/builders/do_refund/payment.rb +39 -0
  16. data/lib/global_collect/builders/insert_order_with_payment/credit_card_online_payment.rb +38 -0
  17. data/lib/global_collect/builders/insert_order_with_payment/hosted_credit_card_online_payment.rb +4 -0
  18. data/lib/global_collect/builders/insert_order_with_payment/order.rb +75 -0
  19. data/lib/global_collect/builders/insert_order_with_payment/payment.rb +25 -0
  20. data/lib/global_collect/builders/set_payment/payment.rb +23 -0
  21. data/lib/global_collect/const/payment_product.rb +38 -0
  22. data/lib/global_collect/const/payment_status.rb +90 -0
  23. data/lib/global_collect/field_validator.rb +47 -0
  24. data/lib/global_collect/request_models/base.rb +37 -0
  25. data/lib/global_collect/request_models/do_refund/credit_card_payment.rb +12 -0
  26. data/lib/global_collect/request_models/do_refund/payment.rb +39 -0
  27. data/lib/global_collect/request_models/insert_order_with_payment/credit_card_online_payment.rb +44 -0
  28. data/lib/global_collect/request_models/insert_order_with_payment/hosted_credit_card_online_payment.rb +19 -0
  29. data/lib/global_collect/request_models/insert_order_with_payment/order.rb +67 -0
  30. data/lib/global_collect/request_models/insert_order_with_payment/payment.rb +17 -0
  31. data/lib/global_collect/request_models/set_payment/payment.rb +17 -0
  32. data/lib/global_collect/requests/base.rb +43 -0
  33. data/lib/global_collect/requests/cancel_payment.rb +22 -0
  34. data/lib/global_collect/requests/composite.rb +23 -0
  35. data/lib/global_collect/requests/convert_amount.rb +29 -0
  36. data/lib/global_collect/requests/do_refund.rb +8 -0
  37. data/lib/global_collect/requests/get_order_status.rb +24 -0
  38. data/lib/global_collect/requests/insert_order_with_payment.rb +10 -0
  39. data/lib/global_collect/requests/process_challenged.rb +22 -0
  40. data/lib/global_collect/requests/set_payment.rb +9 -0
  41. data/lib/global_collect/requests/simple.rb +39 -0
  42. data/lib/global_collect/requests/test_connection.rb +8 -0
  43. data/lib/global_collect/responses/base.rb +73 -0
  44. data/lib/global_collect/responses/convert_amount/response_methods.rb +8 -0
  45. data/lib/global_collect/responses/do_refund/response_methods.rb +24 -0
  46. data/lib/global_collect/responses/get_order_status/v1_response_methods.rb +49 -0
  47. data/lib/global_collect/responses/get_order_status/v2_response_methods.rb +67 -0
  48. data/lib/global_collect/responses/insert_order_with_payment/credit_card_online_payment_response_methods.rb +31 -0
  49. data/lib/global_collect/responses/insert_order_with_payment/hosted_merchant_link_payment_response_methods.rb +16 -0
  50. data/lib/global_collect/responses/success_row.rb +15 -0
  51. data/lib/global_collect.rb +81 -0
  52. data/spec/api_client_spec.rb +93 -0
  53. data/spec/builders/do_refund/credit_card_payment_spec.rb +32 -0
  54. data/spec/builders/do_refund/payment_spec.rb +51 -0
  55. data/spec/builders/insert_order_with_payment/credit_card_online_payment_spec.rb +59 -0
  56. data/spec/builders/insert_order_with_payment/hosted_credit_card_online_payment_spec.rb +59 -0
  57. data/spec/builders/insert_order_with_payment/order_spec.rb +88 -0
  58. data/spec/builders/insert_order_with_payment/payment_spec.rb +37 -0
  59. data/spec/builders/set_payment/payment_spec.rb +35 -0
  60. data/spec/field_validator_spec.rb +79 -0
  61. data/spec/global_collect_spec.rb +43 -0
  62. data/spec/request_models/base_spec.rb +31 -0
  63. data/spec/request_models/insert_order_with_payment/credit_card_online_payment_spec.rb +11 -0
  64. data/spec/request_models/insert_order_with_payment/hosted_credit_card_online_payment_spec.rb +38 -0
  65. data/spec/requests/base_spec.rb +40 -0
  66. data/spec/requests/composite_spec.rb +48 -0
  67. data/spec/requests/convert_amount.rb +34 -0
  68. data/spec/requests/insert_order_with_payment_spec.rb +60 -0
  69. data/spec/requests/simple_spec.rb +37 -0
  70. data/spec/responses/base_spec.rb +59 -0
  71. data/spec/responses/convert_amount/response_methods_spec.rb +13 -0
  72. data/spec/responses/do_refund/response_methods_spec.rb +15 -0
  73. data/spec/responses/get_order_status/v1_response_methods_spec.rb +28 -0
  74. data/spec/responses/get_order_status/v2_response_methods_spec.rb +28 -0
  75. data/spec/responses/insert_order_with_payment/credit_card_online_payment_response_methods_spec.rb +13 -0
  76. data/spec/responses/insert_order_with_payment/hosted_merchant_link_payment_response_methods_spec.rb +13 -0
  77. data/spec/responses/succcess_row_spec.rb +26 -0
  78. data/spec/spec_helper.rb +130 -0
  79. data/spec/support/challenged_iowp_response.xml +51 -0
  80. data/spec/support/successful_convert_amount_response.xml +29 -0
  81. data/spec/support/successful_do_refund_response.xml +36 -0
  82. data/spec/support/successful_get_order_status_v1_response.xml +72 -0
  83. data/spec/support/successful_get_order_status_v2_response.xml +50 -0
  84. data/spec/support/successful_hosted_iowp_response.xml +60 -0
  85. data/spec/support/successful_iowp_response.xml +49 -0
  86. data/spec/support/successful_process_challenged_response.xml +26 -0
  87. data/spec/support/unsuccessful_do_refund_response.xml +29 -0
  88. data/spec/support/unsuccessful_iowp_response.xml +42 -0
  89. data/spec/support/unsuccessful_process_challenged_response.xml +30 -0
  90. metadata +213 -0
@@ -0,0 +1,60 @@
1
+ <?xml version="1.0"?>
2
+ <XML>
3
+ <REQUEST>
4
+ <ACTION>INSERT_ORDERWITHPAYMENT</ACTION>
5
+ <META>
6
+ <MERCHANTID>9906</MERCHANTID>
7
+ <IPADDRESS>20.60.98.38</IPADDRESS>
8
+ <VERSION>1.0</VERSION>
9
+ <REQUESTIPADDRESS>192.168.41.11</REQUESTIPADDRESS>
10
+ </META>
11
+ <PARAMS>
12
+ <ORDER>
13
+ <AMOUNT>2345</AMOUNT>
14
+ <CURRENCYCODE>USD</CURRENCYCODE>
15
+ <LANGUAGECODE>en</LANGUAGECODE>
16
+ <COUNTRYCODE>US</COUNTRYCODE>
17
+ <SURNAME>Cruijff</SURNAME>
18
+ <CITY>Barcelona</CITY>
19
+ <FIRSTNAME>Johan</FIRSTNAME>
20
+ <STREET>Nou Camp</STREET>
21
+ <HOUSENUMBER>14</HOUSENUMBER>
22
+ <ZIP>1000 AA</ZIP>
23
+ <STATE>Catalunie</STATE>
24
+ <STATECODE>NL-NH</STATECODE>
25
+ </ORDER>
26
+ <PAYMENT>
27
+ <RETURNURL>http://www.ebay.com</RETURNURL>
28
+ <PAYMENTPRODUCTID>1</PAYMENTPRODUCTID>
29
+ <AMOUNT>2345</AMOUNT>
30
+ <CURRENCYCODE>USD</CURRENCYCODE>
31
+ <COUNTRYCODE>US</COUNTRYCODE>
32
+ <LANGUAGECODE>en</LANGUAGECODE>
33
+ <HOSTEDINDICATOR>1</HOSTEDINDICATOR>
34
+ </PAYMENT>
35
+ </PARAMS>
36
+ <RESPONSE>
37
+ <RESULT>OK</RESULT>
38
+ <META>
39
+ <REQUESTID>273270</REQUESTID>
40
+ <RESPONSEDATETIME>20090712075050</RESPONSEDATETIME>
41
+ </META>
42
+ <ROW>
43
+ <STATUSID>20</STATUSID>
44
+ <ADDITIONALREFERENCE>00000099068112110068</ADDITIONALREFERENCE>
45
+ <REF>000000990681121100680000100001</REF>
46
+ <FORMMETHOD>GET</FORMMETHOD>
47
+ <EXTERNALREFERENCE>000000990681121100680000100001</EXTERNALREFERENCE>
48
+ <EFFORTID>1</EFFORTID>
49
+ <PAYMENTREFERENCE>0</PAYMENTREFERENCE>
50
+ <ATTEMPTID>1</ATTEMPTID>
51
+ <ORDERID>8112110068</ORDERID>
52
+ <RETURNMAC>of2qmJq8h5gkW+vyHxvTs5qKMHAabu1DX6S6uqE4ngc=</RETURNMAC>
53
+ <MAC>itbopdmPzV4FgcXhfpcMLDaLZLed4Wk46NZeYH/+ZlY=</MAC>
54
+ <FORMACTION>https://ps.gcsip.nl/orb/orb?ACTION=DO_START&REF=000000990681121100680000100001&MAC=itbopdmPzV4FgcXhfpcMLDaLZLed4Wk46NZeYH%2F%2BZlY%3D</FORMACTION>
55
+ <MERCHANTID>9906</MERCHANTID>
56
+ <STATUSDATE>20090712075050</STATUSDATE>
57
+ </ROW>
58
+ </RESPONSE>
59
+ </REQUEST>
60
+ </XML>
@@ -0,0 +1,49 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <XML>
3
+ <REQUEST>
4
+ <ACTION>INSERT_ORDERWITHPAYMENT</ACTION>
5
+ <META>
6
+ <IPADDRESS>127.0.0.1</IPADDRESS>
7
+ <MERCHANTID>1234</MERCHANTID>
8
+ <VERSION>1.0</VERSION>
9
+ <REQUESTIPADDRESS>192.168.1.1</REQUESTIPADDRESS>
10
+ </META>
11
+ <PARAMS>
12
+ <ORDER>
13
+ <ORDERID>42</ORDERID>
14
+ <AMOUNT>100</AMOUNT>
15
+ <CURRENCYCODE>EUR</CURRENCYCODE>
16
+ <LANGUAGECODE>en</LANGUAGECODE>
17
+ <COUNTRYCODE>FR</COUNTRYCODE>
18
+ <MERCHANTREFERENCE>42</MERCHANTREFERENCE>
19
+ </ORDER>
20
+ <PAYMENT>
21
+ <PAYMENTPRODUCTID>1</PAYMENTPRODUCTID>
22
+ <AMOUNT>100</AMOUNT>
23
+ <CURRENCYCODE>EUR</CURRENCYCODE>
24
+ <LANGUAGECODE>en</LANGUAGECODE>
25
+ <COUNTRYCODE>FR</COUNTRYCODE>
26
+ <EXPIRYDATE>0412</EXPIRYDATE>
27
+ <CREDITCARDNUMBER>4263982640269299</CREDITCARDNUMBER>
28
+ </PAYMENT>
29
+ </PARAMS>
30
+ <RESPONSE>
31
+ <RESULT>OK</RESULT>
32
+ <META>
33
+ <REQUESTID>3000852</REQUESTID>
34
+ <RESPONSEDATETIME>20100409020309</RESPONSEDATETIME>
35
+ </META>
36
+ <ROW>
37
+ <EFFORTID>1</EFFORTID>
38
+ <PAYMENTREFERENCE>0</PAYMENTREFERENCE>
39
+ <STATUSDATE>20100409020309</STATUSDATE>
40
+ <STATUSID>600</STATUSID>
41
+ <ADDITIONALREFERENCE>42</ADDITIONALREFERENCE>
42
+ <EXTERNALREFERENCE>42</EXTERNALREFERENCE>
43
+ <ATTEMPTID>1</ATTEMPTID>
44
+ <ORDERID>42</ORDERID>
45
+ <MERCHANTID>1234</MERCHANTID>
46
+ </ROW>
47
+ </RESPONSE>
48
+ </REQUEST>
49
+ </XML>
@@ -0,0 +1,26 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <XML>
3
+ <REQUEST>
4
+ <ACTION>PROCESS_CHALLENGED</ACTION>
5
+ <META>
6
+ <IPADDRESS>127.0.0.1</IPADDRESS>
7
+ <MERCHANTID>1234</MERCHANTID>
8
+ <VERSION>1.0</VERSION>
9
+ <REQUESTIPADDRESS>192.168.1.1</REQUESTIPADDRESS>
10
+ </META>
11
+ <PARAMS>
12
+ <PAYMENT>
13
+ <ORDERID>51</ORDERID>
14
+ <ATTEMPTID/>
15
+ <EFFORTID/>
16
+ </PAYMENT>
17
+ </PARAMS>
18
+ <RESPONSE>
19
+ <RESULT>OK</RESULT>
20
+ <META>
21
+ <REQUESTID>4236</REQUESTID>
22
+ <RESPONSEDATETIME>20100410001651</RESPONSEDATETIME>
23
+ </META>
24
+ </RESPONSE>
25
+ </REQUEST>
26
+ </XML>
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <XML>
3
+ <REQUEST>
4
+ <ACTION>DO_REFUND</ACTION>
5
+ <META>
6
+ <IPADDRESS>127.0.0.1</IPADDRESS>
7
+ <MERCHANTID>1234</MERCHANTID>
8
+ <VERSION>1.0</VERSION>
9
+ <REQUESTIPADDRESS>192.168.1.1</REQUESTIPADDRESS>
10
+ </META>
11
+ <PARAMS>
12
+ <PAYMENT>
13
+ <ORDERID>2</ORDERID>
14
+ <MERCHANTREFERENCE>2</MERCHANTREFERENCE>
15
+ </PAYMENT>
16
+ </PARAMS>
17
+ <RESPONSE>
18
+ <RESULT>NOK</RESULT>
19
+ <META>
20
+ <REQUESTID>3000635</REQUESTID>
21
+ <RESPONSEDATETIME>20100409013858</RESPONSEDATETIME>
22
+ </META>
23
+ <ERROR>
24
+ <CODE>300450</CODE>
25
+ <MESSAGE>ORDER WITHOUT REFUNDABLE PAYMENTS</MESSAGE>
26
+ </ERROR>
27
+ </RESPONSE>
28
+ </REQUEST>
29
+ </XML>
@@ -0,0 +1,42 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <XML>
3
+ <REQUEST>
4
+ <ACTION>INSERT_ORDERWITHPAYMENT</ACTION>
5
+ <META>
6
+ <IPADDRESS>127.0.0.1</IPADDRESS>
7
+ <MERCHANTID>1234</MERCHANTID>
8
+ <VERSION>1.0</VERSION>
9
+ <REQUESTIPADDRESS>192.168.1.1</REQUESTIPADDRESS>
10
+ </META>
11
+ <PARAMS>
12
+ <ORDER>
13
+ <ORDERID>42</ORDERID>
14
+ <AMOUNT>100</AMOUNT>
15
+ <CURRENCYCODE>EUR</CURRENCYCODE>
16
+ <LANGUAGECODE>en</LANGUAGECODE>
17
+ <COUNTRYCODE>FR</COUNTRYCODE>
18
+ <MERCHANTREFERENCE>42</MERCHANTREFERENCE>
19
+ </ORDER>
20
+ <PAYMENT>
21
+ <PAYMENTPRODUCTID>1</PAYMENTPRODUCTID>
22
+ <AMOUNT>100</AMOUNT>
23
+ <CURRENCYCODE>EUR</CURRENCYCODE>
24
+ <LANGUAGECODE>en</LANGUAGECODE>
25
+ <COUNTRYCODE>FR</COUNTRYCODE>
26
+ <EXPIRYDATE>0312</EXPIRYDATE>
27
+ <CREDITCARDNUMBER>4263982640269299</CREDITCARDNUMBER>
28
+ </PAYMENT>
29
+ </PARAMS>
30
+ <RESPONSE>
31
+ <RESULT>NOK</RESULT>
32
+ <META>
33
+ <REQUESTID>3000854</REQUESTID>
34
+ <RESPONSEDATETIME>20100409020328</RESPONSEDATETIME>
35
+ </META>
36
+ <ERROR>
37
+ <CODE>300620</CODE>
38
+ <MESSAGE>REQUEST 1234: MERCHANTREFERENCE 42 ALREADY EXISTS</MESSAGE>
39
+ </ERROR>
40
+ </RESPONSE>
41
+ </REQUEST>
42
+ </XML>
@@ -0,0 +1,30 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <XML>
3
+ <REQUEST>
4
+ <ACTION>PROCESS_CHALLENGED</ACTION>
5
+ <META>
6
+ <IPADDRESS>127.0.0.1</IPADDRESS>
7
+ <MERCHANTID>1234</MERCHANTID>
8
+ <VERSION>1.0</VERSION>
9
+ <REQUESTIPADDRESS>192.168.1.1</REQUESTIPADDRESS>
10
+ </META>
11
+ <PARAMS>
12
+ <PAYMENT>
13
+ <ORDERID>51</ORDERID>
14
+ <ATTEMPTID/>
15
+ <EFFORTID/>
16
+ </PAYMENT>
17
+ </PARAMS>
18
+ <RESPONSE>
19
+ <RESULT>NOK</RESULT>
20
+ <META>
21
+ <REQUESTID>4322</REQUESTID>
22
+ <RESPONSEDATETIME>20100410002114</RESPONSEDATETIME>
23
+ </META>
24
+ <ERROR>
25
+ <CODE>1100000</CODE>
26
+ <MESSAGE>PAYMENT IS NOT CHALLENGED. MERCHANTID XXXX, ORDERID 51, EFFORTID 1</MESSAGE>
27
+ </ERROR>
28
+ </RESPONSE>
29
+ </REQUEST>
30
+ </XML>
metadata ADDED
@@ -0,0 +1,213 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: global_collect
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 0
9
+ version: 0.1.0
10
+ platform: ruby
11
+ authors:
12
+ - Timon Karnezos
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-04-27 00:00:00 -07:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: httparty
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ - 5
30
+ - 2
31
+ version: 0.5.2
32
+ type: :runtime
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: builder
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 2
43
+ - 0
44
+ version: "2.0"
45
+ type: :runtime
46
+ version_requirements: *id002
47
+ description: |
48
+ Gives minimally intrusive access to Global Collect's payment processing API.
49
+ Currently implements a very small segment of the full API but is built with
50
+ extensibility in mind.
51
+
52
+ email: timon.karnezos@gmail.com
53
+ executables: []
54
+
55
+ extensions: []
56
+
57
+ extra_rdoc_files:
58
+ - README.markdown
59
+ files:
60
+ - COPYING
61
+ - README.markdown
62
+ - Rakefile
63
+ - VERSION
64
+ - examples/cancel_payment.rb
65
+ - examples/convert_amount.rb
66
+ - examples/get_order_status.rb
67
+ - examples/insert_order_with_payment.rb
68
+ - examples/process_challenged.rb
69
+ - examples/set_payment.rb
70
+ - examples/test_connection.rb
71
+ - global_collect.gemspec
72
+ - lib/global_collect.rb
73
+ - lib/global_collect/api_client.rb
74
+ - lib/global_collect/builders/do_refund/credit_card_payment.rb
75
+ - lib/global_collect/builders/do_refund/payment.rb
76
+ - lib/global_collect/builders/insert_order_with_payment/credit_card_online_payment.rb
77
+ - lib/global_collect/builders/insert_order_with_payment/hosted_credit_card_online_payment.rb
78
+ - lib/global_collect/builders/insert_order_with_payment/order.rb
79
+ - lib/global_collect/builders/insert_order_with_payment/payment.rb
80
+ - lib/global_collect/builders/set_payment/payment.rb
81
+ - lib/global_collect/const/payment_product.rb
82
+ - lib/global_collect/const/payment_status.rb
83
+ - lib/global_collect/field_validator.rb
84
+ - lib/global_collect/request_models/base.rb
85
+ - lib/global_collect/request_models/do_refund/credit_card_payment.rb
86
+ - lib/global_collect/request_models/do_refund/payment.rb
87
+ - lib/global_collect/request_models/insert_order_with_payment/credit_card_online_payment.rb
88
+ - lib/global_collect/request_models/insert_order_with_payment/hosted_credit_card_online_payment.rb
89
+ - lib/global_collect/request_models/insert_order_with_payment/order.rb
90
+ - lib/global_collect/request_models/insert_order_with_payment/payment.rb
91
+ - lib/global_collect/request_models/set_payment/payment.rb
92
+ - lib/global_collect/requests/base.rb
93
+ - lib/global_collect/requests/cancel_payment.rb
94
+ - lib/global_collect/requests/composite.rb
95
+ - lib/global_collect/requests/convert_amount.rb
96
+ - lib/global_collect/requests/do_refund.rb
97
+ - lib/global_collect/requests/get_order_status.rb
98
+ - lib/global_collect/requests/insert_order_with_payment.rb
99
+ - lib/global_collect/requests/process_challenged.rb
100
+ - lib/global_collect/requests/set_payment.rb
101
+ - lib/global_collect/requests/simple.rb
102
+ - lib/global_collect/requests/test_connection.rb
103
+ - lib/global_collect/responses/base.rb
104
+ - lib/global_collect/responses/convert_amount/response_methods.rb
105
+ - lib/global_collect/responses/do_refund/response_methods.rb
106
+ - lib/global_collect/responses/get_order_status/v1_response_methods.rb
107
+ - lib/global_collect/responses/get_order_status/v2_response_methods.rb
108
+ - lib/global_collect/responses/insert_order_with_payment/credit_card_online_payment_response_methods.rb
109
+ - lib/global_collect/responses/insert_order_with_payment/hosted_merchant_link_payment_response_methods.rb
110
+ - lib/global_collect/responses/success_row.rb
111
+ - spec/api_client_spec.rb
112
+ - spec/builders/do_refund/credit_card_payment_spec.rb
113
+ - spec/builders/do_refund/payment_spec.rb
114
+ - spec/builders/insert_order_with_payment/credit_card_online_payment_spec.rb
115
+ - spec/builders/insert_order_with_payment/hosted_credit_card_online_payment_spec.rb
116
+ - spec/builders/insert_order_with_payment/order_spec.rb
117
+ - spec/builders/insert_order_with_payment/payment_spec.rb
118
+ - spec/builders/set_payment/payment_spec.rb
119
+ - spec/field_validator_spec.rb
120
+ - spec/global_collect_spec.rb
121
+ - spec/request_models/base_spec.rb
122
+ - spec/request_models/insert_order_with_payment/credit_card_online_payment_spec.rb
123
+ - spec/request_models/insert_order_with_payment/hosted_credit_card_online_payment_spec.rb
124
+ - spec/requests/base_spec.rb
125
+ - spec/requests/composite_spec.rb
126
+ - spec/requests/convert_amount.rb
127
+ - spec/requests/insert_order_with_payment_spec.rb
128
+ - spec/requests/simple_spec.rb
129
+ - spec/responses/base_spec.rb
130
+ - spec/responses/convert_amount/response_methods_spec.rb
131
+ - spec/responses/do_refund/response_methods_spec.rb
132
+ - spec/responses/get_order_status/v1_response_methods_spec.rb
133
+ - spec/responses/get_order_status/v2_response_methods_spec.rb
134
+ - spec/responses/insert_order_with_payment/credit_card_online_payment_response_methods_spec.rb
135
+ - spec/responses/insert_order_with_payment/hosted_merchant_link_payment_response_methods_spec.rb
136
+ - spec/responses/succcess_row_spec.rb
137
+ - spec/spec_helper.rb
138
+ - spec/support/challenged_iowp_response.xml
139
+ - spec/support/successful_convert_amount_response.xml
140
+ - spec/support/successful_do_refund_response.xml
141
+ - spec/support/successful_get_order_status_v1_response.xml
142
+ - spec/support/successful_get_order_status_v2_response.xml
143
+ - spec/support/successful_hosted_iowp_response.xml
144
+ - spec/support/successful_iowp_response.xml
145
+ - spec/support/successful_process_challenged_response.xml
146
+ - spec/support/unsuccessful_do_refund_response.xml
147
+ - spec/support/unsuccessful_iowp_response.xml
148
+ - spec/support/unsuccessful_process_challenged_response.xml
149
+ has_rdoc: true
150
+ homepage: http://github.com/timonk/global_collect
151
+ licenses: []
152
+
153
+ post_install_message:
154
+ rdoc_options:
155
+ - --charset=UTF-8
156
+ require_paths:
157
+ - lib
158
+ required_ruby_version: !ruby/object:Gem::Requirement
159
+ requirements:
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ segments:
163
+ - 0
164
+ version: "0"
165
+ required_rubygems_version: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ segments:
170
+ - 0
171
+ version: "0"
172
+ requirements: []
173
+
174
+ rubyforge_project:
175
+ rubygems_version: 1.3.6
176
+ signing_key:
177
+ specification_version: 3
178
+ summary: A Ruby client to the Global Collect API
179
+ test_files:
180
+ - spec/api_client_spec.rb
181
+ - spec/builders/do_refund/credit_card_payment_spec.rb
182
+ - spec/builders/do_refund/payment_spec.rb
183
+ - spec/builders/insert_order_with_payment/credit_card_online_payment_spec.rb
184
+ - spec/builders/insert_order_with_payment/hosted_credit_card_online_payment_spec.rb
185
+ - spec/builders/insert_order_with_payment/order_spec.rb
186
+ - spec/builders/insert_order_with_payment/payment_spec.rb
187
+ - spec/builders/set_payment/payment_spec.rb
188
+ - spec/field_validator_spec.rb
189
+ - spec/global_collect_spec.rb
190
+ - spec/request_models/base_spec.rb
191
+ - spec/request_models/insert_order_with_payment/credit_card_online_payment_spec.rb
192
+ - spec/request_models/insert_order_with_payment/hosted_credit_card_online_payment_spec.rb
193
+ - spec/requests/base_spec.rb
194
+ - spec/requests/composite_spec.rb
195
+ - spec/requests/convert_amount.rb
196
+ - spec/requests/insert_order_with_payment_spec.rb
197
+ - spec/requests/simple_spec.rb
198
+ - spec/responses/base_spec.rb
199
+ - spec/responses/convert_amount/response_methods_spec.rb
200
+ - spec/responses/do_refund/response_methods_spec.rb
201
+ - spec/responses/get_order_status/v1_response_methods_spec.rb
202
+ - spec/responses/get_order_status/v2_response_methods_spec.rb
203
+ - spec/responses/insert_order_with_payment/credit_card_online_payment_response_methods_spec.rb
204
+ - spec/responses/insert_order_with_payment/hosted_merchant_link_payment_response_methods_spec.rb
205
+ - spec/responses/succcess_row_spec.rb
206
+ - spec/spec_helper.rb
207
+ - examples/cancel_payment.rb
208
+ - examples/convert_amount.rb
209
+ - examples/get_order_status.rb
210
+ - examples/insert_order_with_payment.rb
211
+ - examples/process_challenged.rb
212
+ - examples/set_payment.rb
213
+ - examples/test_connection.rb