nimbleshop_core 0.0.5 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/javascripts/admin.js +6 -4
- data/app/assets/javascripts/admin/payment_method.js.coffee +26 -0
- data/app/assets/javascripts/{product-group-condition.js.coffee → admin/product-group-condition.js.coffee} +0 -0
- data/app/assets/javascripts/admin/products/edit.js.coffee +26 -13
- data/app/assets/javascripts/admin/shipit.js.coffee +10 -0
- data/app/assets/javascripts/{fadeout_success.js.coffee → admin/utils/fadeout_success.js.coffee} +0 -0
- data/app/assets/stylesheets/admin_custom.css +4 -4
- data/app/controllers/admin_controller.rb +1 -5
- data/app/models/order.rb +11 -6
- data/app/{observers/order_observer.rb → models/order/payment_transitions.rb} +7 -4
- data/app/views/admin/shipping_zones/_form.html.erb +1 -1
- data/app/views/mailer/shipment_notification_to_buyer.text.erb +1 -1
- data/config/routes.rb +4 -1
- data/db/migrate/{20111107035350_create_creditcard_transactions.rb → 20111107035350_create_payment_transactions.rb} +1 -1
- data/lib/generators/nimbleshop/app/install_generator.rb +1 -0
- data/lib/generators/nimbleshop/app/templates/config/initializers/001_load_nimbleshop_config.rb +10 -0
- data/lib/generators/nimbleshop/app/templates/config/initializers/setup_email.rb +2 -2
- data/lib/generators/nimbleshop/app/templates/config/nimbleshop.yml +2 -1
- data/lib/nimbleshop/engine.rb +5 -4
- data/lib/nimbleshop/nimbleshop/util.rb +63 -0
- data/lib/nimbleshop/processor/base.rb +9 -2
- data/lib/nimbleshop/sampledata/data.rb +14 -12
- data/lib/nimbleshop/version.rb +2 -2
- data/lib/nimbleshop_core.rb +3 -0
- data/test/factories/address_factory.rb +10 -10
- data/test/fixtures/payment_methods.yml +5 -5
- data/{config/initializers/001_settings_application.rb → test/myshop/config/initializers/001_load_nimbleshop_config.rb} +1 -1
- data/test/myshop/config/initializers/carrierwave.rb +2 -3
- data/test/myshop/config/initializers/secret_token.rb +1 -1
- data/test/myshop/config/initializers/setup_email.rb +4 -13
- data/test/myshop/config/nimbleshop.yml +14 -17
- data/test/myshop/db/development.sqlite3 +0 -0
- data/test/myshop/db/migrate/{20120707041905_create_product_groups.nimbleshop_core.rb → 20120717095234_create_product_groups.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041906_create_products.nimbleshop_core.rb → 20120717095235_create_products.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041907_create_orders.nimbleshop_core.rb → 20120717095236_create_orders.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041908_create_line_items.nimbleshop_core.rb → 20120717095237_create_line_items.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041909_create_shops.nimbleshop_core.rb → 20120717095238_create_shops.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041910_create_link_groups.nimbleshop_core.rb → 20120717095239_create_link_groups.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041911_create_navigations.nimbleshop_core.rb → 20120717095240_create_navigations.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041912_create_links.nimbleshop_core.rb → 20120717095241_create_links.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041913_create_custom_fields.nimbleshop_core.rb → 20120717095242_create_custom_fields.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041914_create_custom_field_answers.nimbleshop_core.rb → 20120717095243_create_custom_field_answers.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041915_create_product_group_conditions.nimbleshop_core.rb → 20120717095244_create_product_group_conditions.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041916_create_creditcard_transactions.nimbleshop_core.rb → 20120717095245_create_creditcard_transactions.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041917_create_addresses.nimbleshop_core.rb → 20120717095246_create_addresses.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041918_create_pictures.nimbleshop_core.rb → 20120717095247_create_pictures.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041919_create_shipping_methods.nimbleshop_core.rb → 20120717095248_create_shipping_methods.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041920_create_shipping_zones.nimbleshop_core.rb → 20120717095249_create_shipping_zones.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041921_create_payment_methods.nimbleshop_core.rb → 20120717095250_create_payment_methods.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041922_create_preferences.nimbleshop_core.rb → 20120717095251_create_preferences.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041923_create_shipments.nimbleshop_core.rb → 20120717095252_create_shipments.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041924_create_shipment_carriers.nimbleshop_core.rb → 20120717095253_create_shipment_carriers.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/migrate/{20120707041925_create_delayed_jobs.nimbleshop_core.rb → 20120717095254_create_delayed_jobs.nimbleshop_core.rb} +0 -0
- data/test/myshop/db/schema.rb +1 -1
- data/test/myshop/db/test.sqlite3 +0 -0
- data/test/myshop/log/development.log +3 -0
- data/test/support/shipping_method_test_helper.rb +1 -1
- data/test/test_helper.rb +1 -1
- metadata +85 -136
- data/app/assets/javascripts/payment_method.js.coffee +0 -19
- data/app/assets/javascripts/remove_deletion_of_product_pictures.js.coffee +0 -5
- data/app/assets/javascripts/shipit.js.coffee +0 -10
- data/app/mailers/mailer.rb +0 -31
- data/config/initializers/strip_and_nullify.rb +0 -13
- data/lib/nimbleshop/util.rb +0 -60
- data/test/integration/checkout/cart_acceptance_test.rb +0 -113
- data/test/integration/checkout/payment_confirmation_acceptance_test.rb +0 -24
- data/test/integration/checkout/paypal_acceptance_test.rb +0 -34
- data/test/integration/checkout/shipping_address_acceptance_test.rb +0 -91
- data/test/integration/checkout/shipping_method_acceptance_test.rb +0 -51
- data/test/integration/homepage_acceptance_test.rb +0 -24
- data/test/integration/products_acceptance_test.rb +0 -12
- data/test/integration/static_pages_acceptance_test.rb +0 -13
- data/test/mailers/mailer_test.rb +0 -25
- data/test/unit/payment_method/authorizedotnet_test.rb +0 -21
- data/test/unit/payment_method/paypalwp_test.rb +0 -17
- data/test/unit/payment_method/splitable_test.rb +0 -18
- data/test/unit/processor/authorize_net_test.rb +0 -236
- data/test/unit/processor/paypal_test.rb +0 -40
- data/test/unit/processor/splitable_test.rb +0 -123
- data/test/vcr_cassettes/authorize_net/authorize-failure.yml +0 -38
- data/test/vcr_cassettes/authorize_net/authorize-success.yml +0 -38
- data/test/vcr_cassettes/authorize_net/capture-failure.yml +0 -38
- data/test/vcr_cassettes/authorize_net/capture-success.yml +0 -38
- data/test/vcr_cassettes/authorize_net/purchase-failure.yml +0 -38
- data/test/vcr_cassettes/authorize_net/purchase-success.yml +0 -38
- data/test/vcr_cassettes/authorize_net/refund-failure.yml +0 -38
- data/test/vcr_cassettes/authorize_net/refund-success.yml +0 -38
- data/test/vcr_cassettes/authorize_net/void-authorize.yml +0 -38
- data/test/vcr_cassettes/authorize_net/void-failure.yml +0 -38
- data/test/vcr_cassettes/authorize_net/void-success.yml +0 -38
- data/test/vcr_cassettes/splitable/split-create-failure.yml +0 -48
- data/test/vcr_cassettes/splitable/split-create-success.yml +0 -50
- data/test/vcr_cassettes/splitable/split-draft-create-failure.yml +0 -50
- data/test/vcr_cassettes/splitable/split-draft-create-success.yml +0 -50
@@ -1,38 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://test.authorize.net/gateway/transact.dll
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: x_version=3.1&x_login=26Daqx7Jtw7R&x_tran_key=66JWf57KKc82W9y6&x_relay_response=FALSE&x_type=AUTH_ONLY&x_delim_data=TRUE&x_delim_char=%2C&x_encap_char=%24&x_invoice_num=&x_description=&x_card_num=2&x_card_code=123&x_exp_date=0413&x_first_name=Meda&x_last_name=McClure&x_amount=100.48&x_test_request=FALSE
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/x-www-form-urlencoded
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Connection:
|
22
|
-
- close
|
23
|
-
Date:
|
24
|
-
- Sun, 22 Apr 2012 14:59:28 GMT
|
25
|
-
Server:
|
26
|
-
- Microsoft-IIS/6.0
|
27
|
-
X-Powered-By:
|
28
|
-
- ASP.NET
|
29
|
-
Content-Type:
|
30
|
-
- text/html
|
31
|
-
Content-Length:
|
32
|
-
- "307"
|
33
|
-
body:
|
34
|
-
encoding: US-ASCII
|
35
|
-
string: $3$,$1$,$6$,$The credit card number is invalid.$,$$,$P$,$0$,$$,$$,$100.48$,$CC$,$auth_only$,$$,$Meda$,$McClure$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$82AF683896C71D9FCD99BE1D5AFFEEA8$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$XXXX2$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$
|
36
|
-
http_version:
|
37
|
-
recorded_at: Sun, 22 Apr 2012 14:59:28 GMT
|
38
|
-
recorded_with: VCR 2.0.0
|
@@ -1,38 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://test.authorize.net/gateway/transact.dll
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: x_version=3.1&x_login=26Daqx7Jtw7R&x_tran_key=66JWf57KKc82W9y6&x_relay_response=FALSE&x_type=AUTH_ONLY&x_delim_data=TRUE&x_delim_char=%2C&x_encap_char=%24&x_invoice_num=&x_description=&x_card_num=4007000000027&x_card_code=123&x_exp_date=0413&x_first_name=Clarabelle&x_last_name=Stiedemann&x_amount=100.48&x_test_request=FALSE
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/x-www-form-urlencoded
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Connection:
|
22
|
-
- close
|
23
|
-
Date:
|
24
|
-
- Sun, 22 Apr 2012 14:59:29 GMT
|
25
|
-
Server:
|
26
|
-
- Microsoft-IIS/6.0
|
27
|
-
X-Powered-By:
|
28
|
-
- ASP.NET
|
29
|
-
Content-Type:
|
30
|
-
- text/html
|
31
|
-
Content-Length:
|
32
|
-
- "341"
|
33
|
-
body:
|
34
|
-
encoding: US-ASCII
|
35
|
-
string: $1$,$1$,$1$,$This transaction has been approved.$,$FI4KFO$,$Y$,$2171213293$,$$,$$,$100.48$,$CC$,$auth_only$,$$,$Clarabelle$,$Stiedemann$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$C5FD3839F84A696E8F8727D8B387A800$,$P$,$2$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$XXXX0027$,$Visa$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$
|
36
|
-
http_version:
|
37
|
-
recorded_at: Sun, 22 Apr 2012 14:59:30 GMT
|
38
|
-
recorded_with: VCR 2.0.0
|
@@ -1,38 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://test.authorize.net/gateway/transact.dll
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: x_version=3.1&x_login=26Daqx7Jtw7R&x_tran_key=66JWf57KKc82W9y6&x_relay_response=FALSE&x_type=PRIOR_AUTH_CAPTURE&x_delim_data=TRUE&x_delim_char=%2C&x_encap_char=%24&x_trans_id=%7B%7D&x_amount=&x_test_request=FALSE
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/x-www-form-urlencoded
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Connection:
|
22
|
-
- close
|
23
|
-
Date:
|
24
|
-
- Sun, 22 Apr 2012 15:19:50 GMT
|
25
|
-
Server:
|
26
|
-
- Microsoft-IIS/6.0
|
27
|
-
X-Powered-By:
|
28
|
-
- ASP.NET
|
29
|
-
Content-Type:
|
30
|
-
- text/html
|
31
|
-
Content-Length:
|
32
|
-
- "311"
|
33
|
-
body:
|
34
|
-
encoding: US-ASCII
|
35
|
-
string: $3$,$2$,$33$,$A valid referenced transaction ID is required.$,$$,$P$,$0$,$$,$$,$0.00$,$CC$,$prior_auth_capture$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$E4D08D153C02147DACEF435A63672D69$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$
|
36
|
-
http_version:
|
37
|
-
recorded_at: Sun, 22 Apr 2012 15:19:50 GMT
|
38
|
-
recorded_with: VCR 2.0.0
|
@@ -1,38 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://test.authorize.net/gateway/transact.dll
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: x_version=3.1&x_login=26Daqx7Jtw7R&x_tran_key=66JWf57KKc82W9y6&x_relay_response=FALSE&x_type=PRIOR_AUTH_CAPTURE&x_delim_data=TRUE&x_delim_char=%2C&x_encap_char=%24&x_trans_id=2171213293&x_amount=100.48&x_test_request=FALSE
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/x-www-form-urlencoded
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Connection:
|
22
|
-
- close
|
23
|
-
Date:
|
24
|
-
- Sun, 22 Apr 2012 14:59:32 GMT
|
25
|
-
Server:
|
26
|
-
- Microsoft-IIS/6.0
|
27
|
-
X-Powered-By:
|
28
|
-
- ASP.NET
|
29
|
-
Content-Type:
|
30
|
-
- text/html
|
31
|
-
Content-Length:
|
32
|
-
- "315"
|
33
|
-
body:
|
34
|
-
encoding: US-ASCII
|
35
|
-
string: $1$,$1$,$311$,$This transaction has already been captured.$,$$,$P$,$0$,$$,$$,$100.48$,$CC$,$prior_auth_capture$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$82AF683896C71D9FCD99BE1D5AFFEEA8$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$Visa$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$
|
36
|
-
http_version:
|
37
|
-
recorded_at: Sun, 22 Apr 2012 14:59:33 GMT
|
38
|
-
recorded_with: VCR 2.0.0
|
@@ -1,38 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://test.authorize.net/gateway/transact.dll
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: x_version=3.1&x_login=26Daqx7Jtw7R&x_tran_key=66JWf57KKc82W9y6&x_relay_response=FALSE&x_type=AUTH_CAPTURE&x_delim_data=TRUE&x_delim_char=%2C&x_encap_char=%24&x_invoice_num=&x_description=&x_card_num=2&x_card_code=123&x_exp_date=0413&x_first_name=Nova&x_last_name=Weimann&x_amount=100.48&x_test_request=FALSE
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/x-www-form-urlencoded
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Connection:
|
22
|
-
- close
|
23
|
-
Date:
|
24
|
-
- Sun, 22 Apr 2012 14:59:34 GMT
|
25
|
-
Server:
|
26
|
-
- Microsoft-IIS/6.0
|
27
|
-
X-Powered-By:
|
28
|
-
- ASP.NET
|
29
|
-
Content-Type:
|
30
|
-
- text/html
|
31
|
-
Content-Length:
|
32
|
-
- "310"
|
33
|
-
body:
|
34
|
-
encoding: US-ASCII
|
35
|
-
string: $3$,$1$,$6$,$The credit card number is invalid.$,$$,$P$,$0$,$$,$$,$100.48$,$CC$,$auth_capture$,$$,$Nova$,$Weimann$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$82AF683896C71D9FCD99BE1D5AFFEEA8$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$XXXX2$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$
|
36
|
-
http_version:
|
37
|
-
recorded_at: Sun, 22 Apr 2012 14:59:34 GMT
|
38
|
-
recorded_with: VCR 2.0.0
|
@@ -1,38 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://test.authorize.net/gateway/transact.dll
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: x_version=3.1&x_login=26Daqx7Jtw7R&x_tran_key=66JWf57KKc82W9y6&x_relay_response=FALSE&x_type=AUTH_CAPTURE&x_delim_data=TRUE&x_delim_char=%2C&x_encap_char=%24&x_invoice_num=&x_description=&x_card_num=4007000000027&x_card_code=123&x_exp_date=0413&x_first_name=Elias&x_last_name=Goldner&x_amount=100.48&x_test_request=FALSE
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/x-www-form-urlencoded
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Connection:
|
22
|
-
- close
|
23
|
-
Date:
|
24
|
-
- Sun, 22 Apr 2012 14:59:35 GMT
|
25
|
-
Server:
|
26
|
-
- Microsoft-IIS/6.0
|
27
|
-
X-Powered-By:
|
28
|
-
- ASP.NET
|
29
|
-
Content-Type:
|
30
|
-
- text/html
|
31
|
-
Content-Length:
|
32
|
-
- "336"
|
33
|
-
body:
|
34
|
-
encoding: US-ASCII
|
35
|
-
string: $1$,$1$,$1$,$This transaction has been approved.$,$8XZB16$,$Y$,$2171213294$,$$,$$,$100.48$,$CC$,$auth_capture$,$$,$Elias$,$Goldner$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$B49F0B0B6E4EDB37B26F2618E8E3780A$,$P$,$2$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$XXXX0027$,$Visa$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$
|
36
|
-
http_version:
|
37
|
-
recorded_at: Sun, 22 Apr 2012 14:59:36 GMT
|
38
|
-
recorded_with: VCR 2.0.0
|
@@ -1,38 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://test.authorize.net/gateway/transact.dll
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: x_version=3.1&x_login=26Daqx7Jtw7R&x_tran_key=66JWf57KKc82W9y6&x_relay_response=FALSE&x_type=CREDIT&x_delim_data=TRUE&x_delim_char=%2C&x_encap_char=%24&x_trans_id=2171213294&x_card_num=1234&x_invoice_num=&x_description=&x_amount=100.48&x_test_request=FALSE
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/x-www-form-urlencoded
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Connection:
|
22
|
-
- close
|
23
|
-
Date:
|
24
|
-
- Wed, 02 May 2012 19:52:39 GMT
|
25
|
-
Server:
|
26
|
-
- Microsoft-IIS/6.0
|
27
|
-
X-Powered-By:
|
28
|
-
- ASP.NET
|
29
|
-
Content-Type:
|
30
|
-
- text/html
|
31
|
-
Content-Length:
|
32
|
-
- "342"
|
33
|
-
body:
|
34
|
-
encoding: US-ASCII
|
35
|
-
string: $3$,$2$,$54$,$The referenced transaction does not meet the criteria for issuing a credit.$,$$,$P$,$0$,$$,$$,$100.48$,$CC$,$credit$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$82AF683896C71D9FCD99BE1D5AFFEEA8$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$XXXX1234$,$Visa$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$
|
36
|
-
http_version:
|
37
|
-
recorded_at: Wed, 02 May 2012 19:52:39 GMT
|
38
|
-
recorded_with: VCR 2.0.0
|
@@ -1,38 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://test.authorize.net/gateway/transact.dll
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: x_version=3.1&x_login=26Daqx7Jtw7R&x_tran_key=66JWf57KKc82W9y6&x_relay_response=FALSE&x_type=CREDIT&x_delim_data=TRUE&x_delim_char=%2C&x_encap_char=%24&x_trans_id=2171213294&x_card_num=XXXX-XXXX-XXXX-0027&x_invoice_num=&x_description=&x_amount=100.48&x_test_request=FALSE
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/x-www-form-urlencoded
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Connection:
|
22
|
-
- close
|
23
|
-
Date:
|
24
|
-
- Wed, 02 May 2012 19:50:48 GMT
|
25
|
-
Server:
|
26
|
-
- Microsoft-IIS/6.0
|
27
|
-
X-Powered-By:
|
28
|
-
- ASP.NET
|
29
|
-
Content-Type:
|
30
|
-
- text/html
|
31
|
-
Content-Length:
|
32
|
-
- "310"
|
33
|
-
body:
|
34
|
-
encoding: US-ASCII
|
35
|
-
string: $1$,$1$,$1$,$This transaction has been approved.$,$$,$P$,$2171555499$,$$,$$,$100.48$,$CC$,$credit$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$DFF17287B2348D649D6F98C83DDA88CC$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$XXXX0027$,$Visa$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$
|
36
|
-
http_version:
|
37
|
-
recorded_at: Wed, 02 May 2012 19:50:48 GMT
|
38
|
-
recorded_with: VCR 2.0.0
|
@@ -1,38 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://test.authorize.net/gateway/transact.dll
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: x_version=3.1&x_login=26Daqx7Jtw7R&x_tran_key=66JWf57KKc82W9y6&x_relay_response=FALSE&x_type=AUTH_ONLY&x_delim_data=TRUE&x_delim_char=%2C&x_encap_char=%24&x_invoice_num=&x_description=&x_card_num=4007000000027&x_card_code=123&x_exp_date=0413&x_first_name=Kamille&x_last_name=Quitzon&x_amount=100.48&x_test_request=FALSE
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/x-www-form-urlencoded
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Connection:
|
22
|
-
- close
|
23
|
-
Date:
|
24
|
-
- Sun, 22 Apr 2012 14:59:38 GMT
|
25
|
-
Server:
|
26
|
-
- Microsoft-IIS/6.0
|
27
|
-
X-Powered-By:
|
28
|
-
- ASP.NET
|
29
|
-
Content-Type:
|
30
|
-
- text/html
|
31
|
-
Content-Length:
|
32
|
-
- "335"
|
33
|
-
body:
|
34
|
-
encoding: US-ASCII
|
35
|
-
string: $1$,$1$,$1$,$This transaction has been approved.$,$G2TLJZ$,$Y$,$2171213295$,$$,$$,$100.48$,$CC$,$auth_only$,$$,$Kamille$,$Quitzon$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$B745627AB73112658026B8D5DFA807B3$,$P$,$2$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$XXXX0027$,$Visa$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$
|
36
|
-
http_version:
|
37
|
-
recorded_at: Sun, 22 Apr 2012 14:59:39 GMT
|
38
|
-
recorded_with: VCR 2.0.0
|
@@ -1,38 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://test.authorize.net/gateway/transact.dll
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: x_version=3.1&x_login=26Daqx7Jtw7R&x_tran_key=66JWf57KKc82W9y6&x_relay_response=FALSE&x_type=VOID&x_delim_data=TRUE&x_delim_char=%2C&x_encap_char=%24&x_trans_id=&x_test_request=FALSE
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/x-www-form-urlencoded
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Connection:
|
22
|
-
- close
|
23
|
-
Date:
|
24
|
-
- Sun, 22 Apr 2012 15:24:10 GMT
|
25
|
-
Server:
|
26
|
-
- Microsoft-IIS/6.0
|
27
|
-
X-Powered-By:
|
28
|
-
- ASP.NET
|
29
|
-
Content-Type:
|
30
|
-
- text/html
|
31
|
-
Content-Length:
|
32
|
-
- "297"
|
33
|
-
body:
|
34
|
-
encoding: US-ASCII
|
35
|
-
string: $3$,$2$,$33$,$A valid referenced transaction ID is required.$,$$,$P$,$0$,$$,$$,$0.00$,$CC$,$void$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$E4D08D153C02147DACEF435A63672D69$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$
|
36
|
-
http_version:
|
37
|
-
recorded_at: Sun, 22 Apr 2012 15:24:10 GMT
|
38
|
-
recorded_with: VCR 2.0.0
|
@@ -1,38 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://test.authorize.net/gateway/transact.dll
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: x_version=3.1&x_login=26Daqx7Jtw7R&x_tran_key=66JWf57KKc82W9y6&x_relay_response=FALSE&x_type=VOID&x_delim_data=TRUE&x_delim_char=%2C&x_encap_char=%24&x_trans_id=2171213295&x_test_request=FALSE
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/x-www-form-urlencoded
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Connection:
|
22
|
-
- close
|
23
|
-
Date:
|
24
|
-
- Sun, 22 Apr 2012 14:59:40 GMT
|
25
|
-
Server:
|
26
|
-
- Microsoft-IIS/6.0
|
27
|
-
X-Powered-By:
|
28
|
-
- ASP.NET
|
29
|
-
Content-Type:
|
30
|
-
- text/html
|
31
|
-
Content-Length:
|
32
|
-
- "312"
|
33
|
-
body:
|
34
|
-
encoding: US-ASCII
|
35
|
-
string: $1$,$1$,$1$,$This transaction has been approved.$,$G2TLJZ$,$P$,$2171213295$,$$,$$,$0.00$,$CC$,$void$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$3EBBB35F0951D7C0F4B9891489865793$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$XXXX0027$,$Visa$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$,$$
|
36
|
-
http_version:
|
37
|
-
recorded_at: Sun, 22 Apr 2012 14:59:40 GMT
|
38
|
-
recorded_with: VCR 2.0.0
|
@@ -1,48 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://www.splitable.com/api/splits
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: total_amount=299.0&invoice=75780588&shipping=299&tax=0&description=See%20Splitable%20integrates%20nicely%20with%20nimbleShop&api_key=edb5fd7b39652986&api_notify_url=http%3A%2F%2Flocalhost%3A3000%2Finstant_payment_notifications%2Fsplitable&expires_in=24
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/x-www-form-urlencoded
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 500
|
19
|
-
message: Internal Server Error
|
20
|
-
headers:
|
21
|
-
Server:
|
22
|
-
- nginx
|
23
|
-
Date:
|
24
|
-
- Wed, 25 Apr 2012 22:51:51 GMT
|
25
|
-
Content-Type:
|
26
|
-
- application/json
|
27
|
-
Connection:
|
28
|
-
- keep-alive
|
29
|
-
Strict-Transport-Security:
|
30
|
-
- max-age=31536000
|
31
|
-
Content-Length:
|
32
|
-
- "49"
|
33
|
-
X-Ua-Compatible:
|
34
|
-
- IE=Edge,chrome=1
|
35
|
-
Cache-Control:
|
36
|
-
- no-cache
|
37
|
-
X-Request-Id:
|
38
|
-
- 2d1f8525f8e3eaedcd6dac16f19f16a2
|
39
|
-
X-Runtime:
|
40
|
-
- "0.320299"
|
41
|
-
X-Rack-Cache:
|
42
|
-
- invalidate, pass
|
43
|
-
body:
|
44
|
-
encoding: US-ASCII
|
45
|
-
string: "{\"error\":\"Order must have atleast one line item\"}"
|
46
|
-
http_version:
|
47
|
-
recorded_at: Wed, 25 Apr 2012 22:51:51 GMT
|
48
|
-
recorded_with: VCR 2.0.0
|