epay 0.0.4

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.
Files changed (38) hide show
  1. data/.gitignore +15 -0
  2. data/.travis.yml +5 -0
  3. data/CHANGELOG.md +13 -0
  4. data/Gemfile +2 -0
  5. data/Guardfile +10 -0
  6. data/MIT-LICENSE +20 -0
  7. data/README.markdown +21 -0
  8. data/Rakefile +8 -0
  9. data/bin/epay-console +8 -0
  10. data/epay.gemspec +55 -0
  11. data/lib/epay.rb +104 -0
  12. data/lib/epay/api.rb +92 -0
  13. data/lib/epay/api/response.rb +29 -0
  14. data/lib/epay/card.rb +23 -0
  15. data/lib/epay/model.rb +23 -0
  16. data/lib/epay/subscription.rb +132 -0
  17. data/lib/epay/transaction.rb +171 -0
  18. data/lib/epay/version.rb +3 -0
  19. data/lib/extensions/hash.rb +4 -0
  20. data/spec/api/response_spec.rb +71 -0
  21. data/spec/api_spec.rb +58 -0
  22. data/spec/card_spec.rb +21 -0
  23. data/spec/fixtures/vcr_cassettes/existing_subscription.yml +75 -0
  24. data/spec/fixtures/vcr_cassettes/existing_transaction.yml +47 -0
  25. data/spec/fixtures/vcr_cassettes/non_existing_transaction.yml +48 -0
  26. data/spec/fixtures/vcr_cassettes/subscription_authorization.yml +95 -0
  27. data/spec/fixtures/vcr_cassettes/subscription_creation.yml +101 -0
  28. data/spec/fixtures/vcr_cassettes/subscription_invalid_creation.yml +47 -0
  29. data/spec/fixtures/vcr_cassettes/subscriptions.yml +87 -0
  30. data/spec/fixtures/vcr_cassettes/transaction_creation.yml +90 -0
  31. data/spec/fixtures/vcr_cassettes/transaction_invalid_creation.yml +47 -0
  32. data/spec/fixtures/vcr_cassettes/transactions.yml +50 -0
  33. data/spec/helpers/http_responses.rb +13 -0
  34. data/spec/model_spec.rb +36 -0
  35. data/spec/spec_helper.rb +20 -0
  36. data/spec/subscription_spec.rb +139 -0
  37. data/spec/transaction_spec.rb +245 -0
  38. metadata +280 -0
