solidus_paypal_braintree 1.1.2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +3 -0
  3. data/.github/stale.yml +1 -17
  4. data/.github_changelog_generator +2 -0
  5. data/.gitignore +4 -3
  6. data/.rubocop.yml +1 -2
  7. data/CHANGELOG.md +32 -0
  8. data/Gemfile +18 -20
  9. data/README.md +41 -17
  10. data/app/assets/stylesheets/spree/backend/solidus_paypal_braintree.css +4 -0
  11. data/app/models/solidus_paypal_braintree/configuration.rb +1 -3
  12. data/app/models/solidus_paypal_braintree/gateway.rb +1 -0
  13. data/app/models/solidus_paypal_braintree/source.rb +4 -2
  14. data/app/models/solidus_paypal_braintree/transaction_address.rb +1 -0
  15. data/bin/rails +4 -12
  16. data/bin/rails-engine +13 -0
  17. data/bin/rails-sandbox +16 -0
  18. data/bin/rake +7 -0
  19. data/bin/sandbox +103 -0
  20. data/bin/setup +1 -1
  21. data/lib/generators/solidus_paypal_braintree/install/install_generator.rb +9 -4
  22. data/lib/generators/solidus_paypal_braintree/install/templates/initializer.rb +6 -0
  23. data/lib/solidus_paypal_braintree/engine.rb +6 -5
  24. data/lib/solidus_paypal_braintree/extension_configuration.rb +23 -0
  25. data/lib/solidus_paypal_braintree/request_protection.rb +2 -2
  26. data/lib/solidus_paypal_braintree/{factories.rb → testing_support/factories.rb} +0 -0
  27. data/lib/solidus_paypal_braintree/version.rb +1 -1
  28. data/lib/solidus_paypal_braintree.rb +5 -3
  29. data/solidus_paypal_braintree.gemspec +39 -39
  30. data/spec/controllers/solidus_paypal_braintree/checkouts_controller_spec.rb +99 -0
  31. data/spec/controllers/solidus_paypal_braintree/client_tokens_controller_spec.rb +55 -0
  32. data/spec/controllers/solidus_paypal_braintree/configurations_controller_spec.rb +73 -0
  33. data/spec/controllers/solidus_paypal_braintree/transactions_controller_spec.rb +183 -0
  34. data/spec/features/backend/configuration_spec.rb +23 -0
  35. data/spec/features/backend/new_payment_spec.rb +137 -0
  36. data/spec/features/frontend/braintree_credit_card_checkout_spec.rb +191 -0
  37. data/spec/features/frontend/paypal_checkout_spec.rb +166 -0
  38. data/spec/features/frontend/venmo_checkout_spec.rb +194 -0
  39. data/spec/fixtures/cassettes/admin/invalid_credit_card.yml +63 -0
  40. data/spec/fixtures/cassettes/admin/resubmit_credit_card.yml +352 -0
  41. data/spec/fixtures/cassettes/admin/valid_credit_card.yml +412 -0
  42. data/spec/fixtures/cassettes/braintree/create_profile.yml +71 -0
  43. data/spec/fixtures/cassettes/braintree/generate_token.yml +63 -0
  44. data/spec/fixtures/cassettes/braintree/token.yml +63 -0
  45. data/spec/fixtures/cassettes/checkout/invalid_credit_card.yml +63 -0
  46. data/spec/fixtures/cassettes/checkout/resubmit_credit_card.yml +216 -0
  47. data/spec/fixtures/cassettes/checkout/update.yml +71 -0
  48. data/spec/fixtures/cassettes/checkout/valid_credit_card.yml +171 -0
  49. data/spec/fixtures/cassettes/checkout/valid_venmo_transaction.yml +599 -0
  50. data/spec/fixtures/cassettes/gateway/authorize/credit_card/address.yml +86 -0
  51. data/spec/fixtures/cassettes/gateway/authorize/merchant_account/EUR.yml +154 -0
  52. data/spec/fixtures/cassettes/gateway/authorize/paypal/EUR.yml +90 -0
  53. data/spec/fixtures/cassettes/gateway/authorize/paypal/address.yml +90 -0
  54. data/spec/fixtures/cassettes/gateway/authorize.yml +86 -0
  55. data/spec/fixtures/cassettes/gateway/authorized_transaction.yml +73 -0
  56. data/spec/fixtures/cassettes/gateway/cancel/missing.yml +63 -0
  57. data/spec/fixtures/cassettes/gateway/cancel/refunds.yml +272 -0
  58. data/spec/fixtures/cassettes/gateway/cancel/void.yml +201 -0
  59. data/spec/fixtures/cassettes/gateway/capture.yml +141 -0
  60. data/spec/fixtures/cassettes/gateway/complete.yml +157 -0
  61. data/spec/fixtures/cassettes/gateway/credit.yml +208 -0
  62. data/spec/fixtures/cassettes/gateway/customer.yml +79 -0
  63. data/spec/fixtures/cassettes/gateway/purchase.yml +87 -0
  64. data/spec/fixtures/cassettes/gateway/settled_transaction.yml +140 -0
  65. data/spec/fixtures/cassettes/gateway/void.yml +137 -0
  66. data/spec/fixtures/cassettes/source/bin.yml +295 -0
  67. data/spec/fixtures/cassettes/source/card_type.yml +267 -0
  68. data/spec/fixtures/cassettes/source/last4.yml +267 -0
  69. data/spec/fixtures/cassettes/transaction/import/valid/capture.yml +224 -0
  70. data/spec/fixtures/cassettes/transaction/import/valid.yml +71 -0
  71. data/spec/fixtures/views/spree/orders/edit.html.erb +50 -0
  72. data/spec/helpers/solidus_paypal_braintree/braintree_admin_helper_spec.rb +17 -0
  73. data/spec/helpers/solidus_paypal_braintree/braintree_checkout_helper_spec.rb +70 -0
  74. data/spec/models/solidus_paypal_braintree/address_spec.rb +71 -0
  75. data/spec/models/solidus_paypal_braintree/avs_result_spec.rb +317 -0
  76. data/spec/models/solidus_paypal_braintree/gateway_spec.rb +742 -0
  77. data/spec/models/solidus_paypal_braintree/response_spec.rb +280 -0
  78. data/spec/models/solidus_paypal_braintree/source_spec.rb +539 -0
  79. data/spec/models/solidus_paypal_braintree/transaction_address_spec.rb +235 -0
  80. data/spec/models/solidus_paypal_braintree/transaction_import_spec.rb +302 -0
  81. data/spec/models/solidus_paypal_braintree/transaction_spec.rb +86 -0
  82. data/spec/models/spree/store_spec.rb +14 -0
  83. data/spec/requests/spree/api/orders_controller_spec.rb +36 -0
  84. data/spec/spec_helper.rb +32 -0
  85. data/spec/support/capybara.rb +7 -0
  86. data/spec/support/gateway_helpers.rb +29 -0
  87. data/spec/support/order_ready_for_payment.rb +37 -0
  88. data/spec/support/vcr.rb +42 -0
  89. data/spec/support/views.rb +1 -0
  90. metadata +146 -15
