worldnet_tps 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/.rvmrc +1 -0
  4. data/.travis.yml +6 -0
  5. data/Gemfile +9 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +70 -0
  8. data/Rakefile +6 -0
  9. data/lib/worldnet_tps.rb +12 -0
  10. data/lib/worldnet_tps/const.rb +42 -0
  11. data/lib/worldnet_tps/gateway.rb +71 -0
  12. data/lib/worldnet_tps/gateway.xsd +1909 -0
  13. data/lib/worldnet_tps/request/base.rb +107 -0
  14. data/lib/worldnet_tps/request/payment.rb +89 -0
  15. data/lib/worldnet_tps/request/refund.rb +59 -0
  16. data/lib/worldnet_tps/request/secure_card/registration.rb +71 -0
  17. data/lib/worldnet_tps/request/secure_card/removal.rb +46 -0
  18. data/lib/worldnet_tps/request/secure_card/search.rb +52 -0
  19. data/lib/worldnet_tps/response/error.rb +18 -0
  20. data/lib/worldnet_tps/response/invalid_hash.rb +21 -0
  21. data/lib/worldnet_tps/response/success.rb +25 -0
  22. data/lib/worldnet_tps/version.rb +3 -0
  23. data/lib/worldnet_tps/ws_object.rb +76 -0
  24. data/lib/worldnet_tps/xsd.rb +27 -0
  25. data/spec/fixtures/vcr_cassettes/payment/credit_card/failed.yml +60 -0
  26. data/spec/fixtures/vcr_cassettes/payment/credit_card/success.yml +59 -0
  27. data/spec/fixtures/vcr_cassettes/payment/secure_card/failed.yml +57 -0
  28. data/spec/fixtures/vcr_cassettes/payment/secure_card/success.yml +56 -0
  29. data/spec/fixtures/vcr_cassettes/refund/order_id/failed.yml +47 -0
  30. data/spec/fixtures/vcr_cassettes/refund/order_id/success.yml +46 -0
  31. data/spec/fixtures/vcr_cassettes/refund/unique_ref/failed.yml +47 -0
  32. data/spec/fixtures/vcr_cassettes/refund/unique_ref/success.yml +46 -0
  33. data/spec/fixtures/vcr_cassettes/secure_card/registration/registrarion_failed.yml +49 -0
  34. data/spec/fixtures/vcr_cassettes/secure_card/registration/registration_failed.yml +49 -0
  35. data/spec/fixtures/vcr_cassettes/secure_card/registration/registration_success.yml +48 -0
  36. data/spec/fixtures/vcr_cassettes/secure_card/registration/update_failed.yml +49 -0
  37. data/spec/fixtures/vcr_cassettes/secure_card/registration/update_success.yml +48 -0
  38. data/spec/fixtures/vcr_cassettes/secure_card/registration/update_success_success.yml +48 -0
  39. data/spec/fixtures/vcr_cassettes/secure_card/removal/failed.yml +45 -0
  40. data/spec/fixtures/vcr_cassettes/secure_card/removal/success.yml +44 -0
  41. data/spec/fixtures/vcr_cassettes/secure_card/search/failed.yml +44 -0
  42. data/spec/fixtures/vcr_cassettes/secure_card/search/success.yml +44 -0
  43. data/spec/gateway_spec.rb +42 -0
  44. data/spec/payment_spec.rb +117 -0
  45. data/spec/refund_spec.rb +95 -0
  46. data/spec/secure_card/registration_spec.rb +103 -0
  47. data/spec/secure_card/removal_spec.rb +57 -0
  48. data/spec/secure_card/search_spec.rb +58 -0
  49. data/spec/spec_helper.rb +58 -0
  50. data/spec/xsd_spec.rb +30 -0
  51. data/worldnet_tps.gemspec +28 -0
  52. metadata +205 -0
