fat_zebra 3.1.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +1 -1
  3. data/lib/fat_zebra.rb +1 -0
  4. data/lib/fat_zebra/authorise.rb +49 -0
  5. data/lib/fat_zebra/version.rb +1 -1
  6. data/spec/cassettes/FatZebra_Authorise/_authorise/with_challenge_response/1_2_3_1.yml +48 -0
  7. data/spec/cassettes/FatZebra_Authorise/_authorise/with_challenge_response/1_2_3_2.yml +48 -0
  8. data/spec/cassettes/FatZebra_Authorise/_authorise/with_frictionless_response/1_2_2_1.yml +48 -0
  9. data/spec/cassettes/FatZebra_Authorise/_authorise/with_frictionless_response/1_2_2_2.yml +48 -0
  10. data/spec/cassettes/FatZebra_Authorise/_authorise/with_invalid_input/1_2_1_1.yml +50 -0
  11. data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_given_params.yml +46 -0
  12. data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_no_params.yml +46 -0
  13. data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_some_params.yml +46 -0
  14. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_1.yml +8 -14
  15. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_2.yml +8 -14
  16. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml +30 -30
  17. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +30 -30
  18. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +30 -30
  19. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_1.yml +11 -17
  20. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_2.yml +11 -17
  21. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_1.yml +11 -17
  22. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_2.yml +11 -17
  23. data/spec/cassettes/FatZebra_Batch/_find/1_2_1.yml +19 -31
  24. data/spec/cassettes/FatZebra_Batch/_find/1_2_2.yml +19 -31
  25. data/spec/cassettes/FatZebra_Batch/_result/1_4_1.yml +26 -44
  26. data/spec/cassettes/FatZebra_Batch/_search/1_3_1.yml +6 -6
  27. data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +6 -6
  28. data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +6 -6
  29. data/spec/cassettes/FatZebra_Card/_create/1_1_1.yml +7 -13
  30. data/spec/cassettes/FatZebra_Card/_create/1_1_2.yml +7 -13
  31. data/spec/cassettes/FatZebra_Card/_create/1_1_3.yml +7 -13
  32. data/spec/cassettes/FatZebra_Card/_create/1_1_4.yml +7 -13
  33. data/spec/cassettes/FatZebra_Card/_create/1_1_5.yml +7 -13
  34. data/spec/cassettes/FatZebra_Card/_create/1_1_6.yml +7 -13
  35. data/spec/cassettes/FatZebra_Card/_update/1_2_1.yml +15 -27
  36. data/spec/cassettes/FatZebra_Card/_update/1_2_2.yml +15 -27
  37. data/spec/cassettes/FatZebra_Card/_update/1_2_3.yml +15 -27
  38. data/spec/cassettes/FatZebra_Card/_update/validations/1_2_4_1.yml +7 -13
  39. data/spec/cassettes/FatZebra_Customer/_create/1_1_1.yml +9 -15
  40. data/spec/cassettes/FatZebra_Customer/_create/1_1_2.yml +9 -15
  41. data/spec/cassettes/FatZebra_Customer/_create/1_1_3.yml +9 -15
  42. data/spec/cassettes/FatZebra_Customer/_create/1_1_4.yml +9 -15
  43. data/spec/cassettes/FatZebra_Customer/_create/1_1_5.yml +9 -15
  44. data/spec/cassettes/FatZebra_Customer/_create/1_1_6.yml +9 -15
  45. data/spec/cassettes/FatZebra_Customer/_delete/1_5_1.yml +18 -30
  46. data/spec/cassettes/FatZebra_Customer/_find/1_3_1.yml +18 -30
  47. data/spec/cassettes/FatZebra_Customer/_find/1_3_2.yml +18 -30
  48. data/spec/cassettes/FatZebra_Customer/_search/1_2_1.yml +12 -16
  49. data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +12 -16
  50. data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +12 -16
  51. data/spec/cassettes/FatZebra_Customer/_update/1_4_1.yml +19 -31
  52. data/spec/cassettes/FatZebra_Customer/_update/1_4_2.yml +19 -31
  53. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_1.yml +8 -14
  54. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_2.yml +8 -14
  55. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_3.yml +8 -14
  56. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_4.yml +8 -14
  57. data/spec/cassettes/FatZebra_DirectCredit/_create/validations/valid/1_1_5_1_1.yml +7 -13
  58. data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_1.yml +16 -28
  59. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_1.yml +16 -28
  60. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_2.yml +16 -28
  61. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_3.yml +13 -13
  62. data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +20 -20
  63. data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +20 -20
  64. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_1.yml +8 -14
  65. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_2.yml +8 -14
  66. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_3.yml +8 -14
  67. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_4.yml +8 -14
  68. data/spec/cassettes/FatZebra_DirectDebit/_create/validations/valid/1_1_5_1_1.yml +7 -13
  69. data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_1.yml +16 -28
  70. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_1.yml +16 -28
  71. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_2.yml +16 -28
  72. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_3.yml +13 -13
  73. data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +20 -20
  74. data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +20 -20
  75. data/spec/cassettes/FatZebra_Information/_ping/1_1_1.yml +7 -13
  76. data/spec/cassettes/FatZebra_Information/_ping/1_1_2.yml +7 -13
  77. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml +48 -48
  78. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +48 -48
  79. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +20 -20
  80. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +20 -20
  81. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +20 -20
  82. data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +28 -28
  83. data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +28 -28
  84. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +32 -32
  85. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +32 -32
  86. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +32 -32
  87. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +34 -34
  88. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +34 -34
  89. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +28 -28
  90. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +28 -28
  91. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +28 -28
  92. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +34 -34
  93. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +34 -34
  94. data/spec/cassettes/FatZebra_Purchase/_create/1_1_1.yml +9 -15
  95. data/spec/cassettes/FatZebra_Purchase/_create/1_1_10.yml +9 -15
  96. data/spec/cassettes/FatZebra_Purchase/_create/1_1_11.yml +9 -15
  97. data/spec/cassettes/FatZebra_Purchase/_create/1_1_12.yml +9 -15
  98. data/spec/cassettes/FatZebra_Purchase/_create/1_1_13.yml +9 -15
  99. data/spec/cassettes/FatZebra_Purchase/_create/1_1_2.yml +9 -15
  100. data/spec/cassettes/FatZebra_Purchase/_create/1_1_3.yml +9 -15
  101. data/spec/cassettes/FatZebra_Purchase/_create/1_1_4.yml +9 -15
  102. data/spec/cassettes/FatZebra_Purchase/_create/1_1_5.yml +9 -15
  103. data/spec/cassettes/FatZebra_Purchase/_create/1_1_6.yml +9 -15
  104. data/spec/cassettes/FatZebra_Purchase/_create/1_1_7.yml +9 -15
  105. data/spec/cassettes/FatZebra_Purchase/_create/1_1_8.yml +9 -15
  106. data/spec/cassettes/FatZebra_Purchase/_create/1_1_9.yml +9 -15
  107. data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_1.yml +11 -17
  108. data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_2.yml +11 -17
  109. data/spec/cassettes/FatZebra_Purchase/_void/1_6_1.yml +18 -30
  110. data/spec/cassettes/FatZebra_Purchase/_void/1_6_2.yml +18 -30
  111. data/spec/cassettes/FatZebra_Purchase/_void/1_6_3.yml +18 -30
  112. data/spec/cassettes/FatZebra_Purchase/_void/1_6_4.yml +18 -30
  113. data/spec/cassettes/FatZebra_Purchase/_void/1_7_1.yml +18 -30
  114. data/spec/cassettes/FatZebra_Purchase/_void/1_7_2.yml +18 -30
  115. data/spec/cassettes/FatZebra_Purchase/_void/1_7_3.yml +18 -30
  116. data/spec/cassettes/FatZebra_Purchase/_void/1_7_4.yml +18 -30
  117. data/spec/cassettes/FatZebra_Refund/_create/1_1_1.yml +16 -16
  118. data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +16 -16
  119. data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +16 -16
  120. data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +16 -16
  121. data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +16 -16
  122. data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +16 -16
  123. data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +16 -16
  124. data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +16 -16
  125. data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +16 -16
  126. data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +16 -16
  127. data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +24 -24
  128. data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +24 -24
  129. data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +24 -24
  130. data/spec/cassettes/FatZebra_Refund/_search/responds_with_the_newly-created_refunds.yml +40 -40
  131. data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +24 -24
  132. data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +24 -24
  133. data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +24 -24
  134. data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +24 -24
  135. data/spec/cassettes/FatZebra_WebHook/_create/1_1_1.yml +7 -13
  136. data/spec/cassettes/FatZebra_WebHook/_create/1_1_2.yml +7 -13
  137. data/spec/cassettes/FatZebra_WebHook/_create/1_1_3.yml +7 -13
  138. data/spec/cassettes/FatZebra_WebHook/_delete/1_4_1.yml +15 -27
  139. data/spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml +160 -133
  140. data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +162 -135
  141. data/spec/cassettes/FatZebra_WebHook/_update/1_3_1.yml +15 -27
  142. data/spec/cassettes/FatZebra_WebHook/_update/1_3_2.yml +15 -27
  143. data/spec/lib/fat_zebra/authorise_spec.rb +101 -0
  144. data/spec/lib/fat_zebra/purchase_spec.rb +3 -3
  145. data/spec/lib/fat_zebra/refund_spec.rb +1 -1
  146. data/spec/support/payloads.rb +42 -0
  147. metadata +13 -4
  148. data/spec/cassettes/FatZebra_DirectDebit/_create/validations/failed_with_non-float/1_1_5_3_1.yml +0 -52
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"464fbd694265d4f758aae5e80db3edae","customer_ip":"1.2.3.4","currency":"XXX","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"64a668464b54bd43e670c6603b6a1430","customer_ip":"1.2.3.4","currency":"XXX","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Tue, 08 May 2018 11:07:19 GMT
26
+ - Mon, 29 Apr 2019 09:24:20 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,27 +35,21 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3186@7b619da
38
+ - 1.16.9-3941@c1d8236
39
+ X-Runtime:
40
+ - '0.422949'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - 6ed1845dcf5ed8a1e228a060
45
- X-Runtime:
46
- - '0.425120'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - 794525c02e58989c04525dfc
51
45
  X-Backend:
52
46
  - sbox-priv-gateway-a
53
47
  body:
54
48
  encoding: UTF-8
55
- string: '{"successful":false,"response":{"authorization":null,"id":"071-P-VN6FKPXZ","card_number":"512345XXXXXX2346","card_holder":"Matthew
56
- Savage","card_expiry":"2030-02-28","card_token":"fke87txi","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":false,"message":null,"reference":"464fbd694265d4f758aae5e80db3edae","currency":"XXX","transaction_id":"071-P-VN6FKPXZ","settlement_date":null,"transaction_date":null,"response_code":"99","captured":false,"captured_amount":null,"rrn":null,"cvv_match":"U","metadata":{},"addendum_data":{}},"errors":["Currency
57
- XXX is not valid for this merchant. Permitted currencies: USD, AUD, NZD, GBP,
58
- EUR, JPY, CHF, CAD, HKD, and SGD"],"test":true}'
49
+ string: '{"successful":false,"response":{"authorization":null,"id":"071-P-YO4NZUU","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
+ Savage","card_expiry":"2030-02-28","card_token":"1ri596z2qflb20p6prly","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":false,"message":null,"reference":"64a668464b54bd43e670c6603b6a1430","currency":"XXX","transaction_id":"071-P-YO4NZUU","settlement_date":null,"transaction_date":null,"response_code":"99","captured":false,"captured_amount":null,"rrn":null,"cvv_match":"U","metadata":{},"addendum_data":{}},"errors":["Currency
51
+ XXX is not valid for this merchant. Permitted currencies: USD, EUR, GBP, AUD,
52
+ CAD, JPY, CHF, HKD, NZD, SGD, and JPY"],"test":true}'
59
53
  http_version:
60
- recorded_at: Tue, 08 May 2018 11:07:19 GMT
54
+ recorded_at: Mon, 29 Apr 2019 09:24:20 GMT
61
55
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"2597b3c510abe085821517fb26222de4","customer_ip":"1.2.3.4","currency":"XXX","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"5f5575ebbb1b9c410ea0410cea23f9e2","customer_ip":"1.2.3.4","currency":"XXX","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Tue, 08 May 2018 11:07:19 GMT
26
+ - Mon, 29 Apr 2019 09:24:20 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,27 +35,21 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3186@7b619da
38
+ - 1.16.9-3941@c1d8236
39
+ X-Runtime:
40
+ - '0.437976'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - 4d63dba42cac28fc36628340
45
- X-Runtime:
46
- - '0.439606'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - 38a408b894c4098c23507ea4
51
45
  X-Backend:
52
46
  - sbox-priv-gateway-a
53
47
  body:
54
48
  encoding: UTF-8
55
- string: '{"successful":false,"response":{"authorization":null,"id":"071-P-QJC9HZOV","card_number":"512345XXXXXX2346","card_holder":"Matthew
56
- Savage","card_expiry":"2030-02-28","card_token":"fke8mu9g","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":false,"message":null,"reference":"2597b3c510abe085821517fb26222de4","currency":"XXX","transaction_id":"071-P-QJC9HZOV","settlement_date":null,"transaction_date":null,"response_code":"99","captured":false,"captured_amount":null,"rrn":null,"cvv_match":"U","metadata":{},"addendum_data":{}},"errors":["Currency
57
- XXX is not valid for this merchant. Permitted currencies: USD, AUD, NZD, GBP,
58
- EUR, JPY, CHF, CAD, HKD, and SGD"],"test":true}'
49
+ string: '{"successful":false,"response":{"authorization":null,"id":"071-P-5HF0IZH","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
+ Savage","card_expiry":"2030-02-28","card_token":"8ikhzx7b8j89ruxmclu5","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":false,"message":null,"reference":"5f5575ebbb1b9c410ea0410cea23f9e2","currency":"XXX","transaction_id":"071-P-5HF0IZH","settlement_date":null,"transaction_date":null,"response_code":"99","captured":false,"captured_amount":null,"rrn":null,"cvv_match":"U","metadata":{},"addendum_data":{}},"errors":["Currency
51
+ XXX is not valid for this merchant. Permitted currencies: USD, EUR, GBP, AUD,
52
+ CAD, JPY, CHF, HKD, NZD, SGD, and JPY"],"test":true}'
59
53
  http_version:
60
- recorded_at: Tue, 08 May 2018 11:07:19 GMT
54
+ recorded_at: Mon, 29 Apr 2019 09:24:21 GMT
61
55
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"044a0b89884170334f300a08138d80e4","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"f652b39cd11387fff86a9b50f3a98d3f","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Tue, 08 May 2018 11:07:33 GMT
26
+ - Mon, 29 Apr 2019 09:24:21 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,33 +35,27 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3186@7b619da
38
+ - 1.16.9-3941@c1d8236
39
+ X-Runtime:
40
+ - '0.600426'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - 01ff26f8f2b2cfcc4f2fc901
45
- X-Runtime:
46
- - '0.509608'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - 36869febfe5f5b3165ae2e1a
51
45
  X-Backend:
52
46
  - sbox-priv-gateway-a
53
47
  body:
54
48
  encoding: UTF-8
55
- string: '{"successful":true,"response":{"authorization":"807269","id":"071-P-N2NC8GTG","card_number":"512345XXXXXX2346","card_holder":"Matthew
56
- Savage","card_expiry":"2030-02-28","card_token":"fke8cc07","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"044a0b89884170334f300a08138d80e4","currency":"AUD","transaction_id":"071-P-N2NC8GTG","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:33.829+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PN2NC8GTG","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"authorization":"845967","id":"071-P-MCXVLCCI","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
+ Savage","card_expiry":"2030-02-28","card_token":"scxsjqhw4ifuzv5qgknv","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"f652b39cd11387fff86a9b50f3a98d3f","currency":"AUD","transaction_id":"071-P-MCXVLCCI","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:21+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PMCXVLCCI","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
57
51
  http_version:
58
- recorded_at: Tue, 08 May 2018 11:07:33 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:24:21 GMT
59
53
  - request:
60
54
  method: post
61
55
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/void
62
56
  body:
63
57
  encoding: UTF-8
64
- string: '{"id":"071-P-N2NC8GTG","test":true}'
58
+ string: '{"id":"071-P-MCXVLCCI","test":true}'
65
59
  headers:
66
60
  Accept-Encoding:
67
61
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -79,7 +73,7 @@ http_interactions:
79
73
  message: OK
80
74
  headers:
81
75
  Date:
82
- - Tue, 08 May 2018 11:07:34 GMT
76
+ - Mon, 29 Apr 2019 09:24:21 GMT
83
77
  Content-Type:
84
78
  - application/json; charset=utf-8
85
79
  Transfer-Encoding:
@@ -91,25 +85,19 @@ http_interactions:
91
85
  Cache-Control:
92
86
  - no-store
93
87
  X-Request-Version:
94
- - 1.16.9-3186@7b619da
88
+ - 1.16.9-3941@c1d8236
89
+ X-Runtime:
90
+ - '0.084402'
95
91
  Pragma:
96
92
  - no-cache
97
- X-Xss-Protection:
98
- - 1; mode=block
99
93
  X-Request-Id:
100
- - cf863332350a93ecc443a4c2
101
- X-Runtime:
102
- - '0.092292'
103
- X-Frame-Options:
104
- - SAMEORIGIN
105
- X-Content-Type-Options:
106
- - nosniff
94
+ - 1ba2c4990eb8f0cae1b47808
107
95
  X-Backend:
108
96
  - sbox-priv-gateway-a
109
97
  body:
110
98
  encoding: UTF-8
111
- string: '{"successful":true,"response":{"authorization":"807269","id":"071-P-N2NC8GTG","card_number":"512345XXXXXX2346","card_holder":"Matthew
112
- Savage","card_expiry":"2030-02-28","card_token":"fke8cc07","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":false,"message":"Voided","reference":"044a0b89884170334f300a08138d80e4","currency":"AUD","transaction_id":"071-P-N2NC8GTG","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:33.829+10:00","response_code":"00","captured":true,"captured_amount":0,"rrn":"071PN2NC8GTG","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
99
+ string: '{"successful":true,"response":{"authorization":"845967","id":"071-P-MCXVLCCI","card_number":"512345XXXXXX2346","card_holder":"Matthew
100
+ Savage","card_expiry":"2030-02-28","card_token":"scxsjqhw4ifuzv5qgknv","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Voided","reference":"f652b39cd11387fff86a9b50f3a98d3f","currency":"AUD","transaction_id":"071-P-MCXVLCCI","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:21+10:00","response_code":"00","captured":true,"captured_amount":0,"rrn":"071PMCXVLCCI","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
113
101
  http_version:
114
- recorded_at: Tue, 08 May 2018 11:07:34 GMT
102
+ recorded_at: Mon, 29 Apr 2019 09:24:21 GMT
115
103
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"ec16364d1bb48dd79b1ed15e1d8ba547","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"b865561efa38fb0de6c6d58b866842b7","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Tue, 08 May 2018 11:07:34 GMT
26
+ - Mon, 29 Apr 2019 09:24:22 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,33 +35,27 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3186@7b619da
38
+ - 1.16.9-3941@c1d8236
39
+ X-Runtime:
40
+ - '0.561799'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - 4345c6f2831e9fb1af4c8f71
45
- X-Runtime:
46
- - '0.566404'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - 77203e03c71b2a38cb00eaa3
51
45
  X-Backend:
52
46
  - sbox-priv-gateway-a
53
47
  body:
54
48
  encoding: UTF-8
55
- string: '{"successful":true,"response":{"authorization":"680669","id":"071-P-KW5LVYDV","card_number":"512345XXXXXX2346","card_holder":"Matthew
56
- Savage","card_expiry":"2030-02-28","card_token":"fke89gug","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"ec16364d1bb48dd79b1ed15e1d8ba547","currency":"AUD","transaction_id":"071-P-KW5LVYDV","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:34.604+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PKW5LVYDV","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"authorization":"862204","id":"071-P-H073BTKP","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
+ Savage","card_expiry":"2030-02-28","card_token":"gxa0kgni8br9coczv607","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"b865561efa38fb0de6c6d58b866842b7","currency":"AUD","transaction_id":"071-P-H073BTKP","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:22+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PH073BTKP","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
57
51
  http_version:
58
- recorded_at: Tue, 08 May 2018 11:07:34 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:24:22 GMT
59
53
  - request:
60
54
  method: post
61
55
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/void
62
56
  body:
63
57
  encoding: UTF-8
64
- string: '{"id":"071-P-KW5LVYDV","test":true}'
58
+ string: '{"id":"071-P-H073BTKP","test":true}'
65
59
  headers:
66
60
  Accept-Encoding:
67
61
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -79,7 +73,7 @@ http_interactions:
79
73
  message: OK
80
74
  headers:
81
75
  Date:
82
- - Tue, 08 May 2018 11:07:34 GMT
76
+ - Mon, 29 Apr 2019 09:24:22 GMT
83
77
  Content-Type:
84
78
  - application/json; charset=utf-8
85
79
  Transfer-Encoding:
@@ -91,25 +85,19 @@ http_interactions:
91
85
  Cache-Control:
92
86
  - no-store
93
87
  X-Request-Version:
94
- - 1.16.9-3186@7b619da
88
+ - 1.16.9-3941@c1d8236
89
+ X-Runtime:
90
+ - '0.079124'
95
91
  Pragma:
96
92
  - no-cache
97
- X-Xss-Protection:
98
- - 1; mode=block
99
93
  X-Request-Id:
100
- - 1613db66496f3d8e4912e6cc
101
- X-Runtime:
102
- - '0.069394'
103
- X-Frame-Options:
104
- - SAMEORIGIN
105
- X-Content-Type-Options:
106
- - nosniff
94
+ - 767f3d48716264d8fc5157cc
107
95
  X-Backend:
108
96
  - sbox-priv-gateway-a
109
97
  body:
110
98
  encoding: UTF-8
111
- string: '{"successful":true,"response":{"authorization":"680669","id":"071-P-KW5LVYDV","card_number":"512345XXXXXX2346","card_holder":"Matthew
112
- Savage","card_expiry":"2030-02-28","card_token":"fke89gug","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":false,"message":"Voided","reference":"ec16364d1bb48dd79b1ed15e1d8ba547","currency":"AUD","transaction_id":"071-P-KW5LVYDV","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:34.604+10:00","response_code":"00","captured":true,"captured_amount":0,"rrn":"071PKW5LVYDV","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
99
+ string: '{"successful":true,"response":{"authorization":"862204","id":"071-P-H073BTKP","card_number":"512345XXXXXX2346","card_holder":"Matthew
100
+ Savage","card_expiry":"2030-02-28","card_token":"gxa0kgni8br9coczv607","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Voided","reference":"b865561efa38fb0de6c6d58b866842b7","currency":"AUD","transaction_id":"071-P-H073BTKP","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:22+10:00","response_code":"00","captured":true,"captured_amount":0,"rrn":"071PH073BTKP","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
113
101
  http_version:
114
- recorded_at: Tue, 08 May 2018 11:07:34 GMT
102
+ recorded_at: Mon, 29 Apr 2019 09:24:22 GMT
115
103
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"f9ae4f5ed4f4cfa64a2b22ae4669f3ca","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"4d9dcab8883c5530352bb9d595dfe33e","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Tue, 08 May 2018 11:07:35 GMT
26
+ - Mon, 29 Apr 2019 09:24:23 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,33 +35,27 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3186@7b619da
38
+ - 1.16.9-3941@c1d8236
39
+ X-Runtime:
40
+ - '0.527747'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - 7fe81276383bea34921696de
45
- X-Runtime:
46
- - '0.642429'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - d417f0c23482ea9e3d075a1f
51
45
  X-Backend:
52
46
  - sbox-priv-gateway-a
53
47
  body:
54
48
  encoding: UTF-8
55
- string: '{"successful":true,"response":{"authorization":"619369","id":"071-P-VNP48JE9","card_number":"512345XXXXXX2346","card_holder":"Matthew
56
- Savage","card_expiry":"2030-02-28","card_token":"fke8o4i0","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"f9ae4f5ed4f4cfa64a2b22ae4669f3ca","currency":"AUD","transaction_id":"071-P-VNP48JE9","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:35.522+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PVNP48JE9","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"authorization":"934127","id":"071-P-XNQW0S6N","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
+ Savage","card_expiry":"2030-02-28","card_token":"b7ys4ay4rpoclttuwhp4","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"4d9dcab8883c5530352bb9d595dfe33e","currency":"AUD","transaction_id":"071-P-XNQW0S6N","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:23+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PXNQW0S6N","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
57
51
  http_version:
58
- recorded_at: Tue, 08 May 2018 11:07:35 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:24:23 GMT
59
53
  - request:
60
54
  method: post
61
55
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/void
62
56
  body:
63
57
  encoding: UTF-8
64
- string: '{"id":"071-P-VNP48JE9","test":true}'
58
+ string: '{"id":"071-P-XNQW0S6N","test":true}'
65
59
  headers:
66
60
  Accept-Encoding:
67
61
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -79,7 +73,7 @@ http_interactions:
79
73
  message: OK
80
74
  headers:
81
75
  Date:
82
- - Tue, 08 May 2018 11:07:35 GMT
76
+ - Mon, 29 Apr 2019 09:24:23 GMT
83
77
  Content-Type:
84
78
  - application/json; charset=utf-8
85
79
  Transfer-Encoding:
@@ -91,25 +85,19 @@ http_interactions:
91
85
  Cache-Control:
92
86
  - no-store
93
87
  X-Request-Version:
94
- - 1.16.9-3186@7b619da
88
+ - 1.16.9-3941@c1d8236
89
+ X-Runtime:
90
+ - '0.082140'
95
91
  Pragma:
96
92
  - no-cache
97
- X-Xss-Protection:
98
- - 1; mode=block
99
93
  X-Request-Id:
100
- - 61de3d36cdcbfd614f04119c
101
- X-Runtime:
102
- - '0.071114'
103
- X-Frame-Options:
104
- - SAMEORIGIN
105
- X-Content-Type-Options:
106
- - nosniff
94
+ - 98d967c8be155e7cdff557b4
107
95
  X-Backend:
108
96
  - sbox-priv-gateway-a
109
97
  body:
110
98
  encoding: UTF-8
111
- string: '{"successful":true,"response":{"authorization":"619369","id":"071-P-VNP48JE9","card_number":"512345XXXXXX2346","card_holder":"Matthew
112
- Savage","card_expiry":"2030-02-28","card_token":"fke8o4i0","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":false,"message":"Voided","reference":"f9ae4f5ed4f4cfa64a2b22ae4669f3ca","currency":"AUD","transaction_id":"071-P-VNP48JE9","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:35.522+10:00","response_code":"00","captured":true,"captured_amount":0,"rrn":"071PVNP48JE9","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
99
+ string: '{"successful":true,"response":{"authorization":"934127","id":"071-P-XNQW0S6N","card_number":"512345XXXXXX2346","card_holder":"Matthew
100
+ Savage","card_expiry":"2030-02-28","card_token":"b7ys4ay4rpoclttuwhp4","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Voided","reference":"4d9dcab8883c5530352bb9d595dfe33e","currency":"AUD","transaction_id":"071-P-XNQW0S6N","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:23+10:00","response_code":"00","captured":true,"captured_amount":0,"rrn":"071PXNQW0S6N","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
113
101
  http_version:
114
- recorded_at: Tue, 08 May 2018 11:07:35 GMT
102
+ recorded_at: Mon, 29 Apr 2019 09:24:23 GMT
115
103
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"476018febcb2ad37424b2e37de02b3e5","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"8e4f97817c939037eced9a2dae1f80c9","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Tue, 08 May 2018 11:07:36 GMT
26
+ - Mon, 29 Apr 2019 09:24:24 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,33 +35,27 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3186@7b619da
38
+ - 1.16.9-3941@c1d8236
39
+ X-Runtime:
40
+ - '0.603136'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - 6f4837d767d833b2d0e43427
45
- X-Runtime:
46
- - '0.510799'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - e9b23aa8764168ab7b7eb76b
51
45
  X-Backend:
52
46
  - sbox-priv-gateway-a
53
47
  body:
54
48
  encoding: UTF-8
55
- string: '{"successful":true,"response":{"authorization":"899563","id":"071-P-8IJ9YGRI","card_number":"512345XXXXXX2346","card_holder":"Matthew
56
- Savage","card_expiry":"2030-02-28","card_token":"fke8jtr9","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"476018febcb2ad37424b2e37de02b3e5","currency":"AUD","transaction_id":"071-P-8IJ9YGRI","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:36.352+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P8IJ9YGRI","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"authorization":"175180","id":"071-P-RBIUJUOE","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
+ Savage","card_expiry":"2030-02-28","card_token":"3ptyvu9tv3sbwic9vmc2","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"8e4f97817c939037eced9a2dae1f80c9","currency":"AUD","transaction_id":"071-P-RBIUJUOE","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:23+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PRBIUJUOE","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
57
51
  http_version:
58
- recorded_at: Tue, 08 May 2018 11:07:36 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:24:24 GMT
59
53
  - request:
60
54
  method: post
61
55
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/void
62
56
  body:
63
57
  encoding: UTF-8
64
- string: '{"id":"071-P-8IJ9YGRI","test":true}'
58
+ string: '{"id":"071-P-RBIUJUOE","test":true}'
65
59
  headers:
66
60
  Accept-Encoding:
67
61
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -79,7 +73,7 @@ http_interactions:
79
73
  message: OK
80
74
  headers:
81
75
  Date:
82
- - Tue, 08 May 2018 11:07:36 GMT
76
+ - Mon, 29 Apr 2019 09:24:24 GMT
83
77
  Content-Type:
84
78
  - application/json; charset=utf-8
85
79
  Transfer-Encoding:
@@ -91,25 +85,19 @@ http_interactions:
91
85
  Cache-Control:
92
86
  - no-store
93
87
  X-Request-Version:
94
- - 1.16.9-3186@7b619da
88
+ - 1.16.9-3941@c1d8236
89
+ X-Runtime:
90
+ - '0.089302'
95
91
  Pragma:
96
92
  - no-cache
97
- X-Xss-Protection:
98
- - 1; mode=block
99
93
  X-Request-Id:
100
- - d27f04b1eec8ba7c077c71e4
101
- X-Runtime:
102
- - '0.069018'
103
- X-Frame-Options:
104
- - SAMEORIGIN
105
- X-Content-Type-Options:
106
- - nosniff
94
+ - 9a98d80a90e6256423d7c37c
107
95
  X-Backend:
108
96
  - sbox-priv-gateway-a
109
97
  body:
110
98
  encoding: UTF-8
111
- string: '{"successful":true,"response":{"authorization":"899563","id":"071-P-8IJ9YGRI","card_number":"512345XXXXXX2346","card_holder":"Matthew
112
- Savage","card_expiry":"2030-02-28","card_token":"fke8jtr9","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":false,"message":"Voided","reference":"476018febcb2ad37424b2e37de02b3e5","currency":"AUD","transaction_id":"071-P-8IJ9YGRI","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:36.352+10:00","response_code":"00","captured":true,"captured_amount":0,"rrn":"071P8IJ9YGRI","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
99
+ string: '{"successful":true,"response":{"authorization":"175180","id":"071-P-RBIUJUOE","card_number":"512345XXXXXX2346","card_holder":"Matthew
100
+ Savage","card_expiry":"2030-02-28","card_token":"3ptyvu9tv3sbwic9vmc2","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Voided","reference":"8e4f97817c939037eced9a2dae1f80c9","currency":"AUD","transaction_id":"071-P-RBIUJUOE","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:23+10:00","response_code":"00","captured":true,"captured_amount":0,"rrn":"071PRBIUJUOE","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
113
101
  http_version:
114
- recorded_at: Tue, 08 May 2018 11:07:36 GMT
102
+ recorded_at: Mon, 29 Apr 2019 09:24:24 GMT
115
103
  recorded_with: VCR 3.0.3