bloom_remit 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/app/concepts/bloom_remit/txns/contracts/create.rb +4 -2
  3. data/app/concepts/bloom_remit/txns/contracts/update.rb +1 -0
  4. data/app/concepts/bloom_remit/txns/operations/create.rb +11 -1
  5. data/app/concepts/bloom_remit/txns/operations/update.rb +22 -1
  6. data/app/jobs/bloom_remit/txns/on_update_job.rb +15 -0
  7. data/app/jobs/bloom_remit/txns/payout_job.rb +1 -1
  8. data/app/models/bloom_remit/response.rb +9 -0
  9. data/app/models/bloom_remit/txn.rb +2 -1
  10. data/app/services/bloom_remit/create_txn.rb +5 -4
  11. data/app/services/bloom_remit/txns/handle_response.rb +16 -0
  12. data/app/services/bloom_remit/txns/on_update.rb +12 -0
  13. data/app/services/bloom_remit/txns/payout.rb +2 -0
  14. data/app/services/bloom_remit/txns/post.rb +7 -3
  15. data/app/services/bloom_remit/txns/run_hook.rb +14 -0
  16. data/db/migrate/20160805004223_drop_recipient_from_txns.rb +6 -0
  17. data/db/migrate/20160805004350_add_target_slug_to_bloom_remit_txns.rb +5 -0
  18. data/db/migrate/20160805040950_add_owner_to_bloom_remit_txns.rb +7 -0
  19. data/db/migrate/20160805095308_change_txns_sender_id_to_string.rb +5 -0
  20. data/db/migrate/20160806054012_create_bloom_remit_responses.rb +9 -0
  21. data/lib/bloom_remit/factories/response.rb +7 -0
  22. data/lib/bloom_remit/factories/txn.rb +9 -0
  23. data/lib/bloom_remit/factories.rb +2 -0
  24. data/lib/bloom_remit/version.rb +1 -1
  25. data/lib/bloom_remit.rb +2 -0
  26. data/spec/bloom_remit_spec.rb +29 -0
  27. data/spec/concepts/bloom_remit/txns/operations/create_spec.rb +36 -0
  28. data/spec/concepts/bloom_remit/txns/operations/update_spec.rb +25 -0
  29. data/spec/dummy/README.rdoc +28 -0
  30. data/spec/dummy/Rakefile +6 -0
  31. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  32. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  33. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  34. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  35. data/spec/dummy/app/models/biller.rb +3 -0
  36. data/spec/dummy/app/models/payment.rb +3 -0
  37. data/spec/dummy/app/models/sub_payment.rb +3 -0
  38. data/spec/dummy/app/models/sub_user.rb +3 -0
  39. data/spec/dummy/app/models/user.rb +3 -0
  40. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  41. data/spec/dummy/bin/bundle +3 -0
  42. data/spec/dummy/bin/rails +4 -0
  43. data/spec/dummy/bin/rake +4 -0
  44. data/spec/dummy/bin/setup +29 -0
  45. data/spec/dummy/config/application.rb +26 -0
  46. data/spec/dummy/config/boot.rb +5 -0
  47. data/spec/dummy/config/database.yml +16 -0
  48. data/spec/dummy/config/database.yml.sample +16 -0
  49. data/spec/dummy/config/environment.rb +5 -0
  50. data/spec/dummy/config/environments/development.rb +44 -0
  51. data/spec/dummy/config/environments/production.rb +79 -0
  52. data/spec/dummy/config/environments/test.rb +46 -0
  53. data/spec/dummy/config/initializers/assets.rb +11 -0
  54. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  55. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  56. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  57. data/spec/dummy/config/initializers/inflections.rb +16 -0
  58. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  59. data/spec/dummy/config/initializers/session_store.rb +3 -0
  60. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  61. data/spec/dummy/config/locales/en.yml +23 -0
  62. data/spec/dummy/config/routes.rb +4 -0
  63. data/spec/dummy/config/secrets.yml +22 -0
  64. data/spec/dummy/config.ru +4 -0
  65. data/spec/dummy/db/development.sqlite3 +0 -0
  66. data/spec/dummy/db/migrate/20160729085500_create_users.rb +8 -0
  67. data/spec/dummy/db/migrate/20160805001840_create_billers.rb +7 -0
  68. data/spec/dummy/db/migrate/20160805042105_create_payments.rb +6 -0
  69. data/spec/dummy/db/migrate/20160806011259_add_type_to_users.rb +5 -0
  70. data/spec/dummy/db/migrate/20160806012210_add_type_to_payments.rb +5 -0
  71. data/spec/dummy/db/schema.rb +57 -0
  72. data/spec/dummy/log/development.log +1633 -0
  73. data/spec/dummy/log/test.log +27581 -0
  74. data/spec/dummy/public/404.html +67 -0
  75. data/spec/dummy/public/422.html +67 -0
  76. data/spec/dummy/public/500.html +66 -0
  77. data/spec/dummy/public/favicon.ico +0 -0
  78. data/spec/factories/biller.rb +7 -0
  79. data/spec/factories/payment.rb +14 -0
  80. data/spec/factories/response.rb +7 -0
  81. data/spec/factories/txn.rb +8 -0
  82. data/spec/factories/user.rb +14 -0
  83. data/spec/fixtures/cassettes/BloomRemit_Billers_Sync/syncs_the_billers_with_the_local_system.yml +270 -0
  84. data/spec/fixtures/cassettes/BloomRemit_CreateTxn/creates_a_model_and_pays_for_the_bill.yml +270 -0
  85. data/spec/fixtures/on_txn_response.rb +7 -0
  86. data/spec/jobs/bloom_remit/txns/on_update_job_spec.rb +22 -0
  87. data/spec/jobs/bloom_remit/txns/payout_job.rb +21 -0
  88. data/spec/models/bloom_remit/response_spec.rb +15 -0
  89. data/spec/models/bloom_remit/txn_spec.rb +16 -0
  90. data/spec/rails_helper.rb +75 -0
  91. data/spec/requests/api/v1/txns_spec.rb +41 -0
  92. data/spec/services/bloom_remit/create_txn_spec.rb +36 -0
  93. data/spec/services/bloom_remit/initialize_client_spec.rb +23 -0
  94. data/spec/services/bloom_remit/txns/handle_response_spec.rb +25 -0
  95. data/spec/services/bloom_remit/txns/on_update_spec.rb +33 -0
  96. data/spec/services/bloom_remit/txns/payout_spec.rb +28 -0
  97. data/spec/services/bloom_remit/txns/post_spec.rb +45 -0
  98. data/spec/services/bloom_remit/txns/run_hook_spec.rb +17 -0
  99. data/spec/spec_helper.rb +99 -0
  100. data/spec/support/bloom_remit.rb +1 -0
  101. data/spec/support/database_cleaner.rb +43 -0
  102. data/spec/support/factory_girl.rb +7 -0
  103. data/spec/support/rspec-sidekiq.rb +1 -0
  104. data/spec/support/shoulda-matchers.rb +8 -0
  105. data/spec/support/storext_matchers.rb +1 -0
  106. data/spec/support/vcr.rb +11 -0
  107. metadata +208 -11
  108. data/app/concepts/bloom_remit/txns/callbacks/after_create.rb +0 -15
  109. data/app/jobs/bloom_remit/sync_billers_job.rb +0 -19
  110. data/app/models/bloom_remit/biller.rb +0 -21
  111. data/app/services/bloom_remit/billers/sync.rb +0 -15
  112. data/db/migrate/20160720038018_install_hstore.rb +0 -5
  113. data/db/migrate/20160720040018_create_bloom_remit_billers.rb +0 -12
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
@@ -0,0 +1,7 @@
1
+ FactoryGirl.define do
2
+
3
+ factory :bloom_remit_dummy_biller, class: Biller do
4
+ sequence(:slug) {|n| "slug#{n}" }
5
+ end
6
+
7
+ end
@@ -0,0 +1,14 @@
1
+ FactoryGirl.define do
2
+
3
+ factory :bloom_remit_dummy_payment, class: Payment do
4
+
5
+ end
6
+
7
+ factory(:bloom_remit_dummy_sub_payment, {
8
+ class: SubPayment,
9
+ parent: :bloom_remit_dummy_payment,
10
+ }) do
11
+
12
+ end
13
+
14
+ end
@@ -0,0 +1,7 @@
1
+ FactoryGirl.define do
2
+
3
+ factory :response, parent: :bloom_remit_response do
4
+ association :txn, factory: :txn
5
+ end
6
+
7
+ end
@@ -0,0 +1,8 @@
1
+ FactoryGirl.define do
2
+
3
+ factory :txn, parent: :bloom_remit_txn, class: BloomRemit::Txn do
4
+ association :owner, factory: :bloom_remit_dummy_payment
5
+ association :sender, factory: :bloom_remit_dummy_user
6
+ end
7
+
8
+ end
@@ -0,0 +1,14 @@
1
+ FactoryGirl.define do
2
+
3
+ factory :bloom_remit_dummy_user, class: User do
4
+
5
+ end
6
+
7
+ factory(:bloom_remit_dummy_sub_user, {
8
+ class: SubUser,
9
+ parent: :bloom_remit_dummy_user,
10
+ }) do
11
+
12
+ end
13
+
14
+ end
@@ -0,0 +1,270 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://bloomremit-staging.herokuapp.com/api/v2/billers.json
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - Cowboy
23
+ Date:
24
+ - Fri, 29 Jul 2016 06:49:53 GMT
25
+ Connection:
26
+ - keep-alive
27
+ X-Frame-Options:
28
+ - SAMEORIGIN
29
+ X-Xss-Protection:
30
+ - 1; mode=block
31
+ X-Content-Type-Options:
32
+ - nosniff
33
+ Content-Type:
34
+ - application/json; charset=utf-8
35
+ Etag:
36
+ - W/"82701d0d9facc074f5978eb96450bc0d"
37
+ Cache-Control:
38
+ - max-age=0, private, must-revalidate
39
+ X-Request-Id:
40
+ - edd87f08-1e82-4205-98fb-f24983331a8e
41
+ X-Runtime:
42
+ - '0.083441'
43
+ Strict-Transport-Security:
44
+ - max-age=31536000
45
+ Transfer-Encoding:
46
+ - chunked
47
+ Via:
48
+ - 1.1 vegur
49
+ body:
50
+ encoding: UTF-8
51
+ string: '[{"slug":"GLOBELINES","service_charge":"0.0","first_field":"Account
52
+ Number","first_field_format":"Numeric","first_field_width":10,"second_field":"Subscriber
53
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"GHPHONE","service_charge":"0.0","first_field":"Account
54
+ Number","first_field_format":"Numeric","first_field_width":8,"second_field":"Subscriber
55
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"CABLELINK","service_charge":"0.0","first_field":"Account
56
+ Number","first_field_format":"Numeric","first_field_width":16,"second_field":"Subscriber
57
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"PRIMEWATER","service_charge":"0.0","first_field":"Account
58
+ Number","first_field_format":"Numeric","first_field_width":12,"second_field":"ATM
59
+ Reference Number","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"DIGITEL","service_charge":"0.0","first_field":"Account
60
+ Number *(10-DIGIT)","first_field_format":"Numeric","first_field_width":16,"second_field":"2
61
+ Digit AreaCode + Telephone Numbe","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"SUNCELLULAR","service_charge":"0.0","first_field":"Account
62
+ Number","first_field_format":"Numeric","first_field_width":16,"second_field":"11
63
+ Digit Mobile Number","second_field_format":"Numeric","second_field_width":11},{"slug":"G-NET","service_charge":"0.0","first_field":"Account
64
+ Number","first_field_format":"Numeric","first_field_width":16,"second_field":"Subscriber
65
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"BAYANTEL","service_charge":"0.0","first_field":"Account
66
+ Number","first_field_format":"Numeric","first_field_width":11,"second_field":"2
67
+ Digit AreaCode + Telephone Number","second_field_format":"Numeric","second_field_width":10},{"slug":"PLANET_CABLE","service_charge":"0.0","first_field":"Account
68
+ Number","first_field_format":"Numeric","first_field_width":12,"second_field":"ATM
69
+ Reference No.","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"GOLDEN_HAVEN","service_charge":"0.0","first_field":"Account
70
+ Number","first_field_format":"Numeric","first_field_width":12,"second_field":"ATM
71
+ Reference Number","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"OPTIMUM_BANK","service_charge":"0.0","first_field":"Account
72
+ Number","first_field_format":"Numeric","first_field_width":12,"second_field":"Subscriber
73
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"VECO","service_charge":"0.0","first_field":"Account
74
+ ID (11 digits)","first_field_format":"Numeric","first_field_width":11,"second_field":"Subscriber
75
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"DAVAOLIGHT","service_charge":"0.0","first_field":"Account
76
+ ID (11 digits)","first_field_format":"Numeric","first_field_width":11,"second_field":"Subscriber
77
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"STA_LUCIA_REALTY","service_charge":"0.0","first_field":"Account
78
+ Number (FULL PAYMENT ONLY)","first_field_format":"Numeric","first_field_width":12,"second_field":"Billing
79
+ No.","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"SUMISHO","service_charge":"0.0","first_field":"Loan
80
+ Account Number","first_field_format":"Numeric","first_field_width":15,"second_field":"Account
81
+ Name + Contact No.","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"CASHSENSE","service_charge":"0.0","first_field":"Transaction
82
+ ID","first_field_format":"Alphanumeric","first_field_width":9,"second_field":"Customer
83
+ Name","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"SUBIC_ENERZONE","service_charge":"0.0","first_field":"Account
84
+ ID (11 digits)","first_field_format":"Numeric","first_field_width":11,"second_field":"Subscriber
85
+ Name","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"NORKIS","service_charge":"0.0","first_field":"Reference
86
+ Number","first_field_format":"Numeric","first_field_width":13,"second_field":"Customer''s
87
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"CIGNAL","service_charge":"0.0","first_field":"Account
88
+ Number","first_field_format":"Numeric","first_field_width":10,"second_field":"Subscriber
89
+ Name","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"UNISTAR","service_charge":"0.0","first_field":"Agreement
90
+ No. (dash \"-\" included)","first_field_format":"Numeric","first_field_width":11,"second_field":"Customer
91
+ Name","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"SMART","service_charge":"0.0","first_field":"Account
92
+ Number *(10-DIGIT)","first_field_format":"Numeric","first_field_width":10,"second_field":"11
93
+ Digit Mobile No / Service Reference No","second_field_format":"Numeric","second_field_width":16},{"slug":"PLDT","service_charge":"0.0","first_field":"Account
94
+ Number *(10-DIGIT)","first_field_format":"Numeric","first_field_width":10,"second_field":"2
95
+ Digit AreaCode + Telephone Number","second_field_format":"Numeric","second_field_width":10},{"slug":"MANILAWATER","service_charge":"0.0","first_field":"Contract
96
+ Account Number","first_field_format":"Numeric","first_field_width":8,"second_field":"Subscriber
97
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"MAYNILAD","service_charge":"0.0","first_field":"Contract
98
+ Account Number","first_field_format":"Numeric","first_field_width":8,"second_field":"Subscriber
99
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"CAVITE_CABLE","service_charge":"0.0","first_field":"2
100
+ Digit Area Code + Accnt No","first_field_format":"Numeric","first_field_width":9,"second_field":"Subscriber
101
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"SUBURBAN_CABLE","service_charge":"0.0","first_field":"2
102
+ Digit Area Code + Accnt No","first_field_format":"Numeric","first_field_width":9,"second_field":"Subscriber
103
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"ISLA_CABLE","service_charge":"0.0","first_field":"2
104
+ Digit Area Code + Accnt No","first_field_format":"Numeric","first_field_width":9,"second_field":"Subscriber
105
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"HOME_LIPA_CABLE","service_charge":"0.0","first_field":"2
106
+ Digit Area Code + Accnt No","first_field_format":"Numeric","first_field_width":9,"second_field":"Subscriber
107
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"TARLAC_CABLE","service_charge":"0.0","first_field":"2
108
+ Digit Area Code + Accnt No","first_field_format":"Numeric","first_field_width":9,"second_field":"Subscriber
109
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"SORSOGON_WATER","service_charge":"8.0","first_field":"Account
110
+ Number","first_field_format":"Numeric","first_field_width":10,"second_field":"Customer
111
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"BENECO","service_charge":"5.0","first_field":"Account
112
+ Number","first_field_format":"Numeric","first_field_width":10,"second_field":"Customer
113
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"LEGAZPI_WATER","service_charge":"8.0","first_field":"Account
114
+ Number","first_field_format":"Numeric","first_field_width":10,"second_field":"Subscriber
115
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":10},{"slug":"PAL","service_charge":"0.0","first_field":"Reference
116
+ Number (14-Digit)","first_field_format":"Numeric","first_field_width":14,"second_field":"Customer
117
+ Contact Number","second_field_format":"Numeric","second_field_width":11},{"slug":"TABACO_WATER","service_charge":"0.0","first_field":"Account
118
+ Number","first_field_format":"Numeric","first_field_width":11,"second_field":"Subscriber
119
+ Name","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"MCWD","service_charge":"3.0","first_field":"Consumer
120
+ Code","first_field_format":"Numeric","first_field_width":6,"second_field":"Subscriber
121
+ Name (ex.JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"PELCO1","service_charge":"5.0","first_field":"Account
122
+ No","first_field_format":"Numeric","first_field_width":8,"second_field":"Name
123
+ of Subscriber (exact amount only)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"STA_MARIA_WATER","service_charge":"10.0","first_field":"ID
124
+ Number","first_field_format":"Numeric","first_field_width":9,"second_field":"Name
125
+ of Subscriber (accept only 2 days before grace period)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"MFI_LENDING","service_charge":"0.0","first_field":"Loan
126
+ ID Number","first_field_format":"Numeric","first_field_width":10,"second_field":"Name
127
+ of Subscriber","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"COTABATO_LIGHT","service_charge":"0.0","first_field":"Account
128
+ ID","first_field_format":"Numeric","first_field_width":11,"second_field":"Subscriber
129
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"AEON_CREDIT","service_charge":"15.0","first_field":"Agreement
130
+ No.","first_field_format":"Numeric","first_field_width":10,"second_field":"Customer
131
+ Name","second_field_format":"Numeric","second_field_width":10},{"slug":"PESOPAY","service_charge":"0.0","first_field":"Reference
132
+ No.","first_field_format":"Numeric","first_field_width":20,"second_field":"Customer
133
+ Name","second_field_format":"Numeric","second_field_width":16},{"slug":"PUERTO_PRINCESA_WATER","service_charge":"5.0","first_field":"Account
134
+ No (7-Digit)","first_field_format":"Numeric","first_field_width":7,"second_field":"Surname,
135
+ FirstName","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"PRESCO","service_charge":"5.0","first_field":"Account
136
+ No.","first_field_format":"Numeric","first_field_width":10,"second_field":"Subscriber
137
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"MAYBRIDGE","service_charge":"0.0","first_field":"Product
138
+ Code + BDAY (mmddyy)","first_field_format":"Numeric","first_field_width":7,"second_field":"Last
139
+ Name + First Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"PILIPINO_CABLE","service_charge":"0.0","first_field":"2
140
+ Digit Area Code + Accnt No","first_field_format":"Numeric","first_field_width":9,"second_field":"Subscriber
141
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"HM_CATV","service_charge":"0.0","first_field":"2
142
+ Digit Area Code + Accnt No","first_field_format":"Numeric","first_field_width":9,"second_field":"Subscriber
143
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"BRIGHTMOON_CABLE","service_charge":"0.0","first_field":"2
144
+ Digit Area Code + Accnt No","first_field_format":"Numeric","first_field_width":9,"second_field":"Subscriber
145
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"JMY_ADVANTAGE","service_charge":"0.0","first_field":"2
146
+ Digit Area Code + Accnt No","first_field_format":"Numeric","first_field_width":9,"second_field":"Subscriber
147
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"PLUS_CABLE","service_charge":"0.0","first_field":"Account
148
+ Number","first_field_format":"Numeric","first_field_width":12,"second_field":"ATM
149
+ Reference No.","second_field_format":"Numeric","second_field_width":10},{"slug":"MET_CABLE","service_charge":"0.0","first_field":"Account
150
+ Number","first_field_format":"Numeric","first_field_width":12,"second_field":"ATM
151
+ Reference No.","second_field_format":"Numeric","second_field_width":10},{"slug":"NORTHSTAR_CABLE","service_charge":"0.0","first_field":"Account
152
+ Number","first_field_format":"Numeric","first_field_width":12,"second_field":"ATM
153
+ Reference No.","second_field_format":"Numeric","second_field_width":10},{"slug":"VERDANT_CABLE","service_charge":"0.0","first_field":"Account
154
+ Number","first_field_format":"Numeric","first_field_width":12,"second_field":"ATM
155
+ Reference No.","second_field_format":"Numeric","second_field_width":10},{"slug":"LEISURE_WORLD","service_charge":"0.0","first_field":"Account
156
+ Number","first_field_format":"Numeric","first_field_width":12,"second_field":"ATM
157
+ Reference No.","second_field_format":"Numeric","second_field_width":10},{"slug":"RMG","service_charge":"0.0","first_field":"Account
158
+ Number","first_field_format":"Numeric","first_field_width":12,"second_field":"ATM
159
+ Reference No.","second_field_format":"Numeric","second_field_width":14},{"slug":"CARISSA","service_charge":"0.0","first_field":"Account
160
+ Number","first_field_format":"Numeric","first_field_width":12,"second_field":"ATM
161
+ Reference No.","second_field_format":"Numeric","second_field_width":14},{"slug":"GLOBALLAND","service_charge":"0.0","first_field":"Account
162
+ Number","first_field_format":"Numeric","first_field_width":12,"second_field":"ATM
163
+ Reference No.","second_field_format":"Numeric","second_field_width":14},{"slug":"ABS_MOBILE","service_charge":"0.0","first_field":"Account
164
+ No.","first_field_format":"Alphanumeric","first_field_width":8,"second_field":"Phone
165
+ Number","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"HOME_CREDIT","service_charge":"15.0","first_field":"Contract
166
+ Number","first_field_format":"Alphanumeric","first_field_width":8,"second_field":"Subscriber
167
+ Name","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"GATE","service_charge":"0.0","first_field":"Account
168
+ ID","first_field_format":"Numeric","first_field_width":16,"second_field":"Subscriber
169
+ Name","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"LENDDO","service_charge":"0.0","first_field":"Loan
170
+ ID","first_field_format":"Numeric","first_field_width":10,"second_field":"Custome
171
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"LAGUNAWATER","service_charge":"0.0","first_field":"Contract
172
+ Account Number","first_field_format":"Numeric","first_field_width":8,"second_field":"Subscriber
173
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"AIRASIA","service_charge":"0.0","first_field":"Booking
174
+ Number","first_field_format":"Numeric","first_field_width":6,"second_field":"Customer
175
+ Contact Number","second_field_format":"Numeric","second_field_width":11},{"slug":"BAGUIO_WATER","service_charge":"5.0","first_field":"Account
176
+ Number","first_field_format":"Numeric","first_field_width":12,"second_field":"Subscriber
177
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"BPI_CREDITCARD","service_charge":"0.0","first_field":"Account
178
+ Number","first_field_format":"Numeric","first_field_width":16,"second_field":"Subscriber
179
+ Name","second_field_format":"Numeric","second_field_width":30},{"slug":"IRIGA_WATER","service_charge":"8.0","first_field":"Account
180
+ Number","first_field_format":"Numeric","first_field_width":11,"second_field":"Subscriber
181
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"CAMNORTE_WATER","service_charge":"5.0","first_field":"Account
182
+ Number","first_field_format":"Numeric","first_field_width":11,"second_field":"Subscriber
183
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"ANGELES_ELECTRIC","service_charge":"5.0","first_field":"ATM
184
+ Reference No.","first_field_format":"Numeric","first_field_width":16,"second_field":"Due
185
+ Date (mmddyyyy)","second_field_format":"Numeric","second_field_width":8},{"slug":"BP_WATERWORKS","service_charge":"0.0","first_field":"Account
186
+ Number","first_field_format":"Alphanumeric","first_field_width":12,"second_field":"Subscriber
187
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"GOODHANDS_WATER","service_charge":"0.0","first_field":"Account
188
+ Number","first_field_format":"Alphanumeric","first_field_width":12,"second_field":"Subscriber
189
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"HAPPYWELL","service_charge":"0.0","first_field":"Account
190
+ Number","first_field_format":"Alphanumeric","first_field_width":12,"second_field":"Subscriber
191
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"ICONNEX","service_charge":"15.0","first_field":"Member
192
+ ID","first_field_format":"Numeric","first_field_width":18,"second_field":"Case
193
+ No.","second_field_format":"Numeric","second_field_width":16},{"slug":"METRO_FASTBET","service_charge":"12.0","first_field":"Account
194
+ Number","first_field_format":"Numeric","first_field_width":8,"second_field":"Subscriber
195
+ Name","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"SKYJET","service_charge":"0.0","first_field":"Reference
196
+ No.","first_field_format":"Alphanumeric","first_field_width":6,"second_field":"Customer
197
+ Contact Number","second_field_format":"Numeric","second_field_width":11},{"slug":"FIRST_PEAK","service_charge":"0.0","first_field":"Account
198
+ Number","first_field_format":"Numeric","first_field_width":12,"second_field":"ATM
199
+ Reference No.","second_field_format":"Numeric","second_field_width":14},{"slug":"CONVERGE_ICT","service_charge":"7.0","first_field":"Account
200
+ No.","first_field_format":"Numeric","first_field_width":13,"second_field":"Subscriber
201
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"ANGELES_CABLE","service_charge":"7.0","first_field":"Account
202
+ No.","first_field_format":"Numeric","first_field_width":13,"second_field":"Subscriber
203
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"CENTRAL_LUZON_CABLE","service_charge":"7.0","first_field":"Account
204
+ No.","first_field_format":"Numeric","first_field_width":13,"second_field":"Subscriber
205
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"HITECH_CABLE","service_charge":"7.0","first_field":"Account
206
+ No.","first_field_format":"Numeric","first_field_width":13,"second_field":"Subscriber
207
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"PRIMECAST_CABLE","service_charge":"7.0","first_field":"Account
208
+ No.","first_field_format":"Numeric","first_field_width":13,"second_field":"Subscriber
209
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"DARAGA_WATER","service_charge":"8.0","first_field":"Account
210
+ Number","first_field_format":"Numeric","first_field_width":9,"second_field":"Subscriber
211
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"PELCO2","service_charge":"5.0","first_field":"Account
212
+ Number","first_field_format":"Numeric","first_field_width":10,"second_field":"Subscriber
213
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"AUB_CREDITCARDS","service_charge":"0.0","first_field":"Account
214
+ Number","first_field_format":"Numeric","first_field_width":16,"second_field":"Subscriber
215
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"RS_PROPERTY","service_charge":"12.0","first_field":"Account
216
+ Number","first_field_format":"Numeric","first_field_width":12,"second_field":"Billing
217
+ No","second_field_format":"Numeric","second_field_width":12},{"slug":"CANORECO","service_charge":"0.0","first_field":"Account
218
+ Number","first_field_format":"Numeric","first_field_width":10,"second_field":"Subscriber
219
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"POEA","service_charge":"0.0","first_field":"Reference
220
+ Number","first_field_format":"Alphanumeric","first_field_width":8,"second_field":"Contact
221
+ Number","second_field_format":"Numeric","second_field_width":16},{"slug":"PROMO_ECPROTECT","service_charge":"0.0","first_field":"Promo
222
+ Code 1 (Ref No.)","first_field_format":"Alphanumeric","first_field_width":12,"second_field":"Promo
223
+ Code 2 (Ref No.)","second_field_format":"Alphanumeric","second_field_width":12},{"slug":"PROMO_NCCC","service_charge":"0.0","first_field":"Promo
224
+ Code 1 (Ref No.)","first_field_format":"Alphanumeric","first_field_width":12,"second_field":"Promo
225
+ Code 2 (Ref No.)","second_field_format":"Alphanumeric","second_field_width":12},{"slug":"PHILSMILE","service_charge":"20.0","first_field":"Student
226
+ No.","first_field_format":"Alphanumeric","first_field_width":16,"second_field":"School
227
+ Name","second_field_format":"Alphanumeric","second_field_width":32},{"slug":"PENELCO","service_charge":"5.0","first_field":"Account
228
+ Number","first_field_format":"Numeric","first_field_width":10,"second_field":"Subscriber
229
+ Name","second_field_format":"Alphanumeric","second_field_width":32},{"slug":"HONEYCOMB","service_charge":"5.0","first_field":"Account
230
+ No. / ID Code","first_field_format":"Alphanumeric","first_field_width":10,"second_field":"Subscriber
231
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"ROYALCABLE","service_charge":"0.0","first_field":"Contract
232
+ No.","first_field_format":"Numeric","first_field_width":6,"second_field":"Subscriber
233
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"INEC","service_charge":"5.0","first_field":"Account
234
+ Number","first_field_format":"Numeric","first_field_width":10,"second_field":"Subscriber
235
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"SANCLEMENTE_CABLE","service_charge":"7.0","first_field":"Account
236
+ Number","first_field_format":"Numeric","first_field_width":13,"second_field":"Subscriber
237
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"GOLDEN_EAGLE_CABLE","service_charge":"7.0","first_field":"Account
238
+ Number","first_field_format":"Numeric","first_field_width":13,"second_field":"Subscriber
239
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"CALUMPIT_WATER","service_charge":"8.0","first_field":"Account
240
+ Number","first_field_format":"Alphanumeric","first_field_width":7,"second_field":"Subscriber
241
+ Name","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"TARELCO2","service_charge":"5.0","first_field":"Account
242
+ No.","first_field_format":"Numeric","first_field_width":16,"second_field":"Subscriber
243
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"CEBUPACIFIC","service_charge":"8.0","first_field":"Booking
244
+ Ref Number *(12-DIGIT)","first_field_format":"Numeric","first_field_width":12,"second_field":"Contact
245
+ Number","second_field_format":"Numeric","second_field_width":16},{"slug":"NEECO2_AREA1","service_charge":"5.0","first_field":"Account
246
+ No.","first_field_format":"Numeric","first_field_width":10,"second_field":"Subscriber
247
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"COMCLARK","service_charge":"7.0","first_field":"Account
248
+ No.","first_field_format":"Numeric","first_field_width":13,"second_field":"Subscriber
249
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"DRAGONPAY","service_charge":"0.0","first_field":"Reference
250
+ Number","first_field_format":"Alphanumeric","first_field_width":8,"second_field":"Subscriber
251
+ Name","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"COCOLIFE","service_charge":"0.0","first_field":"Policy
252
+ Number","first_field_format":"Numeric","first_field_width":8,"second_field":"First
253
+ Name + Last Name","second_field_format":"Alphanumeric","second_field_width":40},{"slug":"TAGUM_WATER","service_charge":"5.0","first_field":"Account
254
+ Number","first_field_format":"Alphanumeric","first_field_width":6,"second_field":"Subscriber
255
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"MABALACAT_WATER","service_charge":"8.0","first_field":"Account
256
+ Number","first_field_format":"Alphanumeric","first_field_width":7,"second_field":"Subscriber
257
+ Name","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"NEECO2_AREA2","service_charge":"5.0","first_field":"Account
258
+ Number","first_field_format":"Numeric","first_field_width":10,"second_field":"Subscriber
259
+ Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"SKYCABLE","service_charge":"0.0","first_field":"Account
260
+ Number","first_field_format":"Numeric","first_field_width":9,"second_field":"Subscriber
261
+ Name (ex. JDELACRUZ)","second_field_format":"Alphanumeric","second_field_width":16},{"slug":"ILECO1","service_charge":"5.0","first_field":"Consumer
262
+ ID","first_field_format":"Numeric","first_field_width":10,"second_field":"Bill
263
+ Number (accept exact amount on or before due date only)","second_field_format":"Numeric","second_field_width":10},{"slug":"CHINATRUST","service_charge":"0.0","first_field":"Account
264
+ Number","first_field_format":"Numeric","first_field_width":16,"second_field":"Customer
265
+ Full Name","second_field_format":"Alphanumeric","second_field_width":30},{"slug":"AXA_PHIL","service_charge":"0.0","first_field":"Policy
266
+ No.","first_field_format":"Numeric","first_field_width":10,"second_field":"First
267
+ Name + Last Name + Contact No","second_field_format":"Alphanumeric","second_field_width":40}]'
268
+ http_version:
269
+ recorded_at: Fri, 29 Jul 2016 06:49:54 GMT
270
+ recorded_with: VCR 3.0.3