workarea-authorize_cim 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.editorconfig +20 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +37 -0
- data/.github/ISSUE_TEMPLATE/documentation-request.md +17 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- data/.gitignore +13 -0
- data/.rails-rubocop.yml +130 -0
- data/.rubocop.yml +13 -0
- data/CHANGELOG.md +90 -0
- data/CODE_OF_CONDUCT.md +3 -0
- data/CONTRIBUTING.md +3 -0
- data/Gemfile +12 -0
- data/LICENSE +52 -0
- data/LICENSE.md +3 -0
- data/README.md +40 -0
- data/Rakefile +50 -0
- data/app/errors/workarea/payment/create_profile_error.rb +19 -0
- data/app/models/workarea/payment.decorator +14 -0
- data/app/models/workarea/payment/authorize/credit_card.decorator +61 -0
- data/app/models/workarea/payment/capture/credit_card.decorator +38 -0
- data/app/models/workarea/payment/profile.decorator +169 -0
- data/app/models/workarea/payment/purchase/credit_card.decorator +61 -0
- data/app/models/workarea/payment/refund.decorator +19 -0
- data/app/models/workarea/payment/refund/credit_card.decorator +39 -0
- data/app/models/workarea/payment/store_credit_card.decorator +122 -0
- data/app/models/workarea/payment/tender/credit_card.decorator +25 -0
- data/app/models/workarea/payment/transaction.decorator +16 -0
- data/bin/rails +17 -0
- data/bin/rake +17 -0
- data/bin/rspec +17 -0
- data/bin/rubocop +17 -0
- data/config/initializers/configuration.rb +3 -0
- data/lib/active_merchant/billing/bogus_authorize_net_cim_gateway.rb +99 -0
- data/lib/workarea/authorize_cim.rb +47 -0
- data/lib/workarea/authorize_cim/engine.rb +10 -0
- data/lib/workarea/authorize_cim/error.rb +12 -0
- data/lib/workarea/authorize_cim/version.rb +7 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/config/manifest.js +4 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/concerns/.keep +0 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/jobs/application_job.rb +2 -0
- data/test/dummy/app/mailers/application_mailer.rb +4 -0
- data/test/dummy/app/models/concerns/.keep +0 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +34 -0
- data/test/dummy/bin/update +29 -0
- data/test/dummy/config.ru +5 -0
- data/test/dummy/config/application.rb +20 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/cable.yml +9 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +56 -0
- data/test/dummy/config/environments/production.rb +86 -0
- data/test/dummy/config/environments/test.rb +43 -0
- data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/new_framework_defaults.rb +21 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/workarea.rb +5 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/puma.rb +47 -0
- data/test/dummy/config/routes.rb +5 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config/spring.rb +6 -0
- data/test/dummy/db/seeds.rb +3 -0
- data/test/dummy/lib/assets/.keep +0 -0
- data/test/dummy/log/.keep +0 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/test/dummy/public/apple-touch-icon.png +0 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/factories/workarea/factories/authorize_cim_factory.rb +14 -0
- data/test/models/workarea/payment/authorize/credit_card_test.decorator +17 -0
- data/test/models/workarea/payment/authorize_cim_integration_test.rb +137 -0
- data/test/models/workarea/payment/capture/credit_card_test.decorator +80 -0
- data/test/models/workarea/payment/credit_card_integration_test.decorator +30 -0
- data/test/models/workarea/payment/profile_test.rb +60 -0
- data/test/models/workarea/payment/purchase/credit_card_test.decorator +17 -0
- data/test/models/workarea/payment/refund/credit_card_test.decorator +95 -0
- data/test/models/workarea/payment/refund_test.decorator +14 -0
- data/test/models/workarea/payment/store_credit_card_test.decorator +7 -0
- data/test/services/workarea/cancel_order_test.decorator +55 -0
- data/test/support/workarea/authorize_cim_gateway_duplicate_window_patch.rb +14 -0
- data/test/support/workarea/authorize_cim_gateway_vcr_config.rb +22 -0
- data/test/support/workarea/workarea_3_2_backports.rb +57 -0
- data/test/system/workarea/storefront/orders_system_test.decorator +28 -0
- data/test/test_helper.rb +17 -0
- data/test/vcr_cassettes/authorize_net_cim/auth_capture.yml +435 -0
- data/test/vcr_cassettes/authorize_net_cim/auth_void.yml +436 -0
- data/test/vcr_cassettes/authorize_net_cim/purchase_void.yml +436 -0
- data/test/vcr_cassettes/authorize_net_cim/store_auth.yml +371 -0
- data/test/vcr_cassettes/authorize_net_cim/store_purchase.yml +371 -0
- data/test/vcr_cassettes/credit_card/auth_capture.yml +438 -0
- data/test/vcr_cassettes/credit_card/auth_void.yml +439 -0
- data/test/vcr_cassettes/credit_card/purchase_void.yml +439 -0
- data/test/vcr_cassettes/credit_card/store_auth.yml +374 -0
- data/test/vcr_cassettes/credit_card/store_purchase.yml +374 -0
- data/test/workers/workarea/send_refund_email_test.decorator +70 -0
- data/workarea-authorize_cim.gemspec +27 -0
- metadata +187 -0
@@ -0,0 +1,371 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://apitest.authorize.net/xml/v1/request.api
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0" encoding="utf-8"?>
|
10
|
+
<createCustomerProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
|
11
|
+
<merchantAuthentication>
|
12
|
+
<name>a</name>
|
13
|
+
<transactionKey>b</transactionKey>
|
14
|
+
</merchantAuthentication>
|
15
|
+
<profile>
|
16
|
+
<email>user@workarea.com</email>
|
17
|
+
</profile>
|
18
|
+
</createCustomerProfileRequest>
|
19
|
+
headers:
|
20
|
+
Content-Type:
|
21
|
+
- text/xml
|
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
|
+
Cache-Control:
|
34
|
+
- private
|
35
|
+
Content-Type:
|
36
|
+
- application/xml; charset=utf-8
|
37
|
+
X-Opnet-Transaction-Trace:
|
38
|
+
- a2_cbfabbd8-e4c1-4b56-83ac-de8fa499f8f6-8108-862061
|
39
|
+
Access-Control-Allow-Origin:
|
40
|
+
- "*"
|
41
|
+
Access-Control-Allow-Methods:
|
42
|
+
- PUT,OPTIONS,POST,GET
|
43
|
+
Access-Control-Allow-Headers:
|
44
|
+
- x-requested-with,cache-control,content-type,origin,method,SOAPAction
|
45
|
+
Access-Control-Allow-Credentials:
|
46
|
+
- 'true'
|
47
|
+
X-Cnection:
|
48
|
+
- close
|
49
|
+
Content-Length:
|
50
|
+
- '503'
|
51
|
+
Date:
|
52
|
+
- Thu, 22 Feb 2018 18:42:23 GMT
|
53
|
+
Connection:
|
54
|
+
- keep-alive
|
55
|
+
body:
|
56
|
+
encoding: ASCII-8BIT
|
57
|
+
string: !binary |-
|
58
|
+
77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48Y3JlYXRlQ3VzdG9tZXJQcm9maWxlUmVzcG9uc2UgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeG1sbnM6eHNkPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSIgeG1sbnM9IkFuZXRBcGkveG1sL3YxL3NjaGVtYS9BbmV0QXBpU2NoZW1hLnhzZCI+PG1lc3NhZ2VzPjxyZXN1bHRDb2RlPkVycm9yPC9yZXN1bHRDb2RlPjxtZXNzYWdlPjxjb2RlPkUwMDAzOTwvY29kZT48dGV4dD5BIGR1cGxpY2F0ZSByZWNvcmQgd2l0aCBJRCAxODEzODc3NzkzIGFscmVhZHkgZXhpc3RzLjwvdGV4dD48L21lc3NhZ2U+PC9tZXNzYWdlcz48Y3VzdG9tZXJQYXltZW50UHJvZmlsZUlkTGlzdCAvPjxjdXN0b21lclNoaXBwaW5nQWRkcmVzc0lkTGlzdCAvPjx2YWxpZGF0aW9uRGlyZWN0UmVzcG9uc2VMaXN0IC8+PC9jcmVhdGVDdXN0b21lclByb2ZpbGVSZXNwb25zZT4=
|
59
|
+
http_version:
|
60
|
+
recorded_at: Thu, 22 Feb 2018 18:42:23 GMT
|
61
|
+
- request:
|
62
|
+
method: post
|
63
|
+
uri: https://apitest.authorize.net/xml/v1/request.api
|
64
|
+
body:
|
65
|
+
encoding: UTF-8
|
66
|
+
string: |
|
67
|
+
<?xml version="1.0" encoding="utf-8"?>
|
68
|
+
<getCustomerProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
|
69
|
+
<merchantAuthentication>
|
70
|
+
<name>a</name>
|
71
|
+
<transactionKey>b</transactionKey>
|
72
|
+
</merchantAuthentication>
|
73
|
+
<customerProfileId>1813877793</customerProfileId>
|
74
|
+
</getCustomerProfileRequest>
|
75
|
+
headers:
|
76
|
+
Content-Type:
|
77
|
+
- text/xml
|
78
|
+
Accept-Encoding:
|
79
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
80
|
+
Accept:
|
81
|
+
- "*/*"
|
82
|
+
User-Agent:
|
83
|
+
- Ruby
|
84
|
+
response:
|
85
|
+
status:
|
86
|
+
code: 200
|
87
|
+
message: OK
|
88
|
+
headers:
|
89
|
+
Cache-Control:
|
90
|
+
- private
|
91
|
+
Content-Type:
|
92
|
+
- application/xml; charset=utf-8
|
93
|
+
X-Opnet-Transaction-Trace:
|
94
|
+
- a2_cbfabbd8-e4c1-4b56-83ac-de8fa499f8f6-8108-862069
|
95
|
+
Access-Control-Allow-Origin:
|
96
|
+
- "*"
|
97
|
+
Access-Control-Allow-Methods:
|
98
|
+
- PUT,OPTIONS,POST,GET
|
99
|
+
Access-Control-Allow-Headers:
|
100
|
+
- x-requested-with,cache-control,content-type,origin,method,SOAPAction
|
101
|
+
Access-Control-Allow-Credentials:
|
102
|
+
- 'true'
|
103
|
+
X-Cnection:
|
104
|
+
- close
|
105
|
+
Content-Length:
|
106
|
+
- '895'
|
107
|
+
Date:
|
108
|
+
- Thu, 22 Feb 2018 18:42:23 GMT
|
109
|
+
Connection:
|
110
|
+
- keep-alive
|
111
|
+
body:
|
112
|
+
encoding: ASCII-8BIT
|
113
|
+
string: !binary |-
|
114
|
+
77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48Z2V0Q3VzdG9tZXJQcm9maWxlUmVzcG9uc2UgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeG1sbnM6eHNkPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSIgeG1sbnM9IkFuZXRBcGkveG1sL3YxL3NjaGVtYS9BbmV0QXBpU2NoZW1hLnhzZCI+PG1lc3NhZ2VzPjxyZXN1bHRDb2RlPk9rPC9yZXN1bHRDb2RlPjxtZXNzYWdlPjxjb2RlPkkwMDAwMTwvY29kZT48dGV4dD5TdWNjZXNzZnVsLjwvdGV4dD48L21lc3NhZ2U+PC9tZXNzYWdlcz48cHJvZmlsZT48ZW1haWw+dXNlckB3b3JrYXJlYS5jb208L2VtYWlsPjxjdXN0b21lclByb2ZpbGVJZD4xODEzODc3NzkzPC9jdXN0b21lclByb2ZpbGVJZD48cGF5bWVudFByb2ZpbGVzPjxiaWxsVG8+PGZpcnN0TmFtZT5CZW48L2ZpcnN0TmFtZT48bGFzdE5hbWU+Q3JvdXNlPC9sYXN0TmFtZT48YWRkcmVzcz4yMiBzLiAzcmQgc3QuPC9hZGRyZXNzPjxjaXR5PlBoaWxhZGVscGhpYTwvY2l0eT48c3RhdGU+UEE8L3N0YXRlPjx6aXA+MTkxMDY8L3ppcD48Y291bnRyeT5Vbml0ZWQgU3RhdGVzIG9mIEFtZXJpY2E8L2NvdW50cnk+PC9iaWxsVG8+PGN1c3RvbWVyUGF5bWVudFByb2ZpbGVJZD4xODA4NTg4NjczPC9jdXN0b21lclBheW1lbnRQcm9maWxlSWQ+PHBheW1lbnQ+PGNyZWRpdENhcmQ+PGNhcmROdW1iZXI+WFhYWDExMTE8L2NhcmROdW1iZXI+PGV4cGlyYXRpb25EYXRlPlhYWFg8L2V4cGlyYXRpb25EYXRlPjxjYXJkVHlwZT5WaXNhPC9jYXJkVHlwZT48L2NyZWRpdENhcmQ+PC9wYXltZW50PjwvcGF5bWVudFByb2ZpbGVzPjwvcHJvZmlsZT48L2dldEN1c3RvbWVyUHJvZmlsZVJlc3BvbnNlPg==
|
115
|
+
http_version:
|
116
|
+
recorded_at: Thu, 22 Feb 2018 18:42:23 GMT
|
117
|
+
- request:
|
118
|
+
method: post
|
119
|
+
uri: https://apitest.authorize.net/xml/v1/request.api
|
120
|
+
body:
|
121
|
+
encoding: UTF-8
|
122
|
+
string: |
|
123
|
+
<?xml version="1.0" encoding="utf-8"?>
|
124
|
+
<getCustomerProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
|
125
|
+
<merchantAuthentication>
|
126
|
+
<name>a</name>
|
127
|
+
<transactionKey>b</transactionKey>
|
128
|
+
</merchantAuthentication>
|
129
|
+
<customerProfileId>1813877793</customerProfileId>
|
130
|
+
</getCustomerProfileRequest>
|
131
|
+
headers:
|
132
|
+
Content-Type:
|
133
|
+
- text/xml
|
134
|
+
Accept-Encoding:
|
135
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
136
|
+
Accept:
|
137
|
+
- "*/*"
|
138
|
+
User-Agent:
|
139
|
+
- Ruby
|
140
|
+
response:
|
141
|
+
status:
|
142
|
+
code: 200
|
143
|
+
message: OK
|
144
|
+
headers:
|
145
|
+
Cache-Control:
|
146
|
+
- private
|
147
|
+
Content-Type:
|
148
|
+
- application/xml; charset=utf-8
|
149
|
+
X-Opnet-Transaction-Trace:
|
150
|
+
- a2_e3ca430f-8807-4f8f-a4ca-adca08c0d9de-7896-853193
|
151
|
+
Access-Control-Allow-Origin:
|
152
|
+
- "*"
|
153
|
+
Access-Control-Allow-Methods:
|
154
|
+
- PUT,OPTIONS,POST,GET
|
155
|
+
Access-Control-Allow-Headers:
|
156
|
+
- x-requested-with,cache-control,content-type,origin,method,SOAPAction
|
157
|
+
Access-Control-Allow-Credentials:
|
158
|
+
- 'true'
|
159
|
+
X-Cnection:
|
160
|
+
- close
|
161
|
+
Content-Length:
|
162
|
+
- '895'
|
163
|
+
Date:
|
164
|
+
- Thu, 22 Feb 2018 18:42:24 GMT
|
165
|
+
Connection:
|
166
|
+
- keep-alive
|
167
|
+
body:
|
168
|
+
encoding: ASCII-8BIT
|
169
|
+
string: !binary |-
|
170
|
+
77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48Z2V0Q3VzdG9tZXJQcm9maWxlUmVzcG9uc2UgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeG1sbnM6eHNkPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSIgeG1sbnM9IkFuZXRBcGkveG1sL3YxL3NjaGVtYS9BbmV0QXBpU2NoZW1hLnhzZCI+PG1lc3NhZ2VzPjxyZXN1bHRDb2RlPk9rPC9yZXN1bHRDb2RlPjxtZXNzYWdlPjxjb2RlPkkwMDAwMTwvY29kZT48dGV4dD5TdWNjZXNzZnVsLjwvdGV4dD48L21lc3NhZ2U+PC9tZXNzYWdlcz48cHJvZmlsZT48ZW1haWw+dXNlckB3b3JrYXJlYS5jb208L2VtYWlsPjxjdXN0b21lclByb2ZpbGVJZD4xODEzODc3NzkzPC9jdXN0b21lclByb2ZpbGVJZD48cGF5bWVudFByb2ZpbGVzPjxiaWxsVG8+PGZpcnN0TmFtZT5CZW48L2ZpcnN0TmFtZT48bGFzdE5hbWU+Q3JvdXNlPC9sYXN0TmFtZT48YWRkcmVzcz4yMiBzLiAzcmQgc3QuPC9hZGRyZXNzPjxjaXR5PlBoaWxhZGVscGhpYTwvY2l0eT48c3RhdGU+UEE8L3N0YXRlPjx6aXA+MTkxMDY8L3ppcD48Y291bnRyeT5Vbml0ZWQgU3RhdGVzIG9mIEFtZXJpY2E8L2NvdW50cnk+PC9iaWxsVG8+PGN1c3RvbWVyUGF5bWVudFByb2ZpbGVJZD4xODA4NTg4NjczPC9jdXN0b21lclBheW1lbnRQcm9maWxlSWQ+PHBheW1lbnQ+PGNyZWRpdENhcmQ+PGNhcmROdW1iZXI+WFhYWDExMTE8L2NhcmROdW1iZXI+PGV4cGlyYXRpb25EYXRlPlhYWFg8L2V4cGlyYXRpb25EYXRlPjxjYXJkVHlwZT5WaXNhPC9jYXJkVHlwZT48L2NyZWRpdENhcmQ+PC9wYXltZW50PjwvcGF5bWVudFByb2ZpbGVzPjwvcHJvZmlsZT48L2dldEN1c3RvbWVyUHJvZmlsZVJlc3BvbnNlPg==
|
171
|
+
http_version:
|
172
|
+
recorded_at: Thu, 22 Feb 2018 18:42:24 GMT
|
173
|
+
- request:
|
174
|
+
method: post
|
175
|
+
uri: https://apitest.authorize.net/xml/v1/request.api
|
176
|
+
body:
|
177
|
+
encoding: UTF-8
|
178
|
+
string: |
|
179
|
+
<?xml version="1.0" encoding="utf-8"?>
|
180
|
+
<getCustomerPaymentProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
|
181
|
+
<merchantAuthentication>
|
182
|
+
<name>a</name>
|
183
|
+
<transactionKey>b</transactionKey>
|
184
|
+
</merchantAuthentication>
|
185
|
+
<customerProfileId>1813877793</customerProfileId>
|
186
|
+
<customerPaymentProfileId>1808588673</customerPaymentProfileId>
|
187
|
+
</getCustomerPaymentProfileRequest>
|
188
|
+
headers:
|
189
|
+
Content-Type:
|
190
|
+
- text/xml
|
191
|
+
Accept-Encoding:
|
192
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
193
|
+
Accept:
|
194
|
+
- "*/*"
|
195
|
+
User-Agent:
|
196
|
+
- Ruby
|
197
|
+
response:
|
198
|
+
status:
|
199
|
+
code: 200
|
200
|
+
message: OK
|
201
|
+
headers:
|
202
|
+
Cache-Control:
|
203
|
+
- private
|
204
|
+
Content-Type:
|
205
|
+
- application/xml; charset=utf-8
|
206
|
+
X-Opnet-Transaction-Trace:
|
207
|
+
- a2_e3ca430f-8807-4f8f-a4ca-adca08c0d9de-7896-853197
|
208
|
+
Access-Control-Allow-Origin:
|
209
|
+
- "*"
|
210
|
+
Access-Control-Allow-Methods:
|
211
|
+
- PUT,OPTIONS,POST,GET
|
212
|
+
Access-Control-Allow-Headers:
|
213
|
+
- x-requested-with,cache-control,content-type,origin,method,SOAPAction
|
214
|
+
Access-Control-Allow-Credentials:
|
215
|
+
- 'true'
|
216
|
+
X-Cnection:
|
217
|
+
- close
|
218
|
+
Content-Length:
|
219
|
+
- '856'
|
220
|
+
Date:
|
221
|
+
- Thu, 22 Feb 2018 18:42:24 GMT
|
222
|
+
Connection:
|
223
|
+
- keep-alive
|
224
|
+
body:
|
225
|
+
encoding: ASCII-8BIT
|
226
|
+
string: !binary |-
|
227
|
+
77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48Z2V0Q3VzdG9tZXJQYXltZW50UHJvZmlsZVJlc3BvbnNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zPSJBbmV0QXBpL3htbC92MS9zY2hlbWEvQW5ldEFwaVNjaGVtYS54c2QiPjxtZXNzYWdlcz48cmVzdWx0Q29kZT5PazwvcmVzdWx0Q29kZT48bWVzc2FnZT48Y29kZT5JMDAwMDE8L2NvZGU+PHRleHQ+U3VjY2Vzc2Z1bC48L3RleHQ+PC9tZXNzYWdlPjwvbWVzc2FnZXM+PHBheW1lbnRQcm9maWxlPjxiaWxsVG8+PGZpcnN0TmFtZT5CZW48L2ZpcnN0TmFtZT48bGFzdE5hbWU+Q3JvdXNlPC9sYXN0TmFtZT48YWRkcmVzcz4yMiBzLiAzcmQgc3QuPC9hZGRyZXNzPjxjaXR5PlBoaWxhZGVscGhpYTwvY2l0eT48c3RhdGU+UEE8L3N0YXRlPjx6aXA+MTkxMDY8L3ppcD48Y291bnRyeT5Vbml0ZWQgU3RhdGVzIG9mIEFtZXJpY2E8L2NvdW50cnk+PC9iaWxsVG8+PGN1c3RvbWVyUHJvZmlsZUlkPjE4MTM4Nzc3OTM8L2N1c3RvbWVyUHJvZmlsZUlkPjxjdXN0b21lclBheW1lbnRQcm9maWxlSWQ+MTgwODU4ODY3MzwvY3VzdG9tZXJQYXltZW50UHJvZmlsZUlkPjxwYXltZW50PjxjcmVkaXRDYXJkPjxjYXJkTnVtYmVyPlhYWFgxMTExPC9jYXJkTnVtYmVyPjxleHBpcmF0aW9uRGF0ZT5YWFhYPC9leHBpcmF0aW9uRGF0ZT48Y2FyZFR5cGU+VmlzYTwvY2FyZFR5cGU+PC9jcmVkaXRDYXJkPjwvcGF5bWVudD48L3BheW1lbnRQcm9maWxlPjwvZ2V0Q3VzdG9tZXJQYXltZW50UHJvZmlsZVJlc3BvbnNlPg==
|
228
|
+
http_version:
|
229
|
+
recorded_at: Thu, 22 Feb 2018 18:42:24 GMT
|
230
|
+
- request:
|
231
|
+
method: post
|
232
|
+
uri: https://apitest.authorize.net/xml/v1/request.api
|
233
|
+
body:
|
234
|
+
encoding: UTF-8
|
235
|
+
string: |
|
236
|
+
<?xml version="1.0" encoding="utf-8"?>
|
237
|
+
<updateCustomerPaymentProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
|
238
|
+
<merchantAuthentication>
|
239
|
+
<name>a</name>
|
240
|
+
<transactionKey>b</transactionKey>
|
241
|
+
</merchantAuthentication>
|
242
|
+
<customerProfileId>1813877793</customerProfileId>
|
243
|
+
<paymentProfile>
|
244
|
+
<billTo>
|
245
|
+
<firstName>Ben</firstName>
|
246
|
+
<lastName>Crouse</lastName>
|
247
|
+
<company/>
|
248
|
+
<address>22 s. 3rd st.</address>
|
249
|
+
<city>Philadelphia</city>
|
250
|
+
<state>PA</state>
|
251
|
+
<zip>19106</zip>
|
252
|
+
<country>United States of America</country>
|
253
|
+
</billTo>
|
254
|
+
<payment>
|
255
|
+
<creditCard>
|
256
|
+
<cardNumber>XXXX1111</cardNumber>
|
257
|
+
<expirationDate>2019-01</expirationDate>
|
258
|
+
<cardCode>999</cardCode>
|
259
|
+
</creditCard>
|
260
|
+
</payment>
|
261
|
+
<customerPaymentProfileId>1808588673</customerPaymentProfileId>
|
262
|
+
</paymentProfile>
|
263
|
+
</updateCustomerPaymentProfileRequest>
|
264
|
+
headers:
|
265
|
+
Content-Type:
|
266
|
+
- text/xml
|
267
|
+
Accept-Encoding:
|
268
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
269
|
+
Accept:
|
270
|
+
- "*/*"
|
271
|
+
User-Agent:
|
272
|
+
- Ruby
|
273
|
+
response:
|
274
|
+
status:
|
275
|
+
code: 200
|
276
|
+
message: OK
|
277
|
+
headers:
|
278
|
+
Cache-Control:
|
279
|
+
- private
|
280
|
+
Content-Type:
|
281
|
+
- application/xml; charset=utf-8
|
282
|
+
X-Opnet-Transaction-Trace:
|
283
|
+
- a2_e3ca430f-8807-4f8f-a4ca-adca08c0d9de-7896-853201
|
284
|
+
Access-Control-Allow-Origin:
|
285
|
+
- "*"
|
286
|
+
Access-Control-Allow-Methods:
|
287
|
+
- PUT,OPTIONS,POST,GET
|
288
|
+
Access-Control-Allow-Headers:
|
289
|
+
- x-requested-with,cache-control,content-type,origin,method,SOAPAction
|
290
|
+
Access-Control-Allow-Credentials:
|
291
|
+
- 'true'
|
292
|
+
X-Cnection:
|
293
|
+
- close
|
294
|
+
Content-Length:
|
295
|
+
- '375'
|
296
|
+
Date:
|
297
|
+
- Thu, 22 Feb 2018 18:42:25 GMT
|
298
|
+
Connection:
|
299
|
+
- keep-alive
|
300
|
+
body:
|
301
|
+
encoding: ASCII-8BIT
|
302
|
+
string: !binary |-
|
303
|
+
77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48dXBkYXRlQ3VzdG9tZXJQYXltZW50UHJvZmlsZVJlc3BvbnNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zPSJBbmV0QXBpL3htbC92MS9zY2hlbWEvQW5ldEFwaVNjaGVtYS54c2QiPjxtZXNzYWdlcz48cmVzdWx0Q29kZT5PazwvcmVzdWx0Q29kZT48bWVzc2FnZT48Y29kZT5JMDAwMDE8L2NvZGU+PHRleHQ+U3VjY2Vzc2Z1bC48L3RleHQ+PC9tZXNzYWdlPjwvbWVzc2FnZXM+PC91cGRhdGVDdXN0b21lclBheW1lbnRQcm9maWxlUmVzcG9uc2U+
|
304
|
+
http_version:
|
305
|
+
recorded_at: Thu, 22 Feb 2018 18:42:25 GMT
|
306
|
+
- request:
|
307
|
+
method: post
|
308
|
+
uri: https://apitest.authorize.net/xml/v1/request.api
|
309
|
+
body:
|
310
|
+
encoding: UTF-8
|
311
|
+
string: |
|
312
|
+
<?xml version="1.0" encoding="utf-8"?>
|
313
|
+
<createCustomerProfileTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
|
314
|
+
<merchantAuthentication>
|
315
|
+
<name>a</name>
|
316
|
+
<transactionKey>b</transactionKey>
|
317
|
+
</merchantAuthentication>
|
318
|
+
<transaction>
|
319
|
+
<profileTransAuthOnly>
|
320
|
+
<amount>5.0</amount>
|
321
|
+
<customerProfileId>1813877793</customerProfileId>
|
322
|
+
<customerPaymentProfileId>1808588673</customerPaymentProfileId>
|
323
|
+
</profileTransAuthOnly>
|
324
|
+
</transaction>
|
325
|
+
<extraOptions>
|
326
|
+
<![CDATA[x_duplicate_window=0]]>
|
327
|
+
</extraOptions>
|
328
|
+
</createCustomerProfileTransactionRequest>
|
329
|
+
headers:
|
330
|
+
Content-Type:
|
331
|
+
- text/xml
|
332
|
+
Accept-Encoding:
|
333
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
334
|
+
Accept:
|
335
|
+
- "*/*"
|
336
|
+
User-Agent:
|
337
|
+
- Ruby
|
338
|
+
response:
|
339
|
+
status:
|
340
|
+
code: 200
|
341
|
+
message: OK
|
342
|
+
headers:
|
343
|
+
Cache-Control:
|
344
|
+
- private
|
345
|
+
Content-Type:
|
346
|
+
- application/xml; charset=utf-8
|
347
|
+
X-Opnet-Transaction-Trace:
|
348
|
+
- a2_cbfabbd8-e4c1-4b56-83ac-de8fa499f8f6-8108-862091
|
349
|
+
Access-Control-Allow-Origin:
|
350
|
+
- "*"
|
351
|
+
Access-Control-Allow-Methods:
|
352
|
+
- PUT,OPTIONS,POST,GET
|
353
|
+
Access-Control-Allow-Headers:
|
354
|
+
- x-requested-with,cache-control,content-type,origin,method,SOAPAction
|
355
|
+
Access-Control-Allow-Credentials:
|
356
|
+
- 'true'
|
357
|
+
X-Cnection:
|
358
|
+
- close
|
359
|
+
Content-Length:
|
360
|
+
- '683'
|
361
|
+
Date:
|
362
|
+
- Thu, 22 Feb 2018 18:42:27 GMT
|
363
|
+
Connection:
|
364
|
+
- keep-alive
|
365
|
+
body:
|
366
|
+
encoding: ASCII-8BIT
|
367
|
+
string: !binary |-
|
368
|
+
77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48Y3JlYXRlQ3VzdG9tZXJQcm9maWxlVHJhbnNhY3Rpb25SZXNwb25zZSB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxuczp4c2Q9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hIiB4bWxucz0iQW5ldEFwaS94bWwvdjEvc2NoZW1hL0FuZXRBcGlTY2hlbWEueHNkIj48bWVzc2FnZXM+PHJlc3VsdENvZGU+T2s8L3Jlc3VsdENvZGU+PG1lc3NhZ2U+PGNvZGU+STAwMDAxPC9jb2RlPjx0ZXh0PlN1Y2Nlc3NmdWwuPC90ZXh0PjwvbWVzc2FnZT48L21lc3NhZ2VzPjxkaXJlY3RSZXNwb25zZT4xLDEsMSxUaGlzIHRyYW5zYWN0aW9uIGhhcyBiZWVuIGFwcHJvdmVkLiwyM0tHSjUsWSw2MDA0MTEzMDU1OCwsLDUuMDAsQ0MsYXV0aF9vbmx5LCxCZW4sQ3JvdXNlLCwyMiBzLiAzcmQgc3QuLFBoaWxhZGVscGhpYSxQQSwxOTEwNixVbml0ZWQgU3RhdGVzIG9mIEFtZXJpY2EsLCx1c2VyQHdvcmthcmVhLmNvbSwsLCwsLCwsLCwsLCwsMUU3NTFCQkEzODRDMjA4MUJDNEQ1MTE4MDk2REU3QUMsUCwyLCwsLCwsLCwsLCxYWFhYMTExMSxWaXNhLCwsLCwsLCwsLCwsLCwsLCw8L2RpcmVjdFJlc3BvbnNlPjwvY3JlYXRlQ3VzdG9tZXJQcm9maWxlVHJhbnNhY3Rpb25SZXNwb25zZT4=
|
369
|
+
http_version:
|
370
|
+
recorded_at: Thu, 22 Feb 2018 18:42:27 GMT
|
371
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,371 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://apitest.authorize.net/xml/v1/request.api
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0" encoding="utf-8"?>
|
10
|
+
<createCustomerProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
|
11
|
+
<merchantAuthentication>
|
12
|
+
<name>a</name>
|
13
|
+
<transactionKey>b</transactionKey>
|
14
|
+
</merchantAuthentication>
|
15
|
+
<profile>
|
16
|
+
<email>user@workarea.com</email>
|
17
|
+
</profile>
|
18
|
+
</createCustomerProfileRequest>
|
19
|
+
headers:
|
20
|
+
Content-Type:
|
21
|
+
- text/xml
|
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
|
+
Cache-Control:
|
34
|
+
- private
|
35
|
+
Content-Type:
|
36
|
+
- application/xml; charset=utf-8
|
37
|
+
X-Opnet-Transaction-Trace:
|
38
|
+
- a2_e3ca430f-8807-4f8f-a4ca-adca08c0d9de-7896-853214
|
39
|
+
Access-Control-Allow-Origin:
|
40
|
+
- "*"
|
41
|
+
Access-Control-Allow-Methods:
|
42
|
+
- PUT,OPTIONS,POST,GET
|
43
|
+
Access-Control-Allow-Headers:
|
44
|
+
- x-requested-with,cache-control,content-type,origin,method,SOAPAction
|
45
|
+
Access-Control-Allow-Credentials:
|
46
|
+
- 'true'
|
47
|
+
X-Cnection:
|
48
|
+
- close
|
49
|
+
Content-Length:
|
50
|
+
- '503'
|
51
|
+
Date:
|
52
|
+
- Thu, 22 Feb 2018 18:42:27 GMT
|
53
|
+
Connection:
|
54
|
+
- keep-alive
|
55
|
+
body:
|
56
|
+
encoding: ASCII-8BIT
|
57
|
+
string: !binary |-
|
58
|
+
77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48Y3JlYXRlQ3VzdG9tZXJQcm9maWxlUmVzcG9uc2UgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeG1sbnM6eHNkPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSIgeG1sbnM9IkFuZXRBcGkveG1sL3YxL3NjaGVtYS9BbmV0QXBpU2NoZW1hLnhzZCI+PG1lc3NhZ2VzPjxyZXN1bHRDb2RlPkVycm9yPC9yZXN1bHRDb2RlPjxtZXNzYWdlPjxjb2RlPkUwMDAzOTwvY29kZT48dGV4dD5BIGR1cGxpY2F0ZSByZWNvcmQgd2l0aCBJRCAxODEzODc3NzkzIGFscmVhZHkgZXhpc3RzLjwvdGV4dD48L21lc3NhZ2U+PC9tZXNzYWdlcz48Y3VzdG9tZXJQYXltZW50UHJvZmlsZUlkTGlzdCAvPjxjdXN0b21lclNoaXBwaW5nQWRkcmVzc0lkTGlzdCAvPjx2YWxpZGF0aW9uRGlyZWN0UmVzcG9uc2VMaXN0IC8+PC9jcmVhdGVDdXN0b21lclByb2ZpbGVSZXNwb25zZT4=
|
59
|
+
http_version:
|
60
|
+
recorded_at: Thu, 22 Feb 2018 18:42:27 GMT
|
61
|
+
- request:
|
62
|
+
method: post
|
63
|
+
uri: https://apitest.authorize.net/xml/v1/request.api
|
64
|
+
body:
|
65
|
+
encoding: UTF-8
|
66
|
+
string: |
|
67
|
+
<?xml version="1.0" encoding="utf-8"?>
|
68
|
+
<getCustomerProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
|
69
|
+
<merchantAuthentication>
|
70
|
+
<name>a</name>
|
71
|
+
<transactionKey>b</transactionKey>
|
72
|
+
</merchantAuthentication>
|
73
|
+
<customerProfileId>1813877793</customerProfileId>
|
74
|
+
</getCustomerProfileRequest>
|
75
|
+
headers:
|
76
|
+
Content-Type:
|
77
|
+
- text/xml
|
78
|
+
Accept-Encoding:
|
79
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
80
|
+
Accept:
|
81
|
+
- "*/*"
|
82
|
+
User-Agent:
|
83
|
+
- Ruby
|
84
|
+
response:
|
85
|
+
status:
|
86
|
+
code: 200
|
87
|
+
message: OK
|
88
|
+
headers:
|
89
|
+
Cache-Control:
|
90
|
+
- private
|
91
|
+
Content-Type:
|
92
|
+
- application/xml; charset=utf-8
|
93
|
+
X-Opnet-Transaction-Trace:
|
94
|
+
- a2_e3ca430f-8807-4f8f-a4ca-adca08c0d9de-7896-853218
|
95
|
+
Access-Control-Allow-Origin:
|
96
|
+
- "*"
|
97
|
+
Access-Control-Allow-Methods:
|
98
|
+
- PUT,OPTIONS,POST,GET
|
99
|
+
Access-Control-Allow-Headers:
|
100
|
+
- x-requested-with,cache-control,content-type,origin,method,SOAPAction
|
101
|
+
Access-Control-Allow-Credentials:
|
102
|
+
- 'true'
|
103
|
+
X-Cnection:
|
104
|
+
- close
|
105
|
+
Content-Length:
|
106
|
+
- '895'
|
107
|
+
Date:
|
108
|
+
- Thu, 22 Feb 2018 18:42:28 GMT
|
109
|
+
Connection:
|
110
|
+
- keep-alive
|
111
|
+
body:
|
112
|
+
encoding: ASCII-8BIT
|
113
|
+
string: !binary |-
|
114
|
+
77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48Z2V0Q3VzdG9tZXJQcm9maWxlUmVzcG9uc2UgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeG1sbnM6eHNkPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSIgeG1sbnM9IkFuZXRBcGkveG1sL3YxL3NjaGVtYS9BbmV0QXBpU2NoZW1hLnhzZCI+PG1lc3NhZ2VzPjxyZXN1bHRDb2RlPk9rPC9yZXN1bHRDb2RlPjxtZXNzYWdlPjxjb2RlPkkwMDAwMTwvY29kZT48dGV4dD5TdWNjZXNzZnVsLjwvdGV4dD48L21lc3NhZ2U+PC9tZXNzYWdlcz48cHJvZmlsZT48ZW1haWw+dXNlckB3b3JrYXJlYS5jb208L2VtYWlsPjxjdXN0b21lclByb2ZpbGVJZD4xODEzODc3NzkzPC9jdXN0b21lclByb2ZpbGVJZD48cGF5bWVudFByb2ZpbGVzPjxiaWxsVG8+PGZpcnN0TmFtZT5CZW48L2ZpcnN0TmFtZT48bGFzdE5hbWU+Q3JvdXNlPC9sYXN0TmFtZT48YWRkcmVzcz4yMiBzLiAzcmQgc3QuPC9hZGRyZXNzPjxjaXR5PlBoaWxhZGVscGhpYTwvY2l0eT48c3RhdGU+UEE8L3N0YXRlPjx6aXA+MTkxMDY8L3ppcD48Y291bnRyeT5Vbml0ZWQgU3RhdGVzIG9mIEFtZXJpY2E8L2NvdW50cnk+PC9iaWxsVG8+PGN1c3RvbWVyUGF5bWVudFByb2ZpbGVJZD4xODA4NTg4NjczPC9jdXN0b21lclBheW1lbnRQcm9maWxlSWQ+PHBheW1lbnQ+PGNyZWRpdENhcmQ+PGNhcmROdW1iZXI+WFhYWDExMTE8L2NhcmROdW1iZXI+PGV4cGlyYXRpb25EYXRlPlhYWFg8L2V4cGlyYXRpb25EYXRlPjxjYXJkVHlwZT5WaXNhPC9jYXJkVHlwZT48L2NyZWRpdENhcmQ+PC9wYXltZW50PjwvcGF5bWVudFByb2ZpbGVzPjwvcHJvZmlsZT48L2dldEN1c3RvbWVyUHJvZmlsZVJlc3BvbnNlPg==
|
115
|
+
http_version:
|
116
|
+
recorded_at: Thu, 22 Feb 2018 18:42:28 GMT
|
117
|
+
- request:
|
118
|
+
method: post
|
119
|
+
uri: https://apitest.authorize.net/xml/v1/request.api
|
120
|
+
body:
|
121
|
+
encoding: UTF-8
|
122
|
+
string: |
|
123
|
+
<?xml version="1.0" encoding="utf-8"?>
|
124
|
+
<getCustomerProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
|
125
|
+
<merchantAuthentication>
|
126
|
+
<name>a</name>
|
127
|
+
<transactionKey>b</transactionKey>
|
128
|
+
</merchantAuthentication>
|
129
|
+
<customerProfileId>1813877793</customerProfileId>
|
130
|
+
</getCustomerProfileRequest>
|
131
|
+
headers:
|
132
|
+
Content-Type:
|
133
|
+
- text/xml
|
134
|
+
Accept-Encoding:
|
135
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
136
|
+
Accept:
|
137
|
+
- "*/*"
|
138
|
+
User-Agent:
|
139
|
+
- Ruby
|
140
|
+
response:
|
141
|
+
status:
|
142
|
+
code: 200
|
143
|
+
message: OK
|
144
|
+
headers:
|
145
|
+
Cache-Control:
|
146
|
+
- private
|
147
|
+
Content-Type:
|
148
|
+
- application/xml; charset=utf-8
|
149
|
+
X-Opnet-Transaction-Trace:
|
150
|
+
- a2_cbfabbd8-e4c1-4b56-83ac-de8fa499f8f6-8108-862106
|
151
|
+
Access-Control-Allow-Origin:
|
152
|
+
- "*"
|
153
|
+
Access-Control-Allow-Methods:
|
154
|
+
- PUT,OPTIONS,POST,GET
|
155
|
+
Access-Control-Allow-Headers:
|
156
|
+
- x-requested-with,cache-control,content-type,origin,method,SOAPAction
|
157
|
+
Access-Control-Allow-Credentials:
|
158
|
+
- 'true'
|
159
|
+
X-Cnection:
|
160
|
+
- close
|
161
|
+
Content-Length:
|
162
|
+
- '895'
|
163
|
+
Date:
|
164
|
+
- Thu, 22 Feb 2018 18:42:29 GMT
|
165
|
+
Connection:
|
166
|
+
- keep-alive
|
167
|
+
body:
|
168
|
+
encoding: ASCII-8BIT
|
169
|
+
string: !binary |-
|
170
|
+
77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48Z2V0Q3VzdG9tZXJQcm9maWxlUmVzcG9uc2UgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeG1sbnM6eHNkPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSIgeG1sbnM9IkFuZXRBcGkveG1sL3YxL3NjaGVtYS9BbmV0QXBpU2NoZW1hLnhzZCI+PG1lc3NhZ2VzPjxyZXN1bHRDb2RlPk9rPC9yZXN1bHRDb2RlPjxtZXNzYWdlPjxjb2RlPkkwMDAwMTwvY29kZT48dGV4dD5TdWNjZXNzZnVsLjwvdGV4dD48L21lc3NhZ2U+PC9tZXNzYWdlcz48cHJvZmlsZT48ZW1haWw+dXNlckB3b3JrYXJlYS5jb208L2VtYWlsPjxjdXN0b21lclByb2ZpbGVJZD4xODEzODc3NzkzPC9jdXN0b21lclByb2ZpbGVJZD48cGF5bWVudFByb2ZpbGVzPjxiaWxsVG8+PGZpcnN0TmFtZT5CZW48L2ZpcnN0TmFtZT48bGFzdE5hbWU+Q3JvdXNlPC9sYXN0TmFtZT48YWRkcmVzcz4yMiBzLiAzcmQgc3QuPC9hZGRyZXNzPjxjaXR5PlBoaWxhZGVscGhpYTwvY2l0eT48c3RhdGU+UEE8L3N0YXRlPjx6aXA+MTkxMDY8L3ppcD48Y291bnRyeT5Vbml0ZWQgU3RhdGVzIG9mIEFtZXJpY2E8L2NvdW50cnk+PC9iaWxsVG8+PGN1c3RvbWVyUGF5bWVudFByb2ZpbGVJZD4xODA4NTg4NjczPC9jdXN0b21lclBheW1lbnRQcm9maWxlSWQ+PHBheW1lbnQ+PGNyZWRpdENhcmQ+PGNhcmROdW1iZXI+WFhYWDExMTE8L2NhcmROdW1iZXI+PGV4cGlyYXRpb25EYXRlPlhYWFg8L2V4cGlyYXRpb25EYXRlPjxjYXJkVHlwZT5WaXNhPC9jYXJkVHlwZT48L2NyZWRpdENhcmQ+PC9wYXltZW50PjwvcGF5bWVudFByb2ZpbGVzPjwvcHJvZmlsZT48L2dldEN1c3RvbWVyUHJvZmlsZVJlc3BvbnNlPg==
|
171
|
+
http_version:
|
172
|
+
recorded_at: Thu, 22 Feb 2018 18:42:29 GMT
|
173
|
+
- request:
|
174
|
+
method: post
|
175
|
+
uri: https://apitest.authorize.net/xml/v1/request.api
|
176
|
+
body:
|
177
|
+
encoding: UTF-8
|
178
|
+
string: |
|
179
|
+
<?xml version="1.0" encoding="utf-8"?>
|
180
|
+
<getCustomerPaymentProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
|
181
|
+
<merchantAuthentication>
|
182
|
+
<name>a</name>
|
183
|
+
<transactionKey>b</transactionKey>
|
184
|
+
</merchantAuthentication>
|
185
|
+
<customerProfileId>1813877793</customerProfileId>
|
186
|
+
<customerPaymentProfileId>1808588673</customerPaymentProfileId>
|
187
|
+
</getCustomerPaymentProfileRequest>
|
188
|
+
headers:
|
189
|
+
Content-Type:
|
190
|
+
- text/xml
|
191
|
+
Accept-Encoding:
|
192
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
193
|
+
Accept:
|
194
|
+
- "*/*"
|
195
|
+
User-Agent:
|
196
|
+
- Ruby
|
197
|
+
response:
|
198
|
+
status:
|
199
|
+
code: 200
|
200
|
+
message: OK
|
201
|
+
headers:
|
202
|
+
Cache-Control:
|
203
|
+
- private
|
204
|
+
Content-Type:
|
205
|
+
- application/xml; charset=utf-8
|
206
|
+
X-Opnet-Transaction-Trace:
|
207
|
+
- a2_cbfabbd8-e4c1-4b56-83ac-de8fa499f8f6-8108-862110
|
208
|
+
Access-Control-Allow-Origin:
|
209
|
+
- "*"
|
210
|
+
Access-Control-Allow-Methods:
|
211
|
+
- PUT,OPTIONS,POST,GET
|
212
|
+
Access-Control-Allow-Headers:
|
213
|
+
- x-requested-with,cache-control,content-type,origin,method,SOAPAction
|
214
|
+
Access-Control-Allow-Credentials:
|
215
|
+
- 'true'
|
216
|
+
X-Cnection:
|
217
|
+
- close
|
218
|
+
Content-Length:
|
219
|
+
- '856'
|
220
|
+
Date:
|
221
|
+
- Thu, 22 Feb 2018 18:42:29 GMT
|
222
|
+
Connection:
|
223
|
+
- keep-alive
|
224
|
+
body:
|
225
|
+
encoding: ASCII-8BIT
|
226
|
+
string: !binary |-
|
227
|
+
77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48Z2V0Q3VzdG9tZXJQYXltZW50UHJvZmlsZVJlc3BvbnNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zPSJBbmV0QXBpL3htbC92MS9zY2hlbWEvQW5ldEFwaVNjaGVtYS54c2QiPjxtZXNzYWdlcz48cmVzdWx0Q29kZT5PazwvcmVzdWx0Q29kZT48bWVzc2FnZT48Y29kZT5JMDAwMDE8L2NvZGU+PHRleHQ+U3VjY2Vzc2Z1bC48L3RleHQ+PC9tZXNzYWdlPjwvbWVzc2FnZXM+PHBheW1lbnRQcm9maWxlPjxiaWxsVG8+PGZpcnN0TmFtZT5CZW48L2ZpcnN0TmFtZT48bGFzdE5hbWU+Q3JvdXNlPC9sYXN0TmFtZT48YWRkcmVzcz4yMiBzLiAzcmQgc3QuPC9hZGRyZXNzPjxjaXR5PlBoaWxhZGVscGhpYTwvY2l0eT48c3RhdGU+UEE8L3N0YXRlPjx6aXA+MTkxMDY8L3ppcD48Y291bnRyeT5Vbml0ZWQgU3RhdGVzIG9mIEFtZXJpY2E8L2NvdW50cnk+PC9iaWxsVG8+PGN1c3RvbWVyUHJvZmlsZUlkPjE4MTM4Nzc3OTM8L2N1c3RvbWVyUHJvZmlsZUlkPjxjdXN0b21lclBheW1lbnRQcm9maWxlSWQ+MTgwODU4ODY3MzwvY3VzdG9tZXJQYXltZW50UHJvZmlsZUlkPjxwYXltZW50PjxjcmVkaXRDYXJkPjxjYXJkTnVtYmVyPlhYWFgxMTExPC9jYXJkTnVtYmVyPjxleHBpcmF0aW9uRGF0ZT5YWFhYPC9leHBpcmF0aW9uRGF0ZT48Y2FyZFR5cGU+VmlzYTwvY2FyZFR5cGU+PC9jcmVkaXRDYXJkPjwvcGF5bWVudD48L3BheW1lbnRQcm9maWxlPjwvZ2V0Q3VzdG9tZXJQYXltZW50UHJvZmlsZVJlc3BvbnNlPg==
|
228
|
+
http_version:
|
229
|
+
recorded_at: Thu, 22 Feb 2018 18:42:29 GMT
|
230
|
+
- request:
|
231
|
+
method: post
|
232
|
+
uri: https://apitest.authorize.net/xml/v1/request.api
|
233
|
+
body:
|
234
|
+
encoding: UTF-8
|
235
|
+
string: |
|
236
|
+
<?xml version="1.0" encoding="utf-8"?>
|
237
|
+
<updateCustomerPaymentProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
|
238
|
+
<merchantAuthentication>
|
239
|
+
<name>a</name>
|
240
|
+
<transactionKey>b</transactionKey>
|
241
|
+
</merchantAuthentication>
|
242
|
+
<customerProfileId>1813877793</customerProfileId>
|
243
|
+
<paymentProfile>
|
244
|
+
<billTo>
|
245
|
+
<firstName>Ben</firstName>
|
246
|
+
<lastName>Crouse</lastName>
|
247
|
+
<company/>
|
248
|
+
<address>22 s. 3rd st.</address>
|
249
|
+
<city>Philadelphia</city>
|
250
|
+
<state>PA</state>
|
251
|
+
<zip>19106</zip>
|
252
|
+
<country>United States of America</country>
|
253
|
+
</billTo>
|
254
|
+
<payment>
|
255
|
+
<creditCard>
|
256
|
+
<cardNumber>XXXX1111</cardNumber>
|
257
|
+
<expirationDate>2019-01</expirationDate>
|
258
|
+
<cardCode>999</cardCode>
|
259
|
+
</creditCard>
|
260
|
+
</payment>
|
261
|
+
<customerPaymentProfileId>1808588673</customerPaymentProfileId>
|
262
|
+
</paymentProfile>
|
263
|
+
</updateCustomerPaymentProfileRequest>
|
264
|
+
headers:
|
265
|
+
Content-Type:
|
266
|
+
- text/xml
|
267
|
+
Accept-Encoding:
|
268
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
269
|
+
Accept:
|
270
|
+
- "*/*"
|
271
|
+
User-Agent:
|
272
|
+
- Ruby
|
273
|
+
response:
|
274
|
+
status:
|
275
|
+
code: 200
|
276
|
+
message: OK
|
277
|
+
headers:
|
278
|
+
Cache-Control:
|
279
|
+
- private
|
280
|
+
Content-Type:
|
281
|
+
- application/xml; charset=utf-8
|
282
|
+
X-Opnet-Transaction-Trace:
|
283
|
+
- a2_cbfabbd8-e4c1-4b56-83ac-de8fa499f8f6-8108-862116
|
284
|
+
Access-Control-Allow-Origin:
|
285
|
+
- "*"
|
286
|
+
Access-Control-Allow-Methods:
|
287
|
+
- PUT,OPTIONS,POST,GET
|
288
|
+
Access-Control-Allow-Headers:
|
289
|
+
- x-requested-with,cache-control,content-type,origin,method,SOAPAction
|
290
|
+
Access-Control-Allow-Credentials:
|
291
|
+
- 'true'
|
292
|
+
X-Cnection:
|
293
|
+
- close
|
294
|
+
Content-Length:
|
295
|
+
- '375'
|
296
|
+
Date:
|
297
|
+
- Thu, 22 Feb 2018 18:42:30 GMT
|
298
|
+
Connection:
|
299
|
+
- keep-alive
|
300
|
+
body:
|
301
|
+
encoding: ASCII-8BIT
|
302
|
+
string: !binary |-
|
303
|
+
77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48dXBkYXRlQ3VzdG9tZXJQYXltZW50UHJvZmlsZVJlc3BvbnNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zPSJBbmV0QXBpL3htbC92MS9zY2hlbWEvQW5ldEFwaVNjaGVtYS54c2QiPjxtZXNzYWdlcz48cmVzdWx0Q29kZT5PazwvcmVzdWx0Q29kZT48bWVzc2FnZT48Y29kZT5JMDAwMDE8L2NvZGU+PHRleHQ+U3VjY2Vzc2Z1bC48L3RleHQ+PC9tZXNzYWdlPjwvbWVzc2FnZXM+PC91cGRhdGVDdXN0b21lclBheW1lbnRQcm9maWxlUmVzcG9uc2U+
|
304
|
+
http_version:
|
305
|
+
recorded_at: Thu, 22 Feb 2018 18:42:30 GMT
|
306
|
+
- request:
|
307
|
+
method: post
|
308
|
+
uri: https://apitest.authorize.net/xml/v1/request.api
|
309
|
+
body:
|
310
|
+
encoding: UTF-8
|
311
|
+
string: |
|
312
|
+
<?xml version="1.0" encoding="utf-8"?>
|
313
|
+
<createCustomerProfileTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
|
314
|
+
<merchantAuthentication>
|
315
|
+
<name>a</name>
|
316
|
+
<transactionKey>b</transactionKey>
|
317
|
+
</merchantAuthentication>
|
318
|
+
<transaction>
|
319
|
+
<profileTransAuthCapture>
|
320
|
+
<amount>5.0</amount>
|
321
|
+
<customerProfileId>1813877793</customerProfileId>
|
322
|
+
<customerPaymentProfileId>1808588673</customerPaymentProfileId>
|
323
|
+
</profileTransAuthCapture>
|
324
|
+
</transaction>
|
325
|
+
<extraOptions>
|
326
|
+
<![CDATA[x_duplicate_window=0]]>
|
327
|
+
</extraOptions>
|
328
|
+
</createCustomerProfileTransactionRequest>
|
329
|
+
headers:
|
330
|
+
Content-Type:
|
331
|
+
- text/xml
|
332
|
+
Accept-Encoding:
|
333
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
334
|
+
Accept:
|
335
|
+
- "*/*"
|
336
|
+
User-Agent:
|
337
|
+
- Ruby
|
338
|
+
response:
|
339
|
+
status:
|
340
|
+
code: 200
|
341
|
+
message: OK
|
342
|
+
headers:
|
343
|
+
Cache-Control:
|
344
|
+
- private
|
345
|
+
Content-Type:
|
346
|
+
- application/xml; charset=utf-8
|
347
|
+
X-Opnet-Transaction-Trace:
|
348
|
+
- a2_e3ca430f-8807-4f8f-a4ca-adca08c0d9de-7896-853234
|
349
|
+
Access-Control-Allow-Origin:
|
350
|
+
- "*"
|
351
|
+
Access-Control-Allow-Methods:
|
352
|
+
- PUT,OPTIONS,POST,GET
|
353
|
+
Access-Control-Allow-Headers:
|
354
|
+
- x-requested-with,cache-control,content-type,origin,method,SOAPAction
|
355
|
+
Access-Control-Allow-Credentials:
|
356
|
+
- 'true'
|
357
|
+
X-Cnection:
|
358
|
+
- close
|
359
|
+
Content-Length:
|
360
|
+
- '686'
|
361
|
+
Date:
|
362
|
+
- Thu, 22 Feb 2018 18:42:31 GMT
|
363
|
+
Connection:
|
364
|
+
- keep-alive
|
365
|
+
body:
|
366
|
+
encoding: ASCII-8BIT
|
367
|
+
string: !binary |-
|
368
|
+
77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48Y3JlYXRlQ3VzdG9tZXJQcm9maWxlVHJhbnNhY3Rpb25SZXNwb25zZSB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxuczp4c2Q9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hIiB4bWxucz0iQW5ldEFwaS94bWwvdjEvc2NoZW1hL0FuZXRBcGlTY2hlbWEueHNkIj48bWVzc2FnZXM+PHJlc3VsdENvZGU+T2s8L3Jlc3VsdENvZGU+PG1lc3NhZ2U+PGNvZGU+STAwMDAxPC9jb2RlPjx0ZXh0PlN1Y2Nlc3NmdWwuPC90ZXh0PjwvbWVzc2FnZT48L21lc3NhZ2VzPjxkaXJlY3RSZXNwb25zZT4xLDEsMSxUaGlzIHRyYW5zYWN0aW9uIGhhcyBiZWVuIGFwcHJvdmVkLixJQlZPMlEsWSw2MDA0MTEzMDU2MSwsLDUuMDAsQ0MsYXV0aF9jYXB0dXJlLCxCZW4sQ3JvdXNlLCwyMiBzLiAzcmQgc3QuLFBoaWxhZGVscGhpYSxQQSwxOTEwNixVbml0ZWQgU3RhdGVzIG9mIEFtZXJpY2EsLCx1c2VyQHdvcmthcmVhLmNvbSwsLCwsLCwsLCwsLCwsNDU5Q0I1RkYxMkNGNDVEOEE0N0M5MEIyMDNERTc1N0YsUCwyLCwsLCwsLCwsLCxYWFhYMTExMSxWaXNhLCwsLCwsLCwsLCwsLCwsLCw8L2RpcmVjdFJlc3BvbnNlPjwvY3JlYXRlQ3VzdG9tZXJQcm9maWxlVHJhbnNhY3Rpb25SZXNwb25zZT4=
|
369
|
+
http_version:
|
370
|
+
recorded_at: Thu, 22 Feb 2018 18:42:31 GMT
|
371
|
+
recorded_with: VCR 2.9.3
|