@@ -0,0 +1,75 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://ssl.ditonlinebetalingssystem.dk/remote/subscription.asmx
6
+ body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soap:Envelope xmlns:xsi=\"http://schemas.xmlsoap.org/soap/envelope/\"
7
+ xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
8
+ \ <soap:Body>\n <getsubscriptions xmlns=\"https://ssl.ditonlinebetalingssystem.dk/remote/subscription\">\n
9
+ \ <subscriptionid>387544</subscriptionid>\n <merchantnumber>8887978</merchantnumber>\n
10
+ \ </getsubscriptions>\n </soap:Body>\n</soap:Envelope>\n"
11
+ headers:
12
+ Accept:
13
+ - ! '*/*; q=0.5, application/xml'
14
+ Accept-Encoding:
15
+ - gzip, deflate
16
+ Content-Type:
17
+ - text/xml; charset=utf-8
18
+ Soapaction:
19
+ - https://ssl.ditonlinebetalingssystem.dk/remote/subscription/getsubscriptions
20
+ Content-Length:
21
+ - '463'
22
+ User-Agent:
23
+ - Ruby
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Cache-Control:
30
+ - private, max-age=0
31
+ Content-Type:
32
+ - text/xml; charset=utf-8
33
+ X-Aspnet-Version:
34
+ - 2.0.50727
35
+ X-Powered-By:
36
+ - ASP.NET
37
+ Date:
38
+ - Mon, 13 Feb 2012 13:53:04 GMT
39
+ Content-Length:
40
+ - '9134'
41
+ body: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
42
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><getsubscriptionsResponse
43
+ xmlns="https://ssl.ditonlinebetalingssystem.dk/remote/subscription"><getsubscriptionsResult>true</getsubscriptionsResult><subscriptionAry><SubscriptionInformationType><subscriptionid>387544</subscriptionid><description>Test-subscriber</description><created>2012-02-09T12:11:00</created><expmonth>10</expmonth><expyear>12</expyear><cardtypeid>VISA</cardtypeid><transactionList><TransactionInformationType><group>Group</group><authamount>10000</authamount><currency>208</currency><cardtypeid>18</cardtypeid><capturedamount>0</capturedamount><creditedamount>0</creditedamount><orderid>LOL?</orderid><description>Description of subscription</description><authdate>2012-02-09T12:11:00</authdate><captureddate>0001-01-01T00:00:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_NEW</status><history><TransactionHistoryInfo><transactionHistoryID>21398635</transactionHistoryID><logonID>-1</logonID><username
44
+ /><eventMsg>Payment authorized with amount 100,00 and currency code 208</eventMsg><created>2012-02-09T12:11:00</created></TransactionHistoryInfo></history><transactionid>8772021</transactionid><cardholder
45
+ /><mode>MODE_EPAY</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode> </payerCountryCode><issuedCountryCode> </issuedCountryCode><fee>0</fee><splitpayment>false</splitpayment><acquirer>EUROLINE</acquirer><tcardno>333333XXXXXX3000</tcardno><expmonth>10</expmonth><expyear>12</expyear></TransactionInformationType><TransactionInformationType><group
46
+ /><authamount>7900</authamount><currency>208</currency><cardtypeid>18</cardtypeid><capturedamount>7900</capturedamount><creditedamount>0</creditedamount><orderid>orderid</orderid><description
47
+ /><authdate>2012-02-10T11:24:00</authdate><captureddate>2012-02-10T11:24:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_EUROLINE_WAIT_CAPTURE</status><history><TransactionHistoryInfo><transactionHistoryID>21436963</transactionHistoryID><logonID>-1</logonID><username
48
+ /><eventMsg>Payment captured with amount 79,00</eventMsg><created>2012-02-10T11:24:00</created></TransactionHistoryInfo><TransactionHistoryInfo><transactionHistoryID>21436950</transactionHistoryID><logonID>-1</logonID><username
49
+ /><eventMsg>Payment authorized with amount 79,00 and currency code 208</eventMsg><created>2012-02-10T11:24:00</created></TransactionHistoryInfo></history><transactionid>8786884</transactionid><cardholder
50
+ /><mode>MODE_EPAY</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode> </payerCountryCode><issuedCountryCode> </issuedCountryCode><fee>0</fee><splitpayment>false</splitpayment><acquirer>EUROLINE</acquirer><tcardno>333333XXXXXX3000</tcardno><expmonth>10</expmonth><expyear>12</expyear></TransactionInformationType><TransactionInformationType><group
51
+ /><authamount>7900</authamount><currency>208</currency><cardtypeid>18</cardtypeid><capturedamount>0</capturedamount><creditedamount>0</creditedamount><orderid>orderid</orderid><description
52
+ /><authdate>2012-02-10T11:27:00</authdate><captureddate>0001-01-01T00:00:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_NEW</status><history><TransactionHistoryInfo><transactionHistoryID>21437077</transactionHistoryID><logonID>-1</logonID><username
53
+ /><eventMsg>Payment authorized with amount 79,00 and currency code 208</eventMsg><created>2012-02-10T11:27:00</created></TransactionHistoryInfo></history><transactionid>8786952</transactionid><cardholder
54
+ /><mode>MODE_EPAY</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode> </payerCountryCode><issuedCountryCode> </issuedCountryCode><fee>0</fee><splitpayment>false</splitpayment><acquirer>EUROLINE</acquirer><tcardno>333333XXXXXX3000</tcardno><expmonth>10</expmonth><expyear>12</expyear></TransactionInformationType><TransactionInformationType><group
55
+ /><authamount>7900</authamount><currency>208</currency><cardtypeid>18</cardtypeid><capturedamount>0</capturedamount><creditedamount>0</creditedamount><orderid>orderid</orderid><description
56
+ /><authdate>2012-02-10T11:28:00</authdate><captureddate>0001-01-01T00:00:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_NEW</status><history><TransactionHistoryInfo><transactionHistoryID>21437102</transactionHistoryID><logonID>-1</logonID><username
57
+ /><eventMsg>Payment authorized with amount 79,00 and currency code 208</eventMsg><created>2012-02-10T11:28:00</created></TransactionHistoryInfo></history><transactionid>8786966</transactionid><cardholder
58
+ /><mode>MODE_EPAY</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode> </payerCountryCode><issuedCountryCode> </issuedCountryCode><fee>0</fee><splitpayment>false</splitpayment><acquirer>EUROLINE</acquirer><tcardno>333333XXXXXX3000</tcardno><expmonth>10</expmonth><expyear>12</expyear></TransactionInformationType><TransactionInformationType><group
59
+ /><authamount>7900</authamount><currency>208</currency><cardtypeid>18</cardtypeid><capturedamount>0</capturedamount><creditedamount>0</creditedamount><orderid>orderid</orderid><description
60
+ /><authdate>2012-02-10T11:30:00</authdate><captureddate>0001-01-01T00:00:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_NEW</status><history><TransactionHistoryInfo><transactionHistoryID>21437164</transactionHistoryID><logonID>-1</logonID><username
61
+ /><eventMsg>Payment authorized with amount 79,00 and currency code 208</eventMsg><created>2012-02-10T11:30:00</created></TransactionHistoryInfo></history><transactionid>8786997</transactionid><cardholder
62
+ /><mode>MODE_EPAY</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode> </payerCountryCode><issuedCountryCode> </issuedCountryCode><fee>0</fee><splitpayment>false</splitpayment><acquirer>EUROLINE</acquirer><tcardno>333333XXXXXX3000</tcardno><expmonth>10</expmonth><expyear>12</expyear></TransactionInformationType><TransactionInformationType><group
63
+ /><authamount>7900</authamount><currency>208</currency><cardtypeid>18</cardtypeid><capturedamount>7900</capturedamount><creditedamount>0</creditedamount><orderid>orderid</orderid><description
64
+ /><authdate>2012-02-10T11:32:00</authdate><captureddate>2012-02-10T11:32:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_EUROLINE_WAIT_CAPTURE</status><history><TransactionHistoryInfo><transactionHistoryID>21437243</transactionHistoryID><logonID>-1</logonID><username
65
+ /><eventMsg>Payment captured with amount 79,00</eventMsg><created>2012-02-10T11:32:00</created></TransactionHistoryInfo><TransactionHistoryInfo><transactionHistoryID>21437238</transactionHistoryID><logonID>-1</logonID><username
66
+ /><eventMsg>Payment authorized with amount 79,00 and currency code 208</eventMsg><created>2012-02-10T11:32:00</created></TransactionHistoryInfo></history><transactionid>8787034</transactionid><cardholder
67
+ /><mode>MODE_EPAY</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode> </payerCountryCode><issuedCountryCode> </issuedCountryCode><fee>0</fee><splitpayment>false</splitpayment><acquirer>EUROLINE</acquirer><tcardno>333333XXXXXX3000</tcardno><expmonth>10</expmonth><expyear>12</expyear></TransactionInformationType><TransactionInformationType><group
68
+ /><authamount>7900</authamount><currency>208</currency><cardtypeid>18</cardtypeid><capturedamount>7900</capturedamount><creditedamount>0</creditedamount><orderid>orderid</orderid><description
69
+ /><authdate>2012-02-10T11:32:00</authdate><captureddate>2012-02-10T11:33:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_EUROLINE_WAIT_CAPTURE</status><history><TransactionHistoryInfo><transactionHistoryID>21437268</transactionHistoryID><logonID>-1</logonID><username
70
+ /><eventMsg>Payment captured with amount 79,00</eventMsg><created>2012-02-10T11:33:00</created></TransactionHistoryInfo><TransactionHistoryInfo><transactionHistoryID>21437266</transactionHistoryID><logonID>-1</logonID><username
71
+ /><eventMsg>Payment authorized with amount 79,00 and currency code 208</eventMsg><created>2012-02-10T11:32:00</created></TransactionHistoryInfo></history><transactionid>8787049</transactionid><cardholder
72
+ /><mode>MODE_EPAY</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode> </payerCountryCode><issuedCountryCode> </issuedCountryCode><fee>0</fee><splitpayment>false</splitpayment><acquirer>EUROLINE</acquirer><tcardno>333333XXXXXX3000</tcardno><expmonth>10</expmonth><expyear>12</expyear></TransactionInformationType></transactionList></SubscriptionInformationType></subscriptionAry><epayresponse>-1</epayresponse></getsubscriptionsResponse></soap:Body></soap:Envelope>
73
+ http_version: !!null
74
+ recorded_at: Mon, 13 Feb 2012 13:54:07 GMT
75
+ recorded_with: VCR 2.0.0.rc1
@@ -0,0 +1,47 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://ssl.ditonlinebetalingssystem.dk/remote/payment.asmx
6
+ body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soap:Envelope xmlns:xsi=\"http://schemas.xmlsoap.org/soap/envelope/\"
7
+ xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
8
+ \ <soap:Body>\n <gettransaction xmlns=\"https://ssl.ditonlinebetalingssystem.dk/remote/payment\">\n
9
+ \ <transactionid>8786997</transactionid>\n <merchantnumber>8887978</merchantnumber>\n
10
+ \ </gettransaction>\n </soap:Body>\n</soap:Envelope>\n"
11
+ headers:
12
+ Accept:
13
+ - ! '*/*; q=0.5, application/xml'
14
+ Accept-Encoding:
15
+ - gzip, deflate
16
+ Content-Type:
17
+ - text/xml; charset=utf-8
18
+ Soapaction:
19
+ - https://ssl.ditonlinebetalingssystem.dk/remote/payment/gettransaction
20
+ Content-Length:
21
+ - '453'
22
+ User-Agent:
23
+ - Ruby
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Cache-Control:
30
+ - private, max-age=0
31
+ Content-Type:
32
+ - text/xml; charset=utf-8
33
+ X-Aspnet-Version:
34
+ - 2.0.50727
35
+ X-Powered-By:
36
+ - ASP.NET
37
+ Date:
38
+ - Mon, 13 Feb 2012 12:41:04 GMT
39
+ Content-Length:
40
+ - '1518'
41
+ body: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
42
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><gettransactionResponse
43
+ xmlns="https://ssl.ditonlinebetalingssystem.dk/remote/payment"><gettransactionResult>true</gettransactionResult><transactionInformation><group>Group</group><authamount>7900</authamount><currency>208</currency><cardtypeid>18</cardtypeid><capturedamount>0</capturedamount><creditedamount>300</creditedamount><orderid>MY-ORDER-ID</orderid><description>Description of transaction</description><authdate>2012-02-10T11:30:00</authdate><captureddate>0001-01-01T00:00:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_NEW</status><history><TransactionHistoryInfo><transactionHistoryID>21437164</transactionHistoryID><logonID>-1</logonID><username
44
+ /><eventMsg>Payment authorized with amount 79,00 and currency code 208</eventMsg><created>2012-02-10T11:30:00</created></TransactionHistoryInfo></history><transactionid>8786997</transactionid><cardholder>John Doe</cardholder><mode>MODE_EPAY</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode> </payerCountryCode><issuedCountryCode> </issuedCountryCode><fee>0</fee><splitpayment>false</splitpayment><acquirer>EUROLINE</acquirer><tcardno>333333XXXXXX3000</tcardno><expmonth>10</expmonth><expyear>12</expyear></transactionInformation><epayresponse>-1</epayresponse></gettransactionResponse></soap:Body></soap:Envelope>
45
+ http_version: !!null
46
+ recorded_at: Mon, 13 Feb 2012 12:42:06 GMT
47
+ recorded_with: VCR 2.0.0.rc1
@@ -0,0 +1,48 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://ssl.ditonlinebetalingssystem.dk/remote/payment.asmx
6
+ body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soap:Envelope xmlns:xsi=\"http://schemas.xmlsoap.org/soap/envelope/\"
7
+ xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
8
+ \ <soap:Body>\n <gettransaction xmlns=\"https://ssl.ditonlinebetalingssystem.dk/remote/payment\">\n
9
+ \ <transactionid>12345678</transactionid>\n <merchantnumber>8887978</merchantnumber>\n
10
+ \ </gettransaction>\n </soap:Body>\n</soap:Envelope>\n"
11
+ headers:
12
+ Accept:
13
+ - ! '*/*; q=0.5, application/xml'
14
+ Accept-Encoding:
15
+ - gzip, deflate
16
+ Content-Type:
17
+ - text/xml; charset=utf-8
18
+ Soapaction:
19
+ - https://ssl.ditonlinebetalingssystem.dk/remote/payment/gettransaction
20
+ Content-Length:
21
+ - '454'
22
+ User-Agent:
23
+ - Ruby
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Cache-Control:
30
+ - private, max-age=0
31
+ Content-Type:
32
+ - text/xml; charset=utf-8
33
+ X-Aspnet-Version:
34
+ - 2.0.50727
35
+ X-Powered-By:
36
+ - ASP.NET
37
+ Date:
38
+ - Mon, 13 Feb 2012 12:40:47 GMT
39
+ Content-Length:
40
+ - '1123'
41
+ body: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
42
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><gettransactionResponse
43
+ xmlns="https://ssl.ditonlinebetalingssystem.dk/remote/payment"><gettransactionResult>false</gettransactionResult><transactionInformation><authamount>0</authamount><currency>0</currency><cardtypeid>0</cardtypeid><capturedamount>0</capturedamount><creditedamount>0</creditedamount><authdate>0001-01-01T00:00:00</authdate><captureddate>0001-01-01T00:00:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_UNDEFINED</status><transactionid>0</transactionid><mode>MODE_PRODUCTION</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode
44
+ /><issuedCountryCode /><fee>0</fee><splitpayment>false</splitpayment><acquirer>UNKNOWN</acquirer><tcardno
45
+ /><expmonth>-1</expmonth><expyear>-1</expyear></transactionInformation><epayresponse>-1008</epayresponse></gettransactionResponse></soap:Body></soap:Envelope>
46
+ http_version: !!null
47
+ recorded_at: Mon, 13 Feb 2012 12:41:50 GMT
48
+ recorded_with: VCR 2.0.0.rc1
@@ -0,0 +1,95 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://ssl.ditonlinebetalingssystem.dk/remote/subscription.asmx
6
+ body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soap:Envelope xmlns:xsi=\"http://schemas.xmlsoap.org/soap/envelope/\"
7
+ xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
8
+ \ <soap:Body>\n <authorize xmlns=\"https://ssl.ditonlinebetalingssystem.dk/remote/subscription\">\n
9
+ \ <merchantnumber>8887978</merchantnumber>\n <amount>1000</amount>\n
10
+ \ <currency>208</currency>\n <orderid>NEW ORDER</orderid>\n <accepturl>https://ssl.ditonlinebetalingssystem.dk/auth/default.aspx?accept=1</accepturl>\n
11
+ \ <declineurl>https://ssl.ditonlinebetalingssystem.dk/auth/default.aspx?decline=1</declineurl>\n
12
+ \ <subscriptionid>387544</subscriptionid>\n </authorize>\n </soap:Body>\n</soap:Envelope>\n"
13
+ headers:
14
+ Accept:
15
+ - ! '*/*; q=0.5, application/xml'
16
+ Accept-Encoding:
17
+ - gzip, deflate
18
+ Content-Type:
19
+ - text/xml; charset=utf-8
20
+ Soapaction:
21
+ - https://ssl.ditonlinebetalingssystem.dk/remote/subscription/authorize
22
+ Content-Length:
23
+ - '738'
24
+ User-Agent:
25
+ - Ruby
26
+ response:
27
+ status:
28
+ code: 200
29
+ message: OK
30
+ headers:
31
+ Cache-Control:
32
+ - private, max-age=0
33
+ Content-Type:
34
+ - text/xml; charset=utf-8
35
+ X-Aspnet-Version:
36
+ - 2.0.50727
37
+ X-Powered-By:
38
+ - ASP.NET
39
+ Date:
40
+ - Mon, 13 Feb 2012 14:01:22 GMT
41
+ Content-Length:
42
+ - '505'
43
+ body: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
44
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><authorizeResponse
45
+ xmlns="https://ssl.ditonlinebetalingssystem.dk/remote/subscription"><authorizeResult>true</authorizeResult><fraud>0</fraud><transactionid>8827462</transactionid><pbsresponse>0</pbsresponse><epayresponse>-1</epayresponse></authorizeResponse></soap:Body></soap:Envelope>
46
+ http_version: !!null
47
+ recorded_at: Mon, 13 Feb 2012 14:02:25 GMT
48
+ - request:
49
+ method: post
50
+ uri: https://ssl.ditonlinebetalingssystem.dk/remote/payment.asmx
51
+ body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soap:Envelope xmlns:xsi=\"http://schemas.xmlsoap.org/soap/envelope/\"
52
+ xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
53
+ \ <soap:Body>\n <gettransaction xmlns=\"https://ssl.ditonlinebetalingssystem.dk/remote/payment\">\n
54
+ \ <transactionid>8827462</transactionid>\n <merchantnumber>8887978</merchantnumber>\n
55
+ \ </gettransaction>\n </soap:Body>\n</soap:Envelope>\n"
56
+ headers:
57
+ Accept:
58
+ - ! '*/*; q=0.5, application/xml'
59
+ Accept-Encoding:
60
+ - gzip, deflate
61
+ Content-Type:
62
+ - text/xml; charset=utf-8
63
+ Soapaction:
64
+ - https://ssl.ditonlinebetalingssystem.dk/remote/payment/gettransaction
65
+ Content-Length:
66
+ - '453'
67
+ User-Agent:
68
+ - Ruby
69
+ response:
70
+ status:
71
+ code: 200
72
+ message: OK
73
+ headers:
74
+ Cache-Control:
75
+ - private, max-age=0
76
+ Content-Type:
77
+ - text/xml; charset=utf-8
78
+ X-Aspnet-Version:
79
+ - 2.0.50727
80
+ X-Powered-By:
81
+ - ASP.NET
82
+ Date:
83
+ - Mon, 13 Feb 2012 14:01:23 GMT
84
+ Content-Length:
85
+ - '1520'
86
+ body: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
87
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><gettransactionResponse
88
+ xmlns="https://ssl.ditonlinebetalingssystem.dk/remote/payment"><gettransactionResult>true</gettransactionResult><transactionInformation><group
89
+ /><authamount>1000</authamount><currency>208</currency><cardtypeid>18</cardtypeid><capturedamount>0</capturedamount><creditedamount>0</creditedamount><orderid>NEW
90
+ ORDER</orderid><description /><authdate>2012-02-13T15:01:00</authdate><captureddate>0001-01-01T00:00:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_NEW</status><history><TransactionHistoryInfo><transactionHistoryID>21531271</transactionHistoryID><logonID>-1</logonID><username
91
+ /><eventMsg>Payment authorized with amount 10,00 and currency code 208</eventMsg><created>2012-02-13T15:01:00</created></TransactionHistoryInfo></history><transactionid>8827462</transactionid><cardholder
92
+ /><mode>MODE_EPAY</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode> </payerCountryCode><issuedCountryCode> </issuedCountryCode><fee>0</fee><splitpayment>false</splitpayment><acquirer>EUROLINE</acquirer><tcardno>333333XXXXXX3000</tcardno><expmonth>10</expmonth><expyear>12</expyear></transactionInformation><epayresponse>-1</epayresponse></gettransactionResponse></soap:Body></soap:Envelope>
93
+ http_version: !!null
94
+ recorded_at: Mon, 13 Feb 2012 14:02:26 GMT
95
+ recorded_with: VCR 2.0.0.rc1
@@ -0,0 +1,101 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://ssl.ditonlinebetalingssystem.dk/auth/default.aspx
6
+ body:
7
+ encoding: ASCII-8BIT
8
+ string: merchantnumber=8887978&cardno=5555555555555000&cvc=999&expmonth=10&expyear=15&amount=0&currency=208&orderid=13318153116230&accepturl=https%3A%2F%2Fssl.ditonlinebetalingssystem.dk%2Fauth%2Fdefault.aspx%3Faccept%3D1&declineurl=https%3A%2F%2Fssl.ditonlinebetalingssystem.dk%2Fauth%2Fdefault.aspx%3Fdecline%3D1&subscription=1&subscriptionname=A%20new%20subscriber
9
+ headers:
10
+ Accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ Content-Length:
15
+ - "359"
16
+ Content-Type:
17
+ - application/x-www-form-urlencoded
18
+ User-Agent:
19
+ - Ruby
20
+ response:
21
+ status:
22
+ code: 302
23
+ message: Found
24
+ headers:
25
+ Cache-Control:
26
+ - private
27
+ Content-Type:
28
+ - text/html; charset=iso-8859-1
29
+ Location:
30
+ - https://ssl.ditonlinebetalingssystem.dk/auth/default.aspx?accept=1&tid=0&orderid=13318153116230&amount=0&cur=208&date=20120315&time=1341&cardnopostfix=5000&tcardno=555555XXXXXX5000&subscriptionid=418486&cardid=4&transfee=0
31
+ Set-Cookie:
32
+ - ASP.NET_SessionId=mwyld245nhtkxc55lzlczjfb; path=/; HttpOnly
33
+ X-Aspnet-Version:
34
+ - 2.0.50727
35
+ X-Powered-By:
36
+ - ASP.NET
37
+ Date:
38
+ - Thu, 15 Mar 2012 12:41:51 GMT
39
+ Content-Length:
40
+ - "383"
41
+ body:
42
+ encoding: US-ASCII
43
+ string: |
44
+ <html><head><title>Object moved</title></head><body>
45
+ <h2>Object moved to <a href="https://ssl.ditonlinebetalingssystem.dk/auth/default.aspx?accept=1&amp;tid=0&amp;orderid=13318153116230&amp;amount=0&amp;cur=208&amp;date=20120315&amp;time=1341&amp;cardnopostfix=5000&amp;tcardno=555555XXXXXX5000&amp;subscriptionid=418486&amp;cardid=4&amp;transfee=0">here</a>.</h2>
46
+ </body></html>
47
+
48
+ http_version:
49
+ recorded_at: Thu, 15 Mar 2012 12:41:51 GMT
50
+ - request:
51
+ method: post
52
+ uri: https://ssl.ditonlinebetalingssystem.dk/remote/subscription.asmx
53
+ body:
54
+ encoding: ASCII-8BIT
55
+ string: |
56
+ <?xml version="1.0" encoding="UTF-8"?>
57
+ <soap:Envelope xmlns:xsi="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
58
+ <soap:Body>
59
+ <getsubscriptions xmlns="https://ssl.ditonlinebetalingssystem.dk/remote/subscription">
60
+ <subscriptionid>418486</subscriptionid>
61
+ <merchantnumber>8887978</merchantnumber>
62
+ </getsubscriptions>
63
+ </soap:Body>
64
+ </soap:Envelope>
65
+
66
+ headers:
67
+ Accept:
68
+ - "*/*; q=0.5, application/xml"
69
+ Accept-Encoding:
70
+ - gzip, deflate
71
+ Content-Type:
72
+ - text/xml; charset=utf-8
73
+ Soapaction:
74
+ - https://ssl.ditonlinebetalingssystem.dk/remote/subscription/getsubscriptions
75
+ User-Agent:
76
+ - Ruby / epay (0.0.1)
77
+ Content-Length:
78
+ - "463"
79
+ response:
80
+ status:
81
+ code: 200
82
+ message: OK
83
+ headers:
84
+ Cache-Control:
85
+ - private, max-age=0
86
+ Content-Type:
87
+ - text/xml; charset=utf-8
88
+ X-Aspnet-Version:
89
+ - 2.0.50727
90
+ X-Powered-By:
91
+ - ASP.NET
92
+ Date:
93
+ - Thu, 15 Mar 2012 12:41:51 GMT
94
+ Content-Length:
95
+ - "763"
96
+ body:
97
+ encoding: US-ASCII
98
+ string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><getsubscriptionsResponse xmlns="https://ssl.ditonlinebetalingssystem.dk/remote/subscription"><getsubscriptionsResult>true</getsubscriptionsResult><subscriptionAry><SubscriptionInformationType><subscriptionid>418486</subscriptionid><description>A new subscriber</description><created>2012-03-15T13:42:00</created><expmonth>10</expmonth><expyear>15</expyear><cardtypeid>MASTERCARD</cardtypeid><transactionList /></SubscriptionInformationType></subscriptionAry><epayresponse>-1</epayresponse></getsubscriptionsResponse></soap:Body></soap:Envelope>
99
+ http_version:
100
+ recorded_at: Thu, 15 Mar 2012 12:41:52 GMT
101
+ recorded_with: VCR 2.0.0
@@ -0,0 +1,47 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://ssl.ditonlinebetalingssystem.dk/auth/default.aspx
6
+ body: merchantnumber=8887978&cardno=5555555555555118&cvc=999&expmonth=10&expyear=15&amount=0&currency=208&orderid=13291432489546&accepturl=https%3A%2F%2Fssl.ditonlinebetalingssystem.dk%2Fauth%2Fdefault.aspx%3Faccept%3D1&declineurl=https%3A%2F%2Fssl.ditonlinebetalingssystem.dk%2Fauth%2Fdefault.aspx%3Fdecline%3D1&subscription=1&subscriptionname=A%20new%20subscriber
7
+ headers:
8
+ Accept:
9
+ - ! '*/*; q=0.5, application/xml'
10
+ Accept-Encoding:
11
+ - gzip, deflate
12
+ Content-Length:
13
+ - '359'
14
+ Content-Type:
15
+ - application/x-www-form-urlencoded
16
+ User-Agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 302
21
+ message: Found
22
+ headers:
23
+ Cache-Control:
24
+ - private
25
+ Content-Type:
26
+ - text/html; charset=iso-8859-1
27
+ Location:
28
+ - https://ssl.ditonlinebetalingssystem.dk/auth/default.aspx?decline=1&error=118&orderid=13291432489546&errortext=Betalingen
29
+ blev afvist da det indtastede kortnummer ikke kan findes. Pr%f8v og indtaste
30
+ kortets oplysninger igen eller pr%f8v med et andet betalingskort.
31
+ Set-Cookie:
32
+ - ASP.NET_SessionId=ryd5dq554w1e0445sdmkkcrp; path=/; HttpOnly
33
+ X-Aspnet-Version:
34
+ - 2.0.50727
35
+ X-Powered-By:
36
+ - ASP.NET
37
+ Date:
38
+ - Mon, 13 Feb 2012 14:26:28 GMT
39
+ Content-Length:
40
+ - '393'
41
+ body: ! "<html><head><title>Object moved</title></head><body>\r\n<h2>Object moved
42
+ to <a href=\"https://ssl.ditonlinebetalingssystem.dk/auth/default.aspx?decline=1&amp;error=118&amp;orderid=13291432489546&amp;errortext=Betalingen
43
+ blev afvist da det indtastede kortnummer ikke kan findes. Pr%f8v og indtaste
44
+ kortets oplysninger igen eller pr%f8v med et andet betalingskort.\">here</a>.</h2>\r\n</body></html>\r\n"
45
+ http_version: !!null
46
+ recorded_at: Mon, 13 Feb 2012 14:27:30 GMT
47
+ recorded_with: VCR 2.0.0.rc1
@@ -0,0 +1,87 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://ssl.ditonlinebetalingssystem.dk/remote/subscription.asmx
6
+ body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soap:Envelope xmlns:xsi=\"http://schemas.xmlsoap.org/soap/envelope/\"
7
+ xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
8
+ \ <soap:Body>\n <getsubscriptions xmlns=\"https://ssl.ditonlinebetalingssystem.dk/remote/subscription\">\n
9
+ \ <merchantnumber>8887978</merchantnumber>\n </getsubscriptions>\n </soap:Body>\n</soap:Envelope>\n"
10
+ headers:
11
+ Accept:
12
+ - ! '*/*; q=0.5, application/xml'
13
+ Accept-Encoding:
14
+ - gzip, deflate
15
+ Content-Type:
16
+ - text/xml; charset=utf-8
17
+ Soapaction:
18
+ - https://ssl.ditonlinebetalingssystem.dk/remote/subscription/getsubscriptions
19
+ Content-Length:
20
+ - '417'
21
+ User-Agent:
22
+ - Ruby
23
+ response:
24
+ status:
25
+ code: 200
26
+ message: OK
27
+ headers:
28
+ Cache-Control:
29
+ - private, max-age=0
30
+ Content-Type:
31
+ - text/xml; charset=utf-8
32
+ X-Aspnet-Version:
33
+ - 2.0.50727
34
+ X-Powered-By:
35
+ - ASP.NET
36
+ Date:
37
+ - Mon, 13 Feb 2012 13:50:25 GMT
38
+ Content-Length:
39
+ - '12384'
40
+ body: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
41
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><getsubscriptionsResponse
42
+ xmlns="https://ssl.ditonlinebetalingssystem.dk/remote/subscription"><getsubscriptionsResult>true</getsubscriptionsResult><subscriptionAry><SubscriptionInformationType><subscriptionid>387544</subscriptionid><description>Test-subscriber</description><created>2012-02-09T12:11:00</created><expmonth>10</expmonth><expyear>12</expyear><cardtypeid>VISA</cardtypeid><transactionList><TransactionInformationType><group
43
+ /><authamount>10000</authamount><currency>208</currency><cardtypeid>18</cardtypeid><capturedamount>0</capturedamount><creditedamount>0</creditedamount><orderid>LOL?</orderid><description
44
+ /><authdate>2012-02-09T12:11:00</authdate><captureddate>0001-01-01T00:00:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_NEW</status><history><TransactionHistoryInfo><transactionHistoryID>21398635</transactionHistoryID><logonID>-1</logonID><username
45
+ /><eventMsg>Payment authorized with amount 100,00 and currency code 208</eventMsg><created>2012-02-09T12:11:00</created></TransactionHistoryInfo></history><transactionid>8772021</transactionid><cardholder
46
+ /><mode>MODE_EPAY</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode> </payerCountryCode><issuedCountryCode> </issuedCountryCode><fee>0</fee><splitpayment>false</splitpayment><acquirer>EUROLINE</acquirer><tcardno>333333XXXXXX3000</tcardno><expmonth>10</expmonth><expyear>12</expyear></TransactionInformationType><TransactionInformationType><group
47
+ /><authamount>7900</authamount><currency>208</currency><cardtypeid>18</cardtypeid><capturedamount>7900</capturedamount><creditedamount>0</creditedamount><orderid>orderid</orderid><description
48
+ /><authdate>2012-02-10T11:24:00</authdate><captureddate>2012-02-10T11:24:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_EUROLINE_WAIT_CAPTURE</status><history><TransactionHistoryInfo><transactionHistoryID>21436963</transactionHistoryID><logonID>-1</logonID><username
49
+ /><eventMsg>Payment captured with amount 79,00</eventMsg><created>2012-02-10T11:24:00</created></TransactionHistoryInfo><TransactionHistoryInfo><transactionHistoryID>21436950</transactionHistoryID><logonID>-1</logonID><username
50
+ /><eventMsg>Payment authorized with amount 79,00 and currency code 208</eventMsg><created>2012-02-10T11:24:00</created></TransactionHistoryInfo></history><transactionid>8786884</transactionid><cardholder
51
+ /><mode>MODE_EPAY</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode> </payerCountryCode><issuedCountryCode> </issuedCountryCode><fee>0</fee><splitpayment>false</splitpayment><acquirer>EUROLINE</acquirer><tcardno>333333XXXXXX3000</tcardno><expmonth>10</expmonth><expyear>12</expyear></TransactionInformationType><TransactionInformationType><group
52
+ /><authamount>7900</authamount><currency>208</currency><cardtypeid>18</cardtypeid><capturedamount>0</capturedamount><creditedamount>0</creditedamount><orderid>orderid</orderid><description
53
+ /><authdate>2012-02-10T11:27:00</authdate><captureddate>0001-01-01T00:00:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_NEW</status><history><TransactionHistoryInfo><transactionHistoryID>21437077</transactionHistoryID><logonID>-1</logonID><username
54
+ /><eventMsg>Payment authorized with amount 79,00 and currency code 208</eventMsg><created>2012-02-10T11:27:00</created></TransactionHistoryInfo></history><transactionid>8786952</transactionid><cardholder
55
+ /><mode>MODE_EPAY</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode> </payerCountryCode><issuedCountryCode> </issuedCountryCode><fee>0</fee><splitpayment>false</splitpayment><acquirer>EUROLINE</acquirer><tcardno>333333XXXXXX3000</tcardno><expmonth>10</expmonth><expyear>12</expyear></TransactionInformationType><TransactionInformationType><group
56
+ /><authamount>7900</authamount><currency>208</currency><cardtypeid>18</cardtypeid><capturedamount>0</capturedamount><creditedamount>0</creditedamount><orderid>orderid</orderid><description
57
+ /><authdate>2012-02-10T11:28:00</authdate><captureddate>0001-01-01T00:00:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_NEW</status><history><TransactionHistoryInfo><transactionHistoryID>21437102</transactionHistoryID><logonID>-1</logonID><username
58
+ /><eventMsg>Payment authorized with amount 79,00 and currency code 208</eventMsg><created>2012-02-10T11:28:00</created></TransactionHistoryInfo></history><transactionid>8786966</transactionid><cardholder
59
+ /><mode>MODE_EPAY</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode> </payerCountryCode><issuedCountryCode> </issuedCountryCode><fee>0</fee><splitpayment>false</splitpayment><acquirer>EUROLINE</acquirer><tcardno>333333XXXXXX3000</tcardno><expmonth>10</expmonth><expyear>12</expyear></TransactionInformationType><TransactionInformationType><group
60
+ /><authamount>7900</authamount><currency>208</currency><cardtypeid>18</cardtypeid><capturedamount>0</capturedamount><creditedamount>0</creditedamount><orderid>orderid</orderid><description
61
+ /><authdate>2012-02-10T11:30:00</authdate><captureddate>0001-01-01T00:00:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_NEW</status><history><TransactionHistoryInfo><transactionHistoryID>21437164</transactionHistoryID><logonID>-1</logonID><username
62
+ /><eventMsg>Payment authorized with amount 79,00 and currency code 208</eventMsg><created>2012-02-10T11:30:00</created></TransactionHistoryInfo></history><transactionid>8786997</transactionid><cardholder
63
+ /><mode>MODE_EPAY</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode> </payerCountryCode><issuedCountryCode> </issuedCountryCode><fee>0</fee><splitpayment>false</splitpayment><acquirer>EUROLINE</acquirer><tcardno>333333XXXXXX3000</tcardno><expmonth>10</expmonth><expyear>12</expyear></TransactionInformationType><TransactionInformationType><group
64
+ /><authamount>7900</authamount><currency>208</currency><cardtypeid>18</cardtypeid><capturedamount>7900</capturedamount><creditedamount>0</creditedamount><orderid>orderid</orderid><description
65
+ /><authdate>2012-02-10T11:32:00</authdate><captureddate>2012-02-10T11:32:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_EUROLINE_WAIT_CAPTURE</status><history><TransactionHistoryInfo><transactionHistoryID>21437243</transactionHistoryID><logonID>-1</logonID><username
66
+ /><eventMsg>Payment captured with amount 79,00</eventMsg><created>2012-02-10T11:32:00</created></TransactionHistoryInfo><TransactionHistoryInfo><transactionHistoryID>21437238</transactionHistoryID><logonID>-1</logonID><username
67
+ /><eventMsg>Payment authorized with amount 79,00 and currency code 208</eventMsg><created>2012-02-10T11:32:00</created></TransactionHistoryInfo></history><transactionid>8787034</transactionid><cardholder
68
+ /><mode>MODE_EPAY</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode> </payerCountryCode><issuedCountryCode> </issuedCountryCode><fee>0</fee><splitpayment>false</splitpayment><acquirer>EUROLINE</acquirer><tcardno>333333XXXXXX3000</tcardno><expmonth>10</expmonth><expyear>12</expyear></TransactionInformationType><TransactionInformationType><group
69
+ /><authamount>7900</authamount><currency>208</currency><cardtypeid>18</cardtypeid><capturedamount>7900</capturedamount><creditedamount>0</creditedamount><orderid>orderid</orderid><description
70
+ /><authdate>2012-02-10T11:32:00</authdate><captureddate>2012-02-10T11:33:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_EUROLINE_WAIT_CAPTURE</status><history><TransactionHistoryInfo><transactionHistoryID>21437268</transactionHistoryID><logonID>-1</logonID><username
71
+ /><eventMsg>Payment captured with amount 79,00</eventMsg><created>2012-02-10T11:33:00</created></TransactionHistoryInfo><TransactionHistoryInfo><transactionHistoryID>21437266</transactionHistoryID><logonID>-1</logonID><username
72
+ /><eventMsg>Payment authorized with amount 79,00 and currency code 208</eventMsg><created>2012-02-10T11:32:00</created></TransactionHistoryInfo></history><transactionid>8787049</transactionid><cardholder
73
+ /><mode>MODE_EPAY</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode> </payerCountryCode><issuedCountryCode> </issuedCountryCode><fee>0</fee><splitpayment>false</splitpayment><acquirer>EUROLINE</acquirer><tcardno>333333XXXXXX3000</tcardno><expmonth>10</expmonth><expyear>12</expyear></TransactionInformationType></transactionList></SubscriptionInformationType><SubscriptionInformationType><subscriptionid>387546</subscriptionid><description>Test-subscriber</description><created>2012-02-09T12:13:00</created><expmonth>10</expmonth><expyear>12</expyear><cardtypeid>VISA</cardtypeid><transactionList
74
+ /></SubscriptionInformationType><SubscriptionInformationType><subscriptionid>387555</subscriptionid><description>Test-subscriber</description><created>2012-02-09T12:21:00</created><expmonth>10</expmonth><expyear>12</expyear><cardtypeid>VISA</cardtypeid><transactionList
75
+ /></SubscriptionInformationType><SubscriptionInformationType><subscriptionid>387558</subscriptionid><description>Test-subscriber</description><created>2012-02-09T12:26:00</created><expmonth>10</expmonth><expyear>12</expyear><cardtypeid>VISA</cardtypeid><transactionList><TransactionInformationType><group
76
+ /><authamount>7900</authamount><currency>208</currency><cardtypeid>18</cardtypeid><capturedamount>7900</capturedamount><creditedamount>0</creditedamount><orderid>ND-TESTER</orderid><description
77
+ /><authdate>2012-02-09T15:25:00</authdate><captureddate>2012-02-10T12:05:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_EUROLINE_WAIT_CAPTURE</status><history><TransactionHistoryInfo><transactionHistoryID>21438352</transactionHistoryID><logonID>-1</logonID><username
78
+ /><eventMsg>Payment captured with amount 79,00</eventMsg><created>2012-02-10T12:05:00</created></TransactionHistoryInfo><TransactionHistoryInfo><transactionHistoryID>21405890</transactionHistoryID><logonID>-1</logonID><username
79
+ /><eventMsg>Payment authorized with amount 79,00 and currency code 208</eventMsg><created>2012-02-09T15:25:00</created></TransactionHistoryInfo></history><transactionid>8775139</transactionid><cardholder
80
+ /><mode>MODE_EPAY</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode> </payerCountryCode><issuedCountryCode> </issuedCountryCode><fee>0</fee><splitpayment>false</splitpayment><acquirer>EUROLINE</acquirer><tcardno>333333XXXXXX3000</tcardno><expmonth>10</expmonth><expyear>12</expyear></TransactionInformationType><TransactionInformationType><group
81
+ /><authamount>1000</authamount><currency>208</currency><cardtypeid>18</cardtypeid><capturedamount>0</capturedamount><creditedamount>0</creditedamount><orderid>hehe</orderid><description
82
+ /><authdate>2012-02-10T12:00:00</authdate><captureddate>0001-01-01T00:00:00</captureddate><deleteddate>0001-01-01T00:00:00</deleteddate><crediteddate>0001-01-01T00:00:00</crediteddate><status>PAYMENT_NEW</status><history><TransactionHistoryInfo><transactionHistoryID>21438147</transactionHistoryID><logonID>-1</logonID><username
83
+ /><eventMsg>Payment authorized with amount 10,00 and currency code 208</eventMsg><created>2012-02-10T12:00:00</created></TransactionHistoryInfo></history><transactionid>8787462</transactionid><cardholder
84
+ /><mode>MODE_EPAY</mode><msc>false</msc><fraudStatus>0</fraudStatus><payerCountryCode> </payerCountryCode><issuedCountryCode> </issuedCountryCode><fee>0</fee><splitpayment>false</splitpayment><acquirer>EUROLINE</acquirer><tcardno>333333XXXXXX3000</tcardno><expmonth>10</expmonth><expyear>12</expyear></TransactionInformationType></transactionList></SubscriptionInformationType></subscriptionAry><epayresponse>-1</epayresponse></getsubscriptionsResponse></soap:Body></soap:Envelope>
85
+ http_version: !!null
86
+ recorded_at: Mon, 13 Feb 2012 13:51:28 GMT
87
+ recorded_with: VCR 2.0.0.rc1