@@ -0,0 +1,47 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://testpayments.worldnettps.com/merchant/xmlpayment
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" encoding="UTF-8"?>
10
+ <REFUND>
11
+ <UNIQUEREF>KR3XSVSZ41</UNIQUEREF>
12
+ <TERMINALID>6003</TERMINALID>
13
+ <AMOUNT>10.50</AMOUNT>
14
+ <DATETIME>10-12-2016:12:00:00:000</DATETIME>
15
+ <HASH>fba32e08517da7ed1969ce846c078c44</HASH>
16
+ <OPERATOR>John</OPERATOR>
17
+ <REASON>Product is defective</REASON>
18
+ </REFUND>
19
+ headers:
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
+ Accept:
23
+ - "*/*"
24
+ User-Agent:
25
+ - Ruby
26
+ response:
27
+ status:
28
+ code: 200
29
+ message: OK
30
+ headers:
31
+ Date:
32
+ - Fri, 16 Dec 2016 12:21:33 GMT
33
+ Server:
34
+ - Apache
35
+ Content-Length:
36
+ - '106'
37
+ Strict-Transport-Security:
38
+ - max-age=15768000
39
+ Content-Type:
40
+ - text/xml;charset=UTF-8
41
+ body:
42
+ encoding: UTF-8
43
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<ERROR><ERRORSTRING>Invalid
44
+ UNIQUEREF field</ERRORSTRING></ERROR>\n"
45
+ http_version:
46
+ recorded_at: Fri, 16 Dec 2016 12:21:33 GMT
47
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,46 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://testpayments.worldnettps.com/merchant/xmlpayment
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" encoding="UTF-8"?>
10
+ <REFUND>
11
+ <UNIQUEREF>KR3XSVSZ41</UNIQUEREF>
12
+ <TERMINALID>6003</TERMINALID>
13
+ <AMOUNT>10.50</AMOUNT>
14
+ <DATETIME>10-12-2016:12:00:00:000</DATETIME>
15
+ <HASH>fba32e08517da7ed1969ce846c078c44</HASH>
16
+ <OPERATOR>John</OPERATOR>
17
+ <REASON>Product is defective</REASON>
18
+ </REFUND>
19
+ headers:
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
+ Accept:
23
+ - "*/*"
24
+ User-Agent:
25
+ - Ruby
26
+ response:
27
+ status:
28
+ code: 200
29
+ message: OK
30
+ headers:
31
+ Date:
32
+ - Fri, 16 Dec 2016 12:21:07 GMT
33
+ Server:
34
+ - Apache
35
+ Content-Length:
36
+ - '262'
37
+ Strict-Transport-Security:
38
+ - max-age=15768000
39
+ Content-Type:
40
+ - text/xml;charset=UTF-8
41
+ body:
42
+ encoding: UTF-8
43
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<REFUNDRESPONSE><RESPONSECODE>A</RESPONSECODE><RESPONSETEXT>SUCCESS</RESPONSETEXT><UNIQUEREF>KR3XSVSZ41</UNIQUEREF><DATETIME>16-12-2016:12:21:07:583</DATETIME><HASH>d9bd5a99d3ac0ee89b91e1bf864e51aa</HASH></REFUNDRESPONSE>\n"
44
+ http_version:
45
+ recorded_at: Fri, 16 Dec 2016 12:21:07 GMT
46
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,49 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://testpayments.worldnettps.com/merchant/xmlpayment
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" encoding="UTF-8"?>
10
+ <SECURECARDREGISTRATION>
11
+ <MERCHANTREF>worldnet_tps.gem</MERCHANTREF>
12
+ <TERMINALID>6003</TERMINALID>
13
+ <DATETIME>10-12-2016:12:00:00:000</DATETIME>
14
+ <CARDNUMBER>4000060000000006</CARDNUMBER>
15
+ <CARDEXPIRY>1234</CARDEXPIRY>
16
+ <CARDTYPE>VISA</CARDTYPE>
17
+ <CARDHOLDERNAME>John Doe</CARDHOLDERNAME>
18
+ <HASH>df102e46715a34a05fb26db102a0e7b6</HASH>
19
+ <CVV>111</CVV>
20
+ </SECURECARDREGISTRATION>
21
+ headers:
22
+ Accept-Encoding:
23
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
24
+ Accept:
25
+ - "*/*"
26
+ User-Agent:
27
+ - Ruby
28
+ response:
29
+ status:
30
+ code: 200
31
+ message: OK
32
+ headers:
33
+ Date:
34
+ - Thu, 15 Dec 2016 14:53:22 GMT
35
+ Server:
36
+ - Apache
37
+ Content-Length:
38
+ - '127'
39
+ Strict-Transport-Security:
40
+ - max-age=15768000
41
+ Content-Type:
42
+ - text/xml;charset=UTF-8
43
+ body:
44
+ encoding: UTF-8
45
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<ERROR><ERRORCODE>E08</ERRORCODE><ERRORSTRING>INVALID
46
+ MERCHANTREF</ERRORSTRING></ERROR>"
47
+ http_version:
48
+ recorded_at: Thu, 15 Dec 2016 14:53:22 GMT
49
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,49 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://testpayments.worldnettps.com/merchant/xmlpayment
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" encoding="UTF-8"?>
10
+ <SECURECARDREGISTRATION>
11
+ <MERCHANTREF>worldnet_tps.gem</MERCHANTREF>
12
+ <TERMINALID>6003</TERMINALID>
13
+ <DATETIME>10-12-2016:12:00:00:000</DATETIME>
14
+ <CARDNUMBER>4000060000000006</CARDNUMBER>
15
+ <CARDEXPIRY>1234</CARDEXPIRY>
16
+ <CARDTYPE>VISA</CARDTYPE>
17
+ <CARDHOLDERNAME>John Doe</CARDHOLDERNAME>
18
+ <HASH>df102e46715a34a05fb26db102a0e7b6</HASH>
19
+ <CVV>111</CVV>
20
+ </SECURECARDREGISTRATION>
21
+ headers:
22
+ Accept-Encoding:
23
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
24
+ Accept:
25
+ - "*/*"
26
+ User-Agent:
27
+ - Ruby
28
+ response:
29
+ status:
30
+ code: 200
31
+ message: OK
32
+ headers:
33
+ Date:
34
+ - Thu, 15 Dec 2016 15:03:56 GMT
35
+ Server:
36
+ - Apache
37
+ Content-Length:
38
+ - '127'
39
+ Strict-Transport-Security:
40
+ - max-age=15768000
41
+ Content-Type:
42
+ - text/xml;charset=UTF-8
43
+ body:
44
+ encoding: UTF-8
45
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<ERROR><ERRORCODE>E08</ERRORCODE><ERRORSTRING>INVALID
46
+ MERCHANTREF</ERRORSTRING></ERROR>"
47
+ http_version:
48
+ recorded_at: Thu, 15 Dec 2016 15:03:56 GMT
49
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,48 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://testpayments.worldnettps.com/merchant/xmlpayment
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" encoding="UTF-8"?>
10
+ <SECURECARDREGISTRATION>
11
+ <MERCHANTREF>worldnet_tps.gem</MERCHANTREF>
12
+ <TERMINALID>6003</TERMINALID>
13
+ <DATETIME>10-12-2016:12:00:00:000</DATETIME>
14
+ <CARDNUMBER>4000060000000006</CARDNUMBER>
15
+ <CARDEXPIRY>1234</CARDEXPIRY>
16
+ <CARDTYPE>VISA</CARDTYPE>
17
+ <CARDHOLDERNAME>John Doe</CARDHOLDERNAME>
18
+ <HASH>df102e46715a34a05fb26db102a0e7b6</HASH>
19
+ <CVV>111</CVV>
20
+ </SECURECARDREGISTRATION>
21
+ headers:
22
+ Accept-Encoding:
23
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
24
+ Accept:
25
+ - "*/*"
26
+ User-Agent:
27
+ - Ruby
28
+ response:
29
+ status:
30
+ code: 200
31
+ message: OK
32
+ headers:
33
+ Date:
34
+ - Thu, 15 Dec 2016 14:51:46 GMT
35
+ Server:
36
+ - Apache
37
+ Content-Length:
38
+ - '284'
39
+ Strict-Transport-Security:
40
+ - max-age=15768000
41
+ Content-Type:
42
+ - text/xml;charset=UTF-8
43
+ body:
44
+ encoding: UTF-8
45
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<SECURECARDREGISTRATIONRESPONSE><MERCHANTREF>worldnet_tps.gem</MERCHANTREF><CARDREFERENCE>2967539209767734</CARDREFERENCE><DATETIME>15-12-2016:14:51:47:012</DATETIME><HASH>82059a68d09cf803a78631a076a9752e</HASH></SECURECARDREGISTRATIONRESPONSE>"
46
+ http_version:
47
+ recorded_at: Thu, 15 Dec 2016 14:51:47 GMT
48
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,49 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://testpayments.worldnettps.com/merchant/xmlpayment
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" encoding="UTF-8"?>
10
+ <SECURECARDUPDATE>
11
+ <MERCHANTREF>worldnet_tps.gem</MERCHANTREF>
12
+ <TERMINALID>6003</TERMINALID>
13
+ <DATETIME>10-12-2016:12:00:00:000</DATETIME>
14
+ <CARDNUMBER>5001650000000000</CARDNUMBER>
15
+ <CARDEXPIRY>1234</CARDEXPIRY>
16
+ <CARDTYPE>MASTERCARD</CARDTYPE>
17
+ <CARDHOLDERNAME>John Doe</CARDHOLDERNAME>
18
+ <HASH>92b659e02301af239ec925373f9c3bb7</HASH>
19
+ <CVV>111</CVV>
20
+ </SECURECARDUPDATE>
21
+ headers:
22
+ Accept-Encoding:
23
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
24
+ Accept:
25
+ - "*/*"
26
+ User-Agent:
27
+ - Ruby
28
+ response:
29
+ status:
30
+ code: 200
31
+ message: OK
32
+ headers:
33
+ Date:
34
+ - Thu, 15 Dec 2016 14:53:22 GMT
35
+ Server:
36
+ - Apache
37
+ Content-Length:
38
+ - '127'
39
+ Strict-Transport-Security:
40
+ - max-age=15768000
41
+ Content-Type:
42
+ - text/xml;charset=UTF-8
43
+ body:
44
+ encoding: UTF-8
45
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<ERROR><ERRORCODE>E08</ERRORCODE><ERRORSTRING>INVALID
46
+ MERCHANTREF</ERRORSTRING></ERROR>"
47
+ http_version:
48
+ recorded_at: Thu, 15 Dec 2016 14:53:22 GMT
49
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,48 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://testpayments.worldnettps.com/merchant/xmlpayment
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" encoding="UTF-8"?>
10
+ <SECURECARDUPDATE>
11
+ <MERCHANTREF>worldnet_tps.gem</MERCHANTREF>
12
+ <TERMINALID>6003</TERMINALID>
13
+ <DATETIME>10-12-2016:12:00:00:000</DATETIME>
14
+ <CARDNUMBER>5001650000000000</CARDNUMBER>
15
+ <CARDEXPIRY>1234</CARDEXPIRY>
16
+ <CARDTYPE>MASTERCARD</CARDTYPE>
17
+ <CARDHOLDERNAME>John Doe</CARDHOLDERNAME>
18
+ <HASH>92b659e02301af239ec925373f9c3bb7</HASH>
19
+ <CVV>111</CVV>
20
+ </SECURECARDUPDATE>
21
+ headers:
22
+ Accept-Encoding:
23
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
24
+ Accept:
25
+ - "*/*"
26
+ User-Agent:
27
+ - Ruby
28
+ response:
29
+ status:
30
+ code: 200
31
+ message: OK
32
+ headers:
33
+ Date:
34
+ - Thu, 15 Dec 2016 14:52:09 GMT
35
+ Server:
36
+ - Apache
37
+ Content-Length:
38
+ - '272'
39
+ Strict-Transport-Security:
40
+ - max-age=15768000
41
+ Content-Type:
42
+ - text/xml;charset=UTF-8
43
+ body:
44
+ encoding: UTF-8
45
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<SECURECARDUPDATERESPONSE><MERCHANTREF>worldnet_tps.gem</MERCHANTREF><CARDREFERENCE>2967539209767734</CARDREFERENCE><DATETIME>15-12-2016:14:52:09:775</DATETIME><HASH>3e788371072eb124cdc8c2ef398ad202</HASH></SECURECARDUPDATERESPONSE>"
46
+ http_version:
47
+ recorded_at: Thu, 15 Dec 2016 14:52:09 GMT
48
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,48 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://testpayments.worldnettps.com/merchant/xmlpayment
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" encoding="UTF-8"?>
10
+ <SECURECARDUPDATE>
11
+ <MERCHANTREF>worldnet_tps.gem</MERCHANTREF>
12
+ <TERMINALID>6003</TERMINALID>
13
+ <DATETIME>10-12-2016:12:00:00:000</DATETIME>
14
+ <CARDNUMBER>5001650000000000</CARDNUMBER>
15
+ <CARDEXPIRY>1234</CARDEXPIRY>
16
+ <CARDTYPE>MASTERCARD</CARDTYPE>
17
+ <CARDHOLDERNAME>John Doe</CARDHOLDERNAME>
18
+ <HASH>92b659e02301af239ec925373f9c3bb7</HASH>
19
+ <CVV>111</CVV>
20
+ </SECURECARDUPDATE>
21
+ headers:
22
+ Accept-Encoding:
23
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
24
+ Accept:
25
+ - "*/*"
26
+ User-Agent:
27
+ - Ruby
28
+ response:
29
+ status:
30
+ code: 200
31
+ message: OK
32
+ headers:
33
+ Date:
34
+ - Thu, 15 Dec 2016 15:03:56 GMT
35
+ Server:
36
+ - Apache
37
+ Content-Length:
38
+ - '272'
39
+ Strict-Transport-Security:
40
+ - max-age=15768000
41
+ Content-Type:
42
+ - text/xml;charset=UTF-8
43
+ body:
44
+ encoding: UTF-8
45
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<SECURECARDUPDATERESPONSE><MERCHANTREF>worldnet_tps.gem</MERCHANTREF><CARDREFERENCE>2967539209767734</CARDREFERENCE><DATETIME>15-12-2016:15:03:56:521</DATETIME><HASH>70d9929284120c01075eb19e9e1e9fcc</HASH></SECURECARDUPDATERESPONSE>"
46
+ http_version:
47
+ recorded_at: Thu, 15 Dec 2016 15:03:56 GMT
48
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,45 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://testpayments.worldnettps.com/merchant/xmlpayment
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" encoding="UTF-8"?>
10
+ <SECURECARDREMOVAL>
11
+ <MERCHANTREF>worldnet_tps.gem</MERCHANTREF>
12
+ <CARDREFERENCE>2967539209767734</CARDREFERENCE>
13
+ <TERMINALID>6003</TERMINALID>
14
+ <DATETIME>10-12-2016:12:00:00:000</DATETIME>
15
+ <HASH>ae1630b7d812045f0023d1085f028df5</HASH>
16
+ </SECURECARDREMOVAL>
17
+ headers:
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ Accept:
21
+ - "*/*"
22
+ User-Agent:
23
+ - Ruby
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Date:
30
+ - Thu, 15 Dec 2016 15:31:08 GMT
31
+ Server:
32
+ - Apache
33
+ Content-Length:
34
+ - '133'
35
+ Strict-Transport-Security:
36
+ - max-age=15768000
37
+ Content-Type:
38
+ - text/xml;charset=UTF-8
39
+ body:
40
+ encoding: UTF-8
41
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<ERROR><ERRORCODE>E04</ERRORCODE><ERRORSTRING>INVALID
42
+ REFERENCE DETAILS</ERRORSTRING></ERROR>"
43
+ http_version:
44
+ recorded_at: Thu, 15 Dec 2016 15:31:08 GMT
45
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://testpayments.worldnettps.com/merchant/xmlpayment
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" encoding="UTF-8"?>
10
+ <SECURECARDREMOVAL>
11
+ <MERCHANTREF>worldnet_tps.gem</MERCHANTREF>
12
+ <CARDREFERENCE>2967539209767734</CARDREFERENCE>
13
+ <TERMINALID>6003</TERMINALID>
14
+ <DATETIME>10-12-2016:12:00:00:000</DATETIME>
15
+ <HASH>ae1630b7d812045f0023d1085f028df5</HASH>
16
+ </SECURECARDREMOVAL>
17
+ headers:
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ Accept:
21
+ - "*/*"
22
+ User-Agent:
23
+ - Ruby
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Date:
30
+ - Thu, 15 Dec 2016 15:27:05 GMT
31
+ Server:
32
+ - Apache
33
+ Content-Length:
34
+ - '227'
35
+ Strict-Transport-Security:
36
+ - max-age=15768000
37
+ Content-Type:
38
+ - text/xml;charset=UTF-8
39
+ body:
40
+ encoding: UTF-8
41
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<SECURECARDREMOVALRESPONSE><MERCHANTREF>worldnet_tps.gem</MERCHANTREF><DATETIME>15-12-2016:15:27:05:755</DATETIME><HASH>aa42c8d0e7510bf19dd9f4772386f265</HASH></SECURECARDREMOVALRESPONSE>"
42
+ http_version:
43
+ recorded_at: Thu, 15 Dec 2016 15:27:05 GMT
44
+ recorded_with: VCR 3.0.3