@@ -0,0 +1,7 @@
1
+ RSpec.configure do |config|
2
+ config.before(:each, type: :feature, js: true) do
3
+ page.driver.browser.manage.window.resize_to(1600, 1024)
4
+ end
5
+ end
6
+
7
+ Capybara.javascript_driver = (ENV['CAPYBARA_DRIVER'] || :selenium_chrome_headless).to_sym
@@ -0,0 +1,29 @@
1
+ module SolidusPaypalBraintree
2
+ module GatewayHelpers
3
+ def new_gateway(opts = {})
4
+ SolidusPaypalBraintree::Gateway.new({
5
+ name: "Braintree",
6
+ preferences: {
7
+ environment: 'sandbox',
8
+ public_key: ENV.fetch('BRAINTREE_PUBLIC_KEY', 'dummy_public_key'),
9
+ private_key: ENV.fetch('BRAINTREE_PRIVATE_KEY', 'dummy_private_key'),
10
+ merchant_id: ENV.fetch('BRAINTREE_MERCHANT_ID', 'dummy_merchant_id'),
11
+ merchant_currency_map: {
12
+ 'EUR' => 'stembolt_EUR'
13
+ },
14
+ paypal_payee_email_map: {
15
+ 'EUR' => ENV.fetch('BRAINTREE_PAYPAL_PAYEE_EMAIL', 'paypal+europe@example.com')
16
+ }
17
+ }
18
+ }.merge(opts))
19
+ end
20
+
21
+ def create_gateway(opts = {})
22
+ new_gateway(opts).tap(&:save!)
23
+ end
24
+ end
25
+ end
26
+
27
+ RSpec.configure do |config|
28
+ config.include SolidusPaypalBraintree::GatewayHelpers
29
+ end
@@ -0,0 +1,37 @@
1
+ shared_context 'when order is ready for payment' do
2
+ let!(:country) { create :country }
3
+
4
+ let(:user) { create :user }
5
+ let(:address) { create :address, zipcode: "90210", lastname: "Doe", country: country }
6
+
7
+ before do
8
+ create :shipping_method, cost: 5
9
+ end
10
+
11
+ let(:gateway) do
12
+ new_gateway(auto_capture: true)
13
+ end
14
+
15
+ let(:order) do
16
+ order = Spree::Order.create!(
17
+ line_items: [create(:line_item, price: 50)],
18
+ email: 'test@example.com',
19
+ bill_address: address,
20
+ ship_address: address,
21
+ user: user
22
+ )
23
+ order.recalculate
24
+
25
+ expect(order.state).to eq "cart"
26
+
27
+ # push through cart, address and delivery
28
+ # its sadly unsafe to use any reasonable factory here accross
29
+ # supported solidus versions
30
+ order.next!
31
+ order.next!
32
+ order.next!
33
+
34
+ expect(order.state).to eq "payment"
35
+ order
36
+ end
37
+ end
@@ -0,0 +1,42 @@
1
+ require 'vcr'
2
+ require 'webmock'
3
+
4
+ VCR.configure do |c|
5
+ c.cassette_library_dir = "spec/fixtures/cassettes"
6
+ c.hook_into :webmock
7
+ c.configure_rspec_metadata!
8
+ c.default_cassette_options = {
9
+ match_requests_on: [:method, :uri, :body]
10
+ }
11
+ c.allow_http_connections_when_no_cassette = false
12
+ c.ignore_localhost = true
13
+ c.ignore_hosts 'chromedriver.storage.googleapis.com'
14
+
15
+ # client token used for the fronted JS lib cannot be mocked:
16
+ # it contains a cryptographically signed string containing the merchant id
17
+ # that's sent back to braintree's server by the JS lib
18
+ c.ignore_request do |request|
19
+ !(request.uri =~ %r{/merchants/\w+/client_token\z}).nil?
20
+ end
21
+
22
+ # match a request to Braintree sandbox APIs by ignoring the merchant ID
23
+ # in the request URI
24
+ c.register_request_matcher :braintree_uri do |request1, request2|
25
+ extract_url_resource = lambda do |uri|
26
+ uri_match_pattern =
27
+ %r{\Ahttps://api\.sandbox\.braintreegateway\.com/merchants/\w+(/.*)\z}
28
+
29
+ if match = uri.match(uri_match_pattern)
30
+ match.captures.first
31
+ end
32
+ end
33
+ r1_resource = extract_url_resource.call(request1.uri)
34
+ r2_resource = extract_url_resource.call(request2.uri)
35
+
36
+ !r1_resource.nil? && r1_resource == r2_resource
37
+ end
38
+
39
+ # https://github.com/titusfortner/webdrivers/wiki/Using-with-VCR-or-WebMock
40
+ driver_hosts = Webdrivers::Common.subclasses.map { |driver| URI(driver.base_url).host }
41
+ c.ignore_hosts(*driver_hosts)
42
+ end
@@ -0,0 +1 @@
1
+ ApplicationController.prepend_view_path "spec/fixtures/views"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_paypal_braintree
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stembolt
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-14 00:00:00.000000000 Z
11
+ date: 2022-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemerchant
@@ -44,7 +44,7 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 2.0.0
47
+ version: 2.4.0
48
48
  - - "<"
49
49
  - !ruby/object:Gem::Version
50
50
  version: '4'
@@ -54,7 +54,7 @@ dependencies:
54
54
  requirements:
55
55
  - - ">="
56
56
  - !ruby/object:Gem::Version
57
- version: 2.0.0
57
+ version: 2.4.0
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '4'
@@ -64,7 +64,7 @@ dependencies:
64
64
  requirements:
65
65
  - - ">="
66
66
  - !ruby/object:Gem::Version
67
- version: 2.0.0
67
+ version: 2.4.0
68
68
  - - "<"
69
69
  - !ruby/object:Gem::Version
70
70
  version: '4'
@@ -74,7 +74,7 @@ dependencies:
74
74
  requirements:
75
75
  - - ">="
76
76
  - !ruby/object:Gem::Version
77
- version: 2.0.0
77
+ version: 2.4.0
78
78
  - - "<"
79
79
  - !ruby/object:Gem::Version
80
80
  version: '4'
@@ -99,7 +99,7 @@ dependencies:
99
99
  - !ruby/object:Gem::Version
100
100
  version: '1'
101
101
  - !ruby/object:Gem::Dependency
102
- name: selenium-webdriver
102
+ name: rails-controller-testing
103
103
  requirement: !ruby/object:Gem::Requirement
104
104
  requirements:
105
105
  - - ">="
@@ -116,16 +116,16 @@ dependencies:
116
116
  name: solidus_dev_support
117
117
  requirement: !ruby/object:Gem::Requirement
118
118
  requirements:
119
- - - ">="
119
+ - - "~>"
120
120
  - !ruby/object:Gem::Version
121
- version: '0'
121
+ version: '2.5'
122
122
  type: :development
123
123
  prerelease: false
124
124
  version_requirements: !ruby/object:Gem::Requirement
125
125
  requirements:
126
- - - ">="
126
+ - - "~>"
127
127
  - !ruby/object:Gem::Version
128
- version: '0'
128
+ version: '2.5'
129
129
  - !ruby/object:Gem::Dependency
130
130
  name: vcr
131
131
  requirement: !ruby/object:Gem::Requirement
@@ -163,6 +163,7 @@ files:
163
163
  - ".circleci/config.yml"
164
164
  - ".gem_release.yml"
165
165
  - ".github/stale.yml"
166
+ - ".github_changelog_generator"
166
167
  - ".gitignore"
167
168
  - ".rspec"
168
169
  - ".rubocop.yml"
@@ -201,6 +202,7 @@ files:
201
202
  - app/assets/javascripts/spree/backend/solidus_paypal_braintree.js
202
203
  - app/assets/javascripts/spree/frontend/paypal_button.js
203
204
  - app/assets/javascripts/spree/frontend/solidus_paypal_braintree.js
205
+ - app/assets/stylesheets/spree/backend/solidus_paypal_braintree.css
204
206
  - app/assets/stylesheets/spree/backend/solidus_paypal_braintree.scss
205
207
  - app/assets/stylesheets/spree/frontend/solidus_paypal_braintree.css
206
208
  - app/decorators/controllers/solidus_paypal_braintree/admin_payments_controller_decorator.rb
@@ -234,6 +236,10 @@ files:
234
236
  - app/views/spree/shared/_venmo_button.html.erb
235
237
  - bin/console
236
238
  - bin/rails
239
+ - bin/rails-engine
240
+ - bin/rails-sandbox
241
+ - bin/rake
242
+ - bin/sandbox
237
243
  - bin/setup
238
244
  - config/locales/en.yml
239
245
  - config/locales/it.yml
@@ -253,11 +259,13 @@ files:
253
259
  - lib/controllers/frontend/solidus_paypal_braintree/checkouts_controller.rb
254
260
  - lib/controllers/frontend/solidus_paypal_braintree/transactions_controller.rb
255
261
  - lib/generators/solidus_paypal_braintree/install/install_generator.rb
262
+ - lib/generators/solidus_paypal_braintree/install/templates/initializer.rb
256
263
  - lib/solidus_paypal_braintree.rb
257
264
  - lib/solidus_paypal_braintree/country_mapper.rb
258
265
  - lib/solidus_paypal_braintree/engine.rb
259
- - lib/solidus_paypal_braintree/factories.rb
266
+ - lib/solidus_paypal_braintree/extension_configuration.rb
260
267
  - lib/solidus_paypal_braintree/request_protection.rb
268
+ - lib/solidus_paypal_braintree/testing_support/factories.rb
261
269
  - lib/solidus_paypal_braintree/version.rb
262
270
  - lib/views/backend/solidus_paypal_braintree/configurations/list.html.erb
263
271
  - lib/views/backend/spree/admin/payments/source_forms/_paypal_braintree.html.erb
@@ -269,13 +277,73 @@ files:
269
277
  - lib/views/frontend/spree/checkout/payment/_paypal_braintree.html.erb
270
278
  - lib/views/frontend/spree/shared/_paypal_checkout_button.html.erb
271
279
  - solidus_paypal_braintree.gemspec
280
+ - spec/controllers/solidus_paypal_braintree/checkouts_controller_spec.rb
281
+ - spec/controllers/solidus_paypal_braintree/client_tokens_controller_spec.rb
282
+ - spec/controllers/solidus_paypal_braintree/configurations_controller_spec.rb
283
+ - spec/controllers/solidus_paypal_braintree/transactions_controller_spec.rb
284
+ - spec/features/backend/configuration_spec.rb
285
+ - spec/features/backend/new_payment_spec.rb
286
+ - spec/features/frontend/braintree_credit_card_checkout_spec.rb
287
+ - spec/features/frontend/paypal_checkout_spec.rb
288
+ - spec/features/frontend/venmo_checkout_spec.rb
289
+ - spec/fixtures/cassettes/admin/invalid_credit_card.yml
290
+ - spec/fixtures/cassettes/admin/resubmit_credit_card.yml
291
+ - spec/fixtures/cassettes/admin/valid_credit_card.yml
292
+ - spec/fixtures/cassettes/braintree/create_profile.yml
293
+ - spec/fixtures/cassettes/braintree/generate_token.yml
294
+ - spec/fixtures/cassettes/braintree/token.yml
295
+ - spec/fixtures/cassettes/checkout/invalid_credit_card.yml
296
+ - spec/fixtures/cassettes/checkout/resubmit_credit_card.yml
297
+ - spec/fixtures/cassettes/checkout/update.yml
298
+ - spec/fixtures/cassettes/checkout/valid_credit_card.yml
299
+ - spec/fixtures/cassettes/checkout/valid_venmo_transaction.yml
300
+ - spec/fixtures/cassettes/gateway/authorize.yml
301
+ - spec/fixtures/cassettes/gateway/authorize/credit_card/address.yml
302
+ - spec/fixtures/cassettes/gateway/authorize/merchant_account/EUR.yml
303
+ - spec/fixtures/cassettes/gateway/authorize/paypal/EUR.yml
304
+ - spec/fixtures/cassettes/gateway/authorize/paypal/address.yml
305
+ - spec/fixtures/cassettes/gateway/authorized_transaction.yml
306
+ - spec/fixtures/cassettes/gateway/cancel/missing.yml
307
+ - spec/fixtures/cassettes/gateway/cancel/refunds.yml
308
+ - spec/fixtures/cassettes/gateway/cancel/void.yml
309
+ - spec/fixtures/cassettes/gateway/capture.yml
310
+ - spec/fixtures/cassettes/gateway/complete.yml
311
+ - spec/fixtures/cassettes/gateway/credit.yml
312
+ - spec/fixtures/cassettes/gateway/customer.yml
313
+ - spec/fixtures/cassettes/gateway/purchase.yml
314
+ - spec/fixtures/cassettes/gateway/settled_transaction.yml
315
+ - spec/fixtures/cassettes/gateway/void.yml
316
+ - spec/fixtures/cassettes/source/bin.yml
317
+ - spec/fixtures/cassettes/source/card_type.yml
318
+ - spec/fixtures/cassettes/source/last4.yml
319
+ - spec/fixtures/cassettes/transaction/import/valid.yml
320
+ - spec/fixtures/cassettes/transaction/import/valid/capture.yml
321
+ - spec/fixtures/views/spree/orders/edit.html.erb
322
+ - spec/helpers/solidus_paypal_braintree/braintree_admin_helper_spec.rb
323
+ - spec/helpers/solidus_paypal_braintree/braintree_checkout_helper_spec.rb
324
+ - spec/models/solidus_paypal_braintree/address_spec.rb
325
+ - spec/models/solidus_paypal_braintree/avs_result_spec.rb
326
+ - spec/models/solidus_paypal_braintree/gateway_spec.rb
327
+ - spec/models/solidus_paypal_braintree/response_spec.rb
328
+ - spec/models/solidus_paypal_braintree/source_spec.rb
329
+ - spec/models/solidus_paypal_braintree/transaction_address_spec.rb
330
+ - spec/models/solidus_paypal_braintree/transaction_import_spec.rb
331
+ - spec/models/solidus_paypal_braintree/transaction_spec.rb
332
+ - spec/models/spree/store_spec.rb
333
+ - spec/requests/spree/api/orders_controller_spec.rb
334
+ - spec/spec_helper.rb
335
+ - spec/support/capybara.rb
336
+ - spec/support/gateway_helpers.rb
337
+ - spec/support/order_ready_for_payment.rb
338
+ - spec/support/vcr.rb
339
+ - spec/support/views.rb
272
340
  homepage: https://github.com/solidusio/solidus_paypal_braintree
273
341
  licenses:
274
342
  - BSD-3-Clause
275
343
  metadata:
276
344
  homepage_uri: https://github.com/solidusio/solidus_paypal_braintree
277
345
  source_code_uri: https://github.com/solidusio/solidus_paypal_braintree
278
- rubygems_mfa_required: 'true'
346
+ changelog_uri: https://github.com/solidusio/solidus_paypal_braintree/blob/master/CHANGELOG.md
279
347
  post_install_message:
280
348
  rdoc_options: []
281
349
  require_paths:
@@ -285,14 +353,77 @@ required_ruby_version: !ruby/object:Gem::Requirement
285
353
  - - ">="
286
354
  - !ruby/object:Gem::Version
287
355
  version: '2.5'
356
+ - - "<"
357
+ - !ruby/object:Gem::Version
358
+ version: '4'
288
359
  required_rubygems_version: !ruby/object:Gem::Requirement
289
360
  requirements:
290
361
  - - ">="
291
362
  - !ruby/object:Gem::Version
292
363
  version: '0'
293
364
  requirements: []
294
- rubygems_version: 3.2.32
365
+ rubygems_version: 3.3.26
295
366
  signing_key:
296
367
  specification_version: 4
297
368
  summary: Officially supported Paypal/Braintree extension
298
- test_files: []
369
+ test_files:
370
+ - spec/controllers/solidus_paypal_braintree/checkouts_controller_spec.rb
371
+ - spec/controllers/solidus_paypal_braintree/client_tokens_controller_spec.rb
372
+ - spec/controllers/solidus_paypal_braintree/configurations_controller_spec.rb
373
+ - spec/controllers/solidus_paypal_braintree/transactions_controller_spec.rb
374
+ - spec/features/backend/configuration_spec.rb
375
+ - spec/features/backend/new_payment_spec.rb
376
+ - spec/features/frontend/braintree_credit_card_checkout_spec.rb
377
+ - spec/features/frontend/paypal_checkout_spec.rb
378
+ - spec/features/frontend/venmo_checkout_spec.rb
379
+ - spec/fixtures/cassettes/admin/invalid_credit_card.yml
380
+ - spec/fixtures/cassettes/admin/resubmit_credit_card.yml
381
+ - spec/fixtures/cassettes/admin/valid_credit_card.yml
382
+ - spec/fixtures/cassettes/braintree/create_profile.yml
383
+ - spec/fixtures/cassettes/braintree/generate_token.yml
384
+ - spec/fixtures/cassettes/braintree/token.yml
385
+ - spec/fixtures/cassettes/checkout/invalid_credit_card.yml
386
+ - spec/fixtures/cassettes/checkout/resubmit_credit_card.yml
387
+ - spec/fixtures/cassettes/checkout/update.yml
388
+ - spec/fixtures/cassettes/checkout/valid_credit_card.yml
389
+ - spec/fixtures/cassettes/checkout/valid_venmo_transaction.yml
390
+ - spec/fixtures/cassettes/gateway/authorize.yml
391
+ - spec/fixtures/cassettes/gateway/authorize/credit_card/address.yml
392
+ - spec/fixtures/cassettes/gateway/authorize/merchant_account/EUR.yml
393
+ - spec/fixtures/cassettes/gateway/authorize/paypal/EUR.yml
394
+ - spec/fixtures/cassettes/gateway/authorize/paypal/address.yml
395
+ - spec/fixtures/cassettes/gateway/authorized_transaction.yml
396
+ - spec/fixtures/cassettes/gateway/cancel/missing.yml
397
+ - spec/fixtures/cassettes/gateway/cancel/refunds.yml
398
+ - spec/fixtures/cassettes/gateway/cancel/void.yml
399
+ - spec/fixtures/cassettes/gateway/capture.yml
400
+ - spec/fixtures/cassettes/gateway/complete.yml
401
+ - spec/fixtures/cassettes/gateway/credit.yml
402
+ - spec/fixtures/cassettes/gateway/customer.yml
403
+ - spec/fixtures/cassettes/gateway/purchase.yml
404
+ - spec/fixtures/cassettes/gateway/settled_transaction.yml
405
+ - spec/fixtures/cassettes/gateway/void.yml
406
+ - spec/fixtures/cassettes/source/bin.yml
407
+ - spec/fixtures/cassettes/source/card_type.yml
408
+ - spec/fixtures/cassettes/source/last4.yml
409
+ - spec/fixtures/cassettes/transaction/import/valid.yml
410
+ - spec/fixtures/cassettes/transaction/import/valid/capture.yml
411
+ - spec/fixtures/views/spree/orders/edit.html.erb
412
+ - spec/helpers/solidus_paypal_braintree/braintree_admin_helper_spec.rb
413
+ - spec/helpers/solidus_paypal_braintree/braintree_checkout_helper_spec.rb
414
+ - spec/models/solidus_paypal_braintree/address_spec.rb
415
+ - spec/models/solidus_paypal_braintree/avs_result_spec.rb
416
+ - spec/models/solidus_paypal_braintree/gateway_spec.rb
417
+ - spec/models/solidus_paypal_braintree/response_spec.rb
418
+ - spec/models/solidus_paypal_braintree/source_spec.rb
419
+ - spec/models/solidus_paypal_braintree/transaction_address_spec.rb
420
+ - spec/models/solidus_paypal_braintree/transaction_import_spec.rb
421
+ - spec/models/solidus_paypal_braintree/transaction_spec.rb
422
+ - spec/models/spree/store_spec.rb
423
+ - spec/requests/spree/api/orders_controller_spec.rb
424
+ - spec/spec_helper.rb
425
+ - spec/support/capybara.rb
426
+ - spec/support/gateway_helpers.rb
427
+ - spec/support/order_ready_for_payment.rb
428
+ - spec/support/vcr.rb
429
+ - spec/support/views.rb