diff --git a/app/controllers/solidus_paypal_braintree/client_tokens_controller.rb b/app/controllers/solidus_paypal_braintree/client_tokens_controller.rb index 94a85f70..53ad4289 100644 --- a/app/controllers/solidus_paypal_braintree/client_tokens_controller.rb +++ b/app/controllers/solidus_paypal_braintree/client_tokens_controller.rb @@ -1,11 +1,9 @@ module SolidusPaypalBraintree - class ClientTokensController < Spree::Api::BaseController - skip_before_action :authenticate_user - + class ClientTokensController < Spree::BaseController before_action :load_gateway def create - render json: { client_token: @gateway.generate_token, payment_method_id: @gateway.id } + render json: { client_token: generate_token, payment_method_id: @gateway.id } end private @@ -18,5 +16,20 @@ def load_gateway @gateway = ::SolidusPaypalBraintree::Gateway.where(active: true).merge(store_payment_methods_scope).first! end end + + def generate_token + options = {} + options[:customer_id] = customer_id if customer_id.present? + + @gateway.generate_token(options) + rescue ::SolidusPaypalBraintree::Gateway::TokenGenerationDisabledError => error + Rails.logger.error error + nil + end + + def customer_id + return unless try_spree_current_user&.braintree_customer + try_spree_current_user.braintree_customer.braintree_customer_id + end end end diff --git a/app/models/solidus_paypal_braintree/gateway.rb b/app/models/solidus_paypal_braintree/gateway.rb index a2ba1467..eeb93978 100644 --- a/app/models/solidus_paypal_braintree/gateway.rb +++ b/app/models/solidus_paypal_braintree/gateway.rb @@ -4,6 +4,8 @@ module SolidusPaypalBraintree class Gateway < ::Spree::PaymentMethod include RequestProtection + class TokenGenerationDisabledError < StandardError; end + # Error message from Braintree that gets returned by a non voidable transaction NON_VOIDABLE_STATUS_ERROR_REGEXP = /can only be voided if status is authorized/ @@ -196,18 +198,33 @@ def try_void(payment) # # @api public # @param payment [Spree::Payment] - # @return [SolidusPaypalBraintree::Customer] + # @return [SolidusPaypalBraintree::Customer, NilClass] def create_profile(payment) source = payment.source + user = source.user + source.customer = user&.braintree_customer + + return if source.token.present? || source.nonce.nil? + + if source.customer.present? + # Add new payment method to existing customer + result = braintree.payment_method.create( + braintree_payment_method_params_for(payment) + ) + fail Spree::Core::GatewayError, result.message unless result.success? - return if source.token.present? || source.customer.present? || source.nonce.nil? + source.token = result.payment_method.token + source.save! + + return source.customer + end result = braintree.customer.create(customer_profile_params(payment)) fail Spree::Core::GatewayError, result.message unless result.success? customer = result.customer - source.create_customer!(braintree_customer_id: customer.id).tap do + source.create_customer!(user_id: user&.id, braintree_customer_id: customer.id).tap do if customer.payment_methods.any? source.token = customer.payment_methods.last.token end @@ -216,12 +233,16 @@ def create_profile(payment) end end + # @raise [TokenGenerationDisabledError] + # If `preferred_token_generation_enabled` is false + # + # @param options [Hash] + # The options for braintree. + # See: https://developers.braintreepayments.com/reference/request/client-token/generate/ruby + # # @return [String] # The token that should be used along with the Braintree js-client sdk. # - # returns an error message if `preferred_token_generation_enabled` is - # set to false. - # # @example # - def generate_token - return TOKEN_GENERATION_DISABLED_MESSAGE unless preferred_token_generation_enabled - braintree.client_token.generate + def generate_token(options = {}) + unless preferred_token_generation_enabled + raise TokenGenerationDisabledError, TOKEN_GENERATION_DISABLED_MESSAGE + end + + braintree.client_token.generate(options) end def payment_profiles_supported? @@ -378,5 +402,16 @@ def customer_profile_params(payment) params end + + def braintree_payment_method_params_for(payment) + source = payment.source + user = source.user + + params = {} + params[:payment_method_nonce] = source.nonce + params[:customer_id] = user.braintree_customer.braintree_customer_id + + params + end end end diff --git a/app/models/spree/user_decorator.rb b/app/models/spree/user_decorator.rb new file mode 100644 index 00000000..81f26789 --- /dev/null +++ b/app/models/spree/user_decorator.rb @@ -0,0 +1,4 @@ +Spree.user_class.class_eval do + has_one :braintree_customer, class_name: 'SolidusPaypalBraintree::Customer', + inverse_of: :user +end diff --git a/spec/fixtures/cassettes/admin/invalid_credit_card.yml b/spec/fixtures/cassettes/admin/invalid_credit_card.yml index 8df15f0d..a47f8c39 100644 --- a/spec/fixtures/cassettes/admin/invalid_credit_card.yml +++ b/spec/fixtures/cassettes/admin/invalid_credit_card.yml @@ -16,80 +16,48 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: + Server: + - nginx Date: - - Mon, 17 Jul 2017 03:29:22 GMT + - Wed, 30 Jan 2019 00:07:32 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked - X-Frame-Options: - - SAMEORIGIN - - SAMEORIGIN - X-Xss-Protection: - - 1; mode=block - X-Content-Type-Options: - - nosniff X-Authentication: - - basic_auth - X-User: - - 3v249hqtptsg744y + - server_to_server + Braintree-Service-Origin: + - clientauth Vary: - Accept-Encoding Content-Encoding: - gzip Etag: - - W/"0fa61c6a462e78e9e161550d5124987e" + - W/"1d2c10ce968ef901e770bc81dde43a4d" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - - 1ffc1364-7b49-4dfa-a5f9-6245f7f2b305 + - f3723af1-6daf-4ae1-8e51-3af45e99fa44 X-Runtime: - - '0.100548' + - '0.312756' Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIABIvbFkAA6RWXW+jOBR9n19R9X12wJRuI3VmNPmAYAWnIcSA38BOC8SG - TD4g8Ov3ms72Q+qORtoHlAhf33t8zrnX3H+/KHnVbA/Hoq6+Xpt/GddX24rX - oqievl5vQufz3fX3b5/uuSy21enzqd5tq2+frq7um1Set9+2HUYsxn0ajc5e - WXeLCc5FHNSZhfdb5Rj6faDkmSHa8TneZ9WqWBZYLqe4TCIf+ZFTJCGWLOQX - Vs4M0lNF+ifLD58MFm4MEvoXX2FJ+qRNlGeT6com/bhg5c4kJS2J8no/9EwS - UvXoko5FjsGi4DGJVyO//HEhndHCcyHmqvX7uluGdecXNzd+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rM2R1oHeQp1uCKSIZhlJfL1wgYujFs8mvdT9MY17+4srqJ6Fgf/YBQcMGIvONnAmteerpNzr9KY5dzCUkzwJS57jgjUeo8PqQFvKZBrnzHS53BN4eWX9sP/G8CAHLPk7jd4X6x3pMnJFp4sNZbgSfPX2k4H+ttlhQn4uPs1aIBa4WHo8fQb/S1MfeZBe9P+kg/CgUs4i55rvESkFKtARomdU3WSDPiBOiaDNVpH8Oz/9G7QoIp23Hrc05Wc0cSUWgNLK5JZEjTZZH720lnbga7hV27OEWtwFRSsxLdESkpk4C3HO3cWSzsZB2heb002yl/IGDgegzdMyAnXbUUcTOKxQ5Zl0HFXGvEyyKPY/bH2cDkb+12EokaMo39YH8zSkcRa0zrDhHLL9Qf9fb+ddo5ce+6Bg6ZfvdByrdma9ODXR2ZpP5t67g+8a92yFXhh9bhnZ202wnN63Ysqt2cXdY6hZtT/KSuG/a/ryCrYaxzTSWTwSahnhfwgZYocUzzZLWDd0qT9uY95EvjExvxd/6wm++wJaianfWYJX88OfBm8JhI4gXOxHVfOcciKsd3EihhCaw70yEBvHC0v+jtDTAGfR7YYsNLaN+AcVZxATumM0PeFYnk2wbrPex+MPuhAgVZBJ/y/jABt6vUpzAsZUM8TofcMfblBwC/BniVQG2qJRM/2lgXzBJeZpc8hqyGD/qc/0DjUssv1UvaZgRvmLTWfZGnMBz9kP2d/na287B2ohaDOIev0/I5ixeDlVmtoCZ44ZzI2wO8mH9aYDUX7swf0fJPAniOnGjJWknjgHPId8u5ILTnKUDT4hxA81u8+zOXBfk/CnUS6gYc3vN/nDuBFDI3fx1ywe+DoAHmxB/3sYH7gDpt88tjwOpJsbEM+ioarQw9nyHytDTTWc8NdgQ19f9FVUA3zgifO2Q6+hzsK+O98aTrP84eH+y/nb4xP918+fn38CwAA//8DACqsxB60CAAA http_version: - recorded_at: Mon, 17 Jul 2017 03:29:22 GMT -recorded_with: VCR 3.0.3 + recorded_at: Wed, 30 Jan 2019 00:07:32 GMT +recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/cassettes/admin/resubmit_credit_card.yml b/spec/fixtures/cassettes/admin/resubmit_credit_card.yml index c8ded854..7dffd044 100644 --- a/spec/fixtures/cassettes/admin/resubmit_credit_card.yml +++ b/spec/fixtures/cassettes/admin/resubmit_credit_card.yml @@ -16,55 +16,50 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: + Server: + - nginx Date: - - Tue, 18 Jul 2017 14:23:16 GMT + - Wed, 30 Jan 2019 00:09:17 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked - X-Frame-Options: - - SAMEORIGIN - - SAMEORIGIN - X-Xss-Protection: - - 1; mode=block - X-Content-Type-Options: - - nosniff X-Authentication: - - basic_auth - X-User: - - 3v249hqtptsg744y + - server_to_server + Braintree-Service-Origin: + - clientauth Vary: - Accept-Encoding Content-Encoding: - gzip Etag: - - W/"d15beaffbcff5784d39abb8786340a50" + - W/"fa0ac8c2a35c4f5f0de6c8433ba338e2" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - - 94bbb838-e334-46dc-bcf7-23ccd22f81fe + - 5feddc2b-fbfa-4b4a-9fef-eb61b1469e18 X-Runtime: - - '0.065390' + - '0.017740' Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIANQZblkAA6RWXW+jOBR9n19R9X12wJRuI3Vm1DaBgIKZEGKD38BOC8SGTJMQ4NfPNdnth9QdjbQPKBG+vvf4nHOvuf3eKXnRbp73ZVN/vTT/Mi4vNjVvRFk/f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cH0M8e5gfusM6mDy2rQ0FtE/KRt0w2A5wh85Q2kK3mhrsCa+r+Stb+dpwXPHHOdvA93FHAf+8J3Xpa3N3dfjm/Y3y6/fL+7eMnAAAA//8DALt//Z+0CAAA + http_version: + recorded_at: Wed, 30 Jan 2019 00:09:17 GMT - request: method: post uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/customers @@ -81,27 +76,26 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: Date: - - Tue, 18 Jul 2017 14:23:23 GMT + - Wed, 30 Jan 2019 00:09:20 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -115,21 +109,25 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"02c15f9102785c5646a84661a4500e0a" + - W/"c2d605bbc83d10e770915adfa8ebb299" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - a61a0b34-e1df-4713-8e22-cb05af87a482 X-Runtime: - - '0.320343' + - '0.456458' + X-Request-Id: + - 01-1548806959.480-24.20.226.151-30242771 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 01-1548806959.480-24.20.226.151-30242771 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIANsZblkAA6xVTXPaMBC951cwvivGBILpGOfWYy9NeuglI1trrCJLriQT+PddGX8RMCGTznBAb99K6923u9HTvhCTHWjDlVx7wf3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DP29pGHNGEcR/ViRpo1MVb2E6DZnVG7R+HiH4O3S/ZM+t+zdK7L/nXRvyb5Nwj+TXJ/VeyvSP2NQn+rzN8q8jdL/D8F/r+oz4dHIHJH3dYfwByHdorv/gIAAP//AwAv6qYyewwAAA== + http_version: + recorded_at: Wed, 30 Jan 2019 00:09:20 GMT - request: method: post uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions @@ -144,7 +142,7 @@ http_interactions: true - 94t9v8 + gsc7js John Doe @@ -154,7 +152,6 @@ http_interactions: AL US - 165885681 sale headers: @@ -163,27 +160,26 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: Date: - - Tue, 18 Jul 2017 14:23:24 GMT + - Wed, 30 Jan 2019 00:09:20 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -197,24 +193,28 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"d2167241c78fe233fdf0e67006c9a712" + - W/"8fd9e19d38c340d420b74d6c4b945a35" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - 79773f2b-9192-4b8a-ab22-8a654960e6fe X-Runtime: - - '0.409500' + - '0.405293' + X-Request-Id: + - 02-1548806960.219-24.20.226.151-9677830 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 02-1548806960.219-24.20.226.151-9677830 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8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DADokpoKkFQAA + http_version: + recorded_at: Wed, 30 Jan 2019 00:09:20 GMT - request: method: get - uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/dyhekghg + uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/3knjcynj body: encoding: US-ASCII string: '' @@ -224,9 +224,11 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' + - '5' + Content-Type: + - application/xml Authorization: - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: @@ -235,14 +237,13 @@ http_interactions: message: OK headers: Date: - - Tue, 18 Jul 2017 14:23:26 GMT + - Wed, 30 Jan 2019 00:09:21 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -256,24 +257,28 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"70e81accd7380213e943407a22703c5d" + - W/"7632e7533657eb65563c77e27c8d9904" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - 334a38f8-2476-4f1a-ae2a-1e7319953f5a X-Runtime: - - '0.194019' + - '0.197987' + X-Request-Id: + - 02-1548806960.958-24.20.226.151-26289461 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 02-1548806960.958-24.20.226.151-26289461 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIAN4ZblkAA6xY23LbNhB9z1do9A5T1CWWPTRTp5lO22nSNpdOpy8ZiFiKiEmABUBZ6td3QZAUKYK2O1M/ibsHC+xiLweO3hyLfHYApbkUd/PwajGfgUgk42J/N//y+Qeynb+JX0VGUaFpYhAVv5rNIs5idsrgYZ/towA/rEwbaiod08pkUvF/gEVBI7Jacy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3DxCOCgR7NChMZMn/j2s2FVEh4OsnBX5QYu9qTOOd0oMKgYpt1JtEdr7ouPUuQ9iZbQhE+pCpohDDP+cJIZUIfNVaTIcDFPaP/UMbMNlyBVUoP+0w1ONCu0y0UMZQffyfvbdfznt4q8D3LyPtt/v93yZPFxiTm0wpOYVWs3AZO1jsyoOPu7ok2ZghY8K4NGLyOcrtevVtt0vU2DlCw35GWSJgEQ0tV6E6eQ55Oq1vKe8kIgRR4myrjjN7h4WMbNooYyBjkvjwM40o3yWoKCoSY7TO3DhgGMonzm1tHJdxYubog2pFNLno2oghB0dfVTu+OZyoKYqTY+5q49FKUE9E0a4ZLBncZ067F37nJHacJkO3CO3aisilUiWTmJ2nr8rl/WkBSVgBIEQQCMkAmoI4/OJOFaUjtl4cpn55gxhGDiOCAnYarOXiePWiuiTbiJ3je1nUG3Gt9taBTgnFnzwa+JHO74dhLB6s1pHn0WOSMVjJ6WYDGx3Jv5mVI6NfnM2eIR2ScdcSEWcSWVhdWEathS25VsyHI/UA+Tu48fyoz+vfFMcXowTsMwkO5rmP0E0hWQpMtglSQOyA3PMuG78byszNI3va7Y4YrJPUxPo++SbSYeYhxQZGX3ITPlbVP6YZpS6E0JDXFYLyhDuNaHYpNCT9uqwdtTtjqEpzPoQQjq0SQqhaunwrmJKZRKgPgXtpRuYZvK3rZWp/ic6kchH852x8g3fdkPlgB1/a1BRBNyvd23G3Hup7y42l7Uda7PncZ4uXEvxNMKp9lMfvmQxfwu+2v5qYwX6/TjQle4uFvHhTgb4U6Ib9IOX4T4bWIOq6BGm1RN/1NugfyX/fE4pR69GIyp6MW/AAAA//8DADokpoKkFQAA + http_version: + recorded_at: Wed, 30 Jan 2019 00:09:21 GMT - request: method: put - uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/dyhekghg/submit_for_settlement + uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/3knjcynj/submit_for_settlement body: encoding: UTF-8 string: | @@ -287,27 +292,26 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 200 message: OK headers: Date: - - Tue, 18 Jul 2017 14:23:27 GMT + - Wed, 30 Jan 2019 00:09:22 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -321,24 +325,28 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"7fcbc63cf82faeaf8e740bba027af266" + - W/"9fb28241905c8c4e6d074cb5def2d703" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - ea9a3078-726c-469c-8dad-3d0c1b01d194 X-Runtime: - - '0.246323' + - '0.351120' + X-Request-Id: + - 02-1548806961.607-24.20.226.151-26289535 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 02-1548806961.607-24.20.226.151-26289535 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIAN8ZblkAA8xYS2/jNhC+768wfGdk+bFWFoq22S6Ktuhu230URS8BJVIWG4lUScqx++s7FPW0qMRAe2hO5szHEWc4j48J356KfHGkUjHB75b+zWq5oDwRhPHD3fLrl+9QsHwbvQq1xFzhRAMqerVYhIxE5JzRx0N2CD1YGJnSWFcqUlVcMK0peUiFfFBU65wWlOvQawAGq88ljRTOaejVP40sqaSEb58RUwLBEWj09fP70JuKDRgXouI68v3VzWoVes3SaAoqkwxzjXCSGCGC4ylNi1jkcAaXtj58FSOHbsFZfrfUsqJLz1r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TRDuMzYY4cZSIfNlSdIazGLSP+tY2UTLh6XUUX6uxV0MgPaZTyEsoPn6MPNOvzjexl/8LL4Q7r/cbNl0eJ2iRm0wg5mzJpJQGetJTNKRv8qSV2mYAXHSqHRiwAn6/Xr1TZZbxMviZeb+FWURB4IktV6EyaQ55OmxvOesJwjGT9OlHGrr3nxsIzrsQ2lFHJeHAd0pL3KKwQBR3V26NqHCQMUefHCqaXFtx7qcbBjO/0J0YR0asgzEZUQgraufmpmPF1ZEDPZxEevtceiJIe+SQJcUFjTWG527Iy3/O+j4J2Lwkum5v9ZTFpJnTrmVsqwnamWoYwELSaZbE/f3iEVTUcFMCceIyCLSIfXUlsnSFiWUFYsLPnkPfpqRnALW2h4TGVV0VYdMV54U4QT98HUxAodfLy2oVOguPrTB+xroq5bvbmdU8wYyYIvPKNxCddxIzBzgthrTpEQMsUG9Lv5EzJHOtJCLMJSSDNqxETB5N6MqUOV/YB6c4r99UPM6JPPC+HkoDcNF6SwL0PPbJCuwK5tDssosowhcCwTe9c7L0o9CE+PcIZw4PgBGIW2t2FrFoAoA2ZdmhlRMx/TqO91o/adKdCQm/aCMqSwfXo6CXreV0Von/PVsl6VQg9CUI86UQksPeHW6VSiRMDYc2Zya4fYqextanVKz4h64uLxZJ4OXN2lXW8J9N/dapY4get9D2ivfftRnh33z9paPym0FuOBz/6RYNqg4yvxx09pyO7SP5efi3CxTm4XqsT53TrM+QmtsY49Ou3w2bGnScxhFVQMnMjpD5UL5L7qU4Yp8+BicE0FF/8AAAD//wMAHCEjzcYWAAA= + http_version: + recorded_at: Wed, 30 Jan 2019 00:09:22 GMT - request: method: get - uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/dyhekghg + uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/3knjcynj body: encoding: US-ASCII string: '' @@ -348,9 +356,11 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' + - '5' + Content-Type: + - application/xml Authorization: - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: @@ -359,14 +369,13 @@ http_interactions: message: OK headers: Date: - - Tue, 18 Jul 2017 14:23:28 GMT + - Wed, 30 Jan 2019 00:09:22 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -380,19 +389,23 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"01046c52e93754111d4a091c8e97c22d" + - W/"9fb28241905c8c4e6d074cb5def2d703" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - bf85287c-bc19-49f1-b550-fda7d8309831 X-Runtime: - - '0.131687' + - '0.200432' + X-Request-Id: + - 02-1548806962.411-24.20.226.151-26289640 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 02-1548806962.411-24.20.226.151-26289640 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIAOAZblkAA8xYS2/jNhC+768wfGdk+bFWFoq22S6Ktuhu230URS8BJVIWG4lUScqx++s7FPW0qMRAe2hO5szHEWc4j48J356KfHGkUjHB75b+zWq5oDwRhPHD3fLrl+9QsHwbvQq1xFzhRAMqerVYhIxE5JzRx0N2CD1YGJnSWFcqUlVcMK0peUiFfFBU65wWlOvQawAGq88ljRTOaejVP40sqaSEb58RUwLBEWj09fP70JuKDRgXouI68v3VzWoVes3SaAoqkwxzjXCSGCGC4ylNi1jkcAaXtj58FSOHbsFZfrfUsqJLz1rHYEteBRWSABLsf7q1f8hfb+7ffRt6naZ2W1IM0UJYL0wo7pYElpoVdBmtV/4erfbID7742zfrzZv19g8ISLeh3l+V5Pr9e9jfb2jCrrQAf8zC3qz/ehcEu9eB314tiFMmlUYcF/TST1DmeF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HRiwAn6/Xr1TZZbxMviZeb+FWURB4IktV6EyaQ55OmxvOesJwjGT9OlHGrr3nxsIzrsQ2lFHJeHAd0pL3KKwQBR3V26NqHCQMUefHCqaXFtx7qcbBjO/0J0YR0asgzEZUQgraufmpmPF1ZEDPZxEevtceiJIe+SQJcUFjTWG527Iy3/O+j4J2Lwkum5v9ZTFpJnTrmVsqwnamWoYwELSaZbE/f3iEVTUcFMCceIyCLSIfXUlsnSFiWUFYsLPnkPfpqRnALW2h4TGVV0VYdMV54U4QT98HUxAodfLy2oVOguPrTB+xroq5bvbmdU8wYyYIvPKNxCddxIzBzgthrTpEQMsUG9Lv5EzJHOtJCLMJSSDNqxETB5N6MqUOV/YB6c4r99UPM6JPPC+HkoDcNF6SwL0PPbJCuwK5tDssosowhcCwTe9c7L0o9CE+PcIZw4PgBGIW2t2FrFoAoA2ZdmhlRMx/TqO91o/adKdCQm/aCMqSwfXo6CXreV0Von/PVsl6VQg9CUI86UQksPeHW6VSiRMDYc2Zya4fYqextanVKz4h64uLxZJ4OXN2lXW8J9N/dapY4get9D2ivfftRnh33z9paPym0FuOBz/6RYNqg4yvxx09pyO7SP5efi3CxTm4XqsT53TrM+QmtsY49Ou3w2bGnScxhFVQMnMjpD5UL5L7qU4Yp8+BicE0FF/8AAAD//wMAHCEjzcYWAAA= + http_version: + recorded_at: Wed, 30 Jan 2019 00:09:22 GMT +recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/cassettes/admin/valid_credit_card.yml b/spec/fixtures/cassettes/admin/valid_credit_card.yml index 2676b7be..663889fa 100644 --- a/spec/fixtures/cassettes/admin/valid_credit_card.yml +++ b/spec/fixtures/cassettes/admin/valid_credit_card.yml @@ -16,55 +16,50 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: + Server: + - nginx Date: - - Tue, 18 Jul 2017 14:22:40 GMT + - Wed, 30 Jan 2019 00:07:24 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked - X-Frame-Options: - - SAMEORIGIN - - SAMEORIGIN - X-Xss-Protection: - - 1; mode=block - X-Content-Type-Options: - - nosniff X-Authentication: - - basic_auth - X-User: - - 3v249hqtptsg744y + - server_to_server + Braintree-Service-Origin: + - clientauth Vary: - Accept-Encoding Content-Encoding: - gzip Etag: - - W/"357c18e7b2d76a7ab0cdb81ab8b12454" + - W/"f48567c2fed0ff2bc808dd402c41c06f" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - - 3477979e-8b47-4f63-ba51-3da01cd012e5 + - d9e8b705-b50b-4fec-a6eb-d2262498d9ba X-Runtime: - - '0.193653' + - '0.277972' Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIALAZblkAA6RW246jOBB9n69o9fvsgGl6O1LPjCYXCFZwJoQY8BvY6eZiQzYXEvj6LZPdvki9o5H2IQrB5arjc06V8/j9ouRNu90fiqb+emv+YdzebGveiKJ+/nq7CZ3PD7ffv3165LLY1sfPx6ba1t8+3dw8tqk8bb9tO4xYjPs0Gp28sukWE5yLOGgyC++2yjH0+0DJE0O043O8y+pVsSw8M0GsStDK8nvfSpRv+iWuliEtfTWD3yvbn84s5iaXZbi6kJ53JMQ5K7kNz6Yf+Xek1DFYkZJUfr+yknKDnlzSscgxWBQ8JfFq5Jc/LqQzzvC5LB3IM206v2wMf3J30fn9suqW09nen/44+87FhO+OKFNyRZokso0YyepnKDrmcttXDeAyLKYOZjolXISwp2RnEeFDGpGnFFH7Z2RaqTrut3NR8qnfJejYZCopgJMyQ7ZKI0G5O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y0liCJ81fazs96G+flSbg4x02oAFmRc3Y4+E3+lua+syj9mbDRz6IRi7hLHoud4VIla9DGVO7YOokOfADdUwOa7SO4HP407NRgyreC+v+wNZyzqgptQZWViwzGrbZdHH20lnboa4RbL1CIN7ibVjyCl8TKRmRob9y9948kTZ1Q7SodyafFM/EBY5d8IYJOeF5XZ6E08R1yKoKe+FJI1mFRZx4PzY+ruZu0McobnM3/ocP4TydSKw1rTMsV161eae/79ez3pEb32sEaPrFC53Qmq3JAH6955b2s6nnfse71i1fgxfW9wd+1mab+86gezHlDfxDnWOoGQ9/yopx/8s6sg4PGsd0GhtiGulZIT9IlSLHzB/sDrDuGO1+7uO+BD6xsXjTP6vJIXuAmvR0yKw80LMDX4aoiQRO4Fx8L5RzHLPCtdtEESPXmgM9ctCbQKsP/Z0hroDPI1+OWGntG3CObUIhp3RG6PtC8SKbYt3nrQ8m73SgQKugE/FfRoA29foU5oUMqBc013vGvsIg4JfwwCnUhlo51bO9ZsGC4iqz9Dnkdsyg/+kPNA617GqzkkNm4Jb7K80nWRmL0Q/Zz9lfZqs+9g7UQlCnyXo9v6N4OXq50xpagSfOmYwN8LspxjVmy9Dh7AE93zS0F8jZjhkrSTJyDvkOeXdklpxkKB79Qwh29bN3c/mw35dwJ5F+5OEV77e5A3gRQ+P3PhfsAThqIC8OoJ89zA/cYVNM71tRx5K7NuRj3grVDHCGLNDaQK6eG+4KbOj7i63D7TgveOKc7eB7uKOA/z6QpvO4uLu7/XJ+x/h0++X928e/AAAA//8DAFVCJ8K0CAAA + http_version: + recorded_at: Wed, 30 Jan 2019 00:07:24 GMT - request: method: post uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/customers @@ -81,27 +76,26 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: Date: - - Tue, 18 Jul 2017 14:22:43 GMT + - Wed, 30 Jan 2019 00:07:26 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -115,21 +109,25 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"28dc72e5b6154240e13442b0032b668b" + - W/"36e1ac09f51695ca8f2a20f7f2e5e89a" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - bd0192de-1a62-440d-81a6-6e28ae6b2adb X-Runtime: - - '0.413994' + - '0.504892' + X-Request-Id: + - 01-1548806846.135-24.20.226.151-5515977 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 01-1548806846.135-24.20.226.151-5515977 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIALMZblkAA6xVTXObMBC951d4uCsYgms7g8mtx17a9NBLR6DFqBYSlURi//uuMF+OjeNMemPfvpWW3afd+GlfitkLaMOV3HjB/dybgcwU43K78Z5/fCUr7ym5i7PaWFWCTu5ms5izJFjPgzBahg+xj5YD0ZkVVFqC9lKz7Tr8s0zLZb5bFEgaex0759pYImkJM8nFxrO6Bs9vXIJOeTJVVlQeznAoKRdnaFUoeX5GTvdn2CukhtsL92mgFhihdmYPFWw8hqblJXhJOA+WZL4kwepHED2G4WP08Cv2h4Amvq7Yx+KHgOP9TdFJzkEw06fEuCUZ1cy0h1Kt6cFz3lP/EUEs5UJgOwllTIMxHX5spN52HWyxrtPktMtjeCBPt7ElTDazu+1yS1uvsRrAdolPkGBvQTJXtas0oTIquJ26SsMWX8CEs1LGUkHwWUCyjoL5MvbH0Ph3amn1o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CWXMlBNhQiQo1eKHQu6e2wo2WFtpdFzlIdyTx8vYEEaL2b52vqSNVWkJoNvAR0iw08CJzdpFGhMpZlSPPSVhbSZgxFgKpTFDZiwgDue+t4zcITT8nIprua9hhFmZ4+noh79mzq5h8srUgKZ/oV5K+Pt6urnlnZ1d3+GO9KXpVx7PPX8aBJbDO9w2NbLPxV+pwiay7jxk5IIR06ZjKbAdZ5cRxSx+4hsuXri5qcd62iGVIkNUqQrzFIb8U2Pn+P4Ev2EGe6rtb21aOH76f8Ds0JZPIKG6/5LDsTdmuGJt4IkQDDB3YptBS62NPbmSpjrIDE7F7AcMLn1taV1gV1JZx4MKwXUe+9PIPQHPsPeApcnE1Dui1+gRG8jr2DPMFDReg0jWTCRmfE0i08eHRfLta0UefUYe8+2Ph+D35+/57r+PnyK3p7WOOWCmc9Nog3YYYC2NFngNqJIszrUu1Z3rYqVAq9tEYsrtWlubzLzg/a3pPbfE+wK4/lmAzgX5ycRauFvT47clX98D31IpuCWsFOYkETuzsrv7uxdNI9ppSjDf9KEdoS21Xsrz2A8CP3KbQ2szoUjBBrPRAh1BQolNQj4LY2t+9zZBqrQW+d6/x1qaqhKVSlraIh6rWD+mWmyAx7PF7jlQkXs4tbaK0+eq3oVJPQwmM9SIpIxxtlgs52G2CDM/I7OAfEiz1DdANl8ESWaabdS1u/sfbLYt8EIgRTYjzdjZBx7ShHEY1bMZqdfEUNmPgHp3Rs0ehbN/DF4v2RPpf8vSuSz7l0X/kuRfIfhXyf1Fsb8g9VcK/bUyf63IXy3xfxX4f6I+7x6ByB10W3cAc+zbKb75AwAA//8DADVwfnl7DAAA + http_version: + recorded_at: Wed, 30 Jan 2019 00:07:26 GMT - request: method: post uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions @@ -144,7 +142,7 @@ http_interactions: true - m2r54p + 35xq8s John Doe @@ -154,7 +152,6 @@ http_interactions: AL US - 190124723 sale headers: @@ -163,27 +160,26 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: Date: - - Tue, 18 Jul 2017 14:22:44 GMT + - Wed, 30 Jan 2019 00:07:27 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -197,24 +193,28 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"7eb6abfa12a23c04cf2bf9f7a0ebd148" + - W/"2e821369292bc6c0ae05b8fddbeaba79" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - '09c30c87-94f3-4e77-9856-74972ec2fab4' X-Runtime: - - '0.456031' + - '0.533222' + X-Request-Id: + - 01-1548806846.891-24.20.226.151-5515998 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 01-1548806846.891-24.20.226.151-5515998 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIALQZblkAA6xYS3PbNhC+51dodIcp6lHLGRqp00wm7aRupkl66CUDEqCImARYAJSl/PouCD5F0HZn6pO4+2GBXezjg6M3pyJfHJnSXIrbZXi1Wi6YSCTl4nC7/PrlPdov3+BXkVFEaJIYQOFXi0XEKX5YZd/P1z+KKIAPK9OGmEpjUplMKv6D0ShoRFZrziXDmuQsCuqfVpZUSsFuZ8S1RLApw18/v4uCqdiCSSErYXAYrq5WqyhoPq2mYCrJiDCIJIkVIjiQNqyIZW6iwKetj1vFyKNbCJ7fLo2q2DJw1gnYUi+CSkUBCfb/vHF/KFxv7t7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zePd3+nhw+30Ao7MaPWbAI6ay2ZUTL6syR1mYIWPCuFRi8CnKzXl6ttst4mXhIvN/HLKIk8ICSr9SZMIM8nVY3lPWE5RzK+nyjjll/j4mEZ14saSinkvDgO4Eg7yisJAobq7NC1DxsGMPLimVtHK99aOLshmpBOLXkmohJC0NbVL82OpysLYiab+Oi79lCU5NA3SYALCnca043HzqnLLaUOk+nAGbajsjKUkaDFJGrr8dt+WUFSVABK4DECYIR0QC15dCIJ1xLKKgtXPjlHjyEEE8cCOWMqq+y18oixwpuEm+h9U9sZdKvx3YZGAc7pNR/8msjhlm8mEazejGTBJ57RuITR0xAMJhZ7PT8TQqYmnz6bPyDzpCMuxCIshTSwOiYKttRmJRuy7A/Uw+T244cyo39vPFOcHLTTMAyE/Rp6P4F0BSRpM1hGkQVyw7NM+K49L0q99E2vK2a44vgHTE+tb5OtJx6iDFBkafYhPeVNU/qum5LvTAkNcVgvKEO41odik0JP26rA21O2WoSnUuhBCOpRJyqBqyfcuolJlAiA+Ge2lHZhm8replan+IyoBy7uT3bHwNV92fWWAHXdy8Wl70zI9XbfdsTZn/LsantW17o+txrj5ca+EE8rdLM5vv0tDdld+s/yYxEu1sldHi3J55vH6PH9yQi3QnyddvgsxG8Sc1gFFdokcvqfcgvkvuyPxyn14MVgTAUv/gUAAP//AwAGXEcbpBUAAA== + http_version: + recorded_at: Wed, 30 Jan 2019 00:07:27 GMT - request: method: get - uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/k0hjy7zm + uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/6g7y0ss2 body: encoding: US-ASCII string: '' @@ -224,9 +224,11 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' + - '5' + Content-Type: + - application/xml Authorization: - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: @@ -235,14 +237,13 @@ http_interactions: message: OK headers: Date: - - Tue, 18 Jul 2017 14:22:46 GMT + - Wed, 30 Jan 2019 00:07:28 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -256,24 +257,28 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"b1f0cd0911699c05a5ac5b19a06db9a7" + - W/"0c824c324161314e032943ea112da165" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - cd7ed933-1378-460c-80fb-935c0217587c X-Runtime: - - '0.207006' + - '0.339658' + X-Request-Id: + - 01-1548806847.977-24.20.226.151-30230354 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 01-1548806847.977-24.20.226.151-30230354 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIALYZblkAA6xYS3PbNhC+51dodIcp6lHLGRqp00wm7aRupkl66CUDEqCImARYAJSl/PouCD5F0HZn6pO4+2GBXezjg6M3pyJfHJnSXIrbZXi1Wi6YSCTl4nC7/PrlPdov3+BXkVFEaJIYQOFXi0XEKX5YZd/P1z+KKIAPK9OGmEpjUplMKv6D0ShoRFZrziXDmuQsCuqfVpZUSsFuZ8S1RLApw18/v4uCqdiCSSErYXAYrq5WqyhoPq2mYCrJiDCIJIkVIjiQNqyIZW6iwKetj1vFyKNbCJ7fLo2q2DJw1gnYUi+CSkUBCfb/vHF/KFxv7t7+EgWdpnZbMWIYRcQsbChulxQ+DS/YEq9X4TVaXaNw/yXcvl6vX2+3f0NAugX1+qqk/219v6AJuzYS/LEf7i7Dm1W43l6vN+1lgjjlShskSMEu/QRlTuZ1iSxKIs4eDSsIzz3yRxZrbny2ykwKnzwlp0n0g6FfUczzHJK491EdvM7h32QmomAguPAQv5OQs/3nc05qoxiDNKFUMa3xpz8Wb+VpEW4214t7qU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JGrr8dt+WUFSVABK4DECYIR0QC15dCIJ1xLKKgtXPjlHjyEEE8cCOWMqq+y18oixwpuEm+h9U9sZdKvx3YZGAc7pNR/8msjhlm8mEazejGTBJ57RuITR0xAMJhZ7PT8TQqYmnz6bPyDzpCMuxCIshTSwOiYKttRmJRuy7A/Uw+T244cyo39vPFOcHLTTMAyE/Rp6P4F0BSRpM1hGkQVyw7NM+K49L0q99E2vK2a44vgHTE+tb5OtJx6iDFBkafYhPeVNU/qum5LvTAkNcVgvKEO41odik0JP26rA21O2WoSnUuhBCOpRJyqBqyfcuolJlAiA+Ge2lHZhm8replan+IyoBy7uT3bHwNV92fWWAHXdy8Wl70zI9XbfdsTZn/LsantW17o+txrj5ca+EE8rdLM5vv0tDdld+s/yYxEu1sldHi3J55vH6PH9yQi3QnyddvgsxG8Sc1gFFdokcvqfcgvkvuyPxyn14MVgTAUv/gUAAP//AwAGXEcbpBUAAA== + http_version: + recorded_at: Wed, 30 Jan 2019 00:07:28 GMT - request: method: put - uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/k0hjy7zm/submit_for_settlement + uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/6g7y0ss2/submit_for_settlement body: encoding: UTF-8 string: | @@ -287,27 +292,26 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 200 message: OK headers: Date: - - Tue, 18 Jul 2017 14:22:47 GMT + - Wed, 30 Jan 2019 00:07:29 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -321,24 +325,28 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"e6df2921402816ca3e06896ef0881ac7" + - W/"c54123b94e462a65341bfdaf4395082b" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - 6006c82f-4ce5-469b-b76d-410cce4096dc X-Runtime: - - '0.268542' + - '0.343964' + X-Request-Id: + - 02-1548806849.040-24.20.226.151-26278545 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 02-1548806849.040-24.20.226.151-26278545 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIALcZblkAA8xYS3PbNhC+51dodIdJ6lHJGZqp00wm7bRppkl66MUDEqCImARYAJSl/PouCD5F0NZMe6hP4u6HBXaxjw8O35yKfHGkUjHB75bBjb9cUJ4Iwvjhbvn1y3u0X76JXoVaYq5wogEVvVosQkaiRz/7dt59L0IPPoxMaawrFakqLpjWlDykQj4oqnVOC8p16DUAg9XnkkYK5zT06p9GllRSwt5nxJRAcAQaff38LvSmYgPGhai4joLAv/H90Gs+jaagMskw1wgniREiOJ7StIhFDmdwaevDVzFy6Bac5XdLLSu69Kx1DLbkVVAhCSDB/h+39g8Fq/X9259Cr9PUbkuKIVoI64UJxd2SwKdmBV1GKz/YIX+Hgv2XYPN6tXq92fwFAekW1Ourkly/fgfr+wVN2JUW4I/5sDcb3PrBarNbrdurBXHKpNKI44Je+gnKHM/rElGUmJ8dGlpgljvkTzRWTLtslZngLnmKT5Poe0O/wpjlOaR076M8OJ2LfhEZD72B4MLD6J2AnO0/X3JSaUkppAkhkioVffp98VacFsF6vVt8FFJnT1TVlTFCNfE5acqJuSgrdgVeJDhn+hx9oJITASfvJBYg6cGU7P2vodf8bCIpoBhzW06rwN/vkb/abkNvKG9dg/SWZ+vtVw4XQxafoZCpWoh0cQ8BZgmGaA9h45XGGMJ5meEVVHQP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Ly2oVOguPrTB+xroq5bvbmdU8wYyYLPPKNxCddxIzBzgthpTpEQMsUG9Lv5AzJHOtJCLMJSSDNqxETB5N6MqUOV/YB6c4r99UPM6JPPM+FkrzcNF6SwL0PPbJCuwK5tDssosowhcCwTe9c7L0o9CE+PcIZw4PgHMAptb8PWLABRBsy6NDOiZj6mUd/pRu07U6AhN+0FZUhh+/R0EvS0r4rQPuWrZb0qhR6EoB51ohJYesKt06lEiYCx58Tk1g6xU9nb1OqUnhH1wMX90TwduLpLu94S6L97sbjwnQlc73tAe+3bj/LkuH/S1vpJobUYD3z2jwTTBh1fiW8+pCG7Tf9efirCxSq5zaMl+XL9GD2+P6I11rFHpx0+OfY0iTmsgoqBEzn9oXKB3Jd9yjBlHrwYXFPBi38AAAD//wMANNA2wsYWAAA= + http_version: + recorded_at: Wed, 30 Jan 2019 00:07:29 GMT - request: method: get - uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/k0hjy7zm + uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/6g7y0ss2 body: encoding: US-ASCII string: '' @@ -348,9 +356,11 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' + - '5' + Content-Type: + - application/xml Authorization: - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: @@ -359,14 +369,13 @@ http_interactions: message: OK headers: Date: - - Tue, 18 Jul 2017 14:22:48 GMT + - Wed, 30 Jan 2019 00:07:30 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -380,19 +389,23 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"0e79d5f15b6d5ab0eed5f9c8ca001547" + - W/"9b3fc0a04faa9eeae6cff6c440f9c809" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - 7bc4b918-e383-4c91-af60-fd7e8b67a595 X-Runtime: - - '0.180692' + - '0.229575' + X-Request-Id: + - 02-1548806849.708-24.20.226.151-9673309 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 02-1548806849.708-24.20.226.151-9673309 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIALgZblkAA8xYS3PbNhC+51dodIdJ6lHJGZqp00wm7bRppkl66MUDEqCImARYAJSl/PouCD5F0NZMe6hP4u6HBXaxjw8O35yKfHGkUjHB75bBjb9cUJ4Iwvjhbvn1y3u0X76JXoVaYq5wogEVvVosQkaiRz/7dt59L0IPPoxMaawrFakqLpjWlDykQj4oqnVOC8p16DUAg9XnkkYK5zT06p9GllRSwt5nxJRAcAQaff38LvSmYgPGhai4joLAv/H90Gs+jaagMskw1wgniREiOJ7StIhFDmdwaevDVzFy6Bac5XdLLSu69Kx1DLbkVVAhCSDB/h+39g8Fq/X9259Cr9PUbkuKIVoI64UJxd2SwKdmBV1GKz/YIX+Hgv2XYPN6tXq92fwFAekW1Ourkly/fgfr+wVN2JUW4I/5sDcb3PrBarNbrdurBXHKpNKI44Je+gnKHM/rElGUmJ8dGlpgljvkTzRWTLtslZngLnmKT5Poe0O/wpjlOaR076M8OJ2LfhEZD72B4MLD6J2AnO0/X3JSaUkppAkhkioVffp98VacFsF6vVt8FFJnT1TVlTFCNfE5acqJuSgrdgVeJDhn+hx9oJITASfvJBYg6cGU7P2vodf8bCIpoBhzW06rwN/vkb/abkNvKG9dg/SWZ+vtVw4XQxafoZCpWoh0cQ8BZgmGaA9h45XGGMJ5meEVVHQPHcrnVqxhxb1rydq1hFf1caL9xr9Y02rqzBgkAwQorThxlW+nUU1dYSnxeaSEuxk0RpeREkvNIKB9G7xY4TKOK50Jyb6/bH5gNsY6yZyYjJXlMPddBfTfV/c4pV3lf316O1Q2m109os9g53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bJCuwK5tDssosowhcCwTe9c7L0o9CE+PcIZw4PgHMAptb8PWLABRBsy6NDOiZj6mUd/pRu07U6AhN+0FZUhh+/R0EvS0r4rQPuWrZb0qhR6EoB51ohJYesKt06lEiYCx58Tk1g6xU9nb1OqUnhH1wMX90TwduLpLu94S6L97sbjwnQlc73tAe+3bj/LkuH/S1vpJobUYD3z2jwTTBh1fiW8+pCG7Tf9efirCxSq5zaMl+XL9GD2+P6I11rFHpx0+OfY0iTmsgoqBEzn9oXKB3Jd9yjBlHrwYXFPBi38AAAD//wMANNA2wsYWAAA= + http_version: + recorded_at: Wed, 30 Jan 2019 00:07:30 GMT +recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/cassettes/braintree/add_payment_method.yml b/spec/fixtures/cassettes/braintree/add_payment_method.yml new file mode 100644 index 00000000..d6256726 --- /dev/null +++ b/spec/fixtures/cassettes/braintree/add_payment_method.yml @@ -0,0 +1,140 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/customers + body: + encoding: UTF-8 + string: | + + + fake-valid-nonce + + headers: + Accept-Encoding: + - gzip + Accept: + - application/xml + User-Agent: + - Braintree Ruby Gem 2.94.0 + X-Apiversion: + - '5' + Content-Type: + - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + response: + status: + code: 201 + message: Created + headers: + Date: + - Tue, 05 Feb 2019 21:57:23 GMT + Content-Type: + - application/xml; charset=utf-8 + Transfer-Encoding: + - chunked + X-Frame-Options: + - SAMEORIGIN + X-Xss-Protection: + - 1; mode=block + X-Content-Type-Options: + - nosniff + X-Authentication: + - basic_auth + X-User: + - 3v249hqtptsg744y + Vary: + - Accept-Encoding + Content-Encoding: + - gzip + Etag: + - W/"3a7cecc630674702a53d60b08d42949e" + Cache-Control: + - max-age=0, private, must-revalidate + X-Runtime: + - '0.422284' + X-Request-Id: + - 02-1549403842.486-52.40.36.50-278927 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 02-1549403842.486-52.40.36.50-278927 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + body: + encoding: ASCII-8BIT + string: !binary |- + H4sIAMMGWlwAA6xWTXObMBC951d4uCsYYmKcweSW9NQe2rQzvXQEWkC1kKgkHPvfV8J8OTauM+nNevtWWvbrOXrclWy2Bamo4GvHu507M+CpIJTna+fl2xMKncf4JkprpUUJMr6ZzSJK4uBuESyW9/4qcs3JgsaYFphrZM5LSfKV/3uZlMtsExR3kTu2WnZGpdKI4xJmnLK1o2UNjtuYGJ6ypKKsMN+f4FBiyk7QqhD89I4M706wV0gU1Wfek4A1EIT1TO8rWDvEHDUtwYn9ubdCcx/Ng2++9xAsH3z/Z+QODo1/XZH3+Q8Oh/ebpKOMAiOqD4lQjVIsiWovxVLivWOtx/YDYrCEMmbKiTAhEpTq8EMhZV/BFusqjY6rPIYH8nQZW8JkMbvXzpe0tSotAXQX+AQJdho4sVm7SGMixYzqqack5GYCJoyVUBozZMYC4tXCmy8jdwyNP6fmWu4bGGFWFdif/PC3zLtrmLw2NaDpP6iXEv6xnm5v+WBnN3e4E31p+pXHi7nnh6Hl8B63TY3sc/F3qrCJrD+PGYVgxLTpVApsx9llRDGLX/iGi1dubhqwgXZIpcgQVarGPIUx/9TYO348we+YwYFq+1ubFo5fvo6YPdrxCSRUD19yOA7GDNesCzwRggHmTmwzaKmNcSDX0lQHmcGpmf2A0aVvLZ0L7Coqm3hQKbguYs+P3BPwDHsPWJr0+fMjeoMesYG8jT3DTEHrNYokZyIx42sSmT4/BcmP7zV59hh5LrY/n8LFl09P5ecyj9yB1jkWgJkuTKON2mGEdTRa4hxQLVlcaF2pB9fFSoFWt4nElNu1lpvMvOL9rek9t8L7Erj+VYIuBPnFRC7crenx24rnj8C3VApuCWuFOUnEzqzs/v7+RdOIdpoSzDdDaEdoR22W8iL2wtCL3PbQ2UwoUrDRbHRAT5BQYZOQz8LY2t+DTZA6bUR+8B+wjqbqRKWSVraIxyo2jKkWG+BxGP7J7ovIPZw6W83pn7rZhUkzDCYz1IikjHEWBMvFKgtWmZeRu5Dcp1nqGSBbBGGSmWabdO3v/g+bbQu8FEiRzUQz9vaRhzRhHEb1bEaaNTFW9iOg2Z1Ru0fh7B+Dt0v2RPrfs3Quy/5l0b8k+VcI/lVyf1HsL0j9lUJ/rcxfK/JXS/w/Bf6/qM+HRyByR93WH8Ach3aKb/4CAAD//wMA5PLFgXsMAAA= + http_version: + recorded_at: Tue, 05 Feb 2019 21:57:23 GMT +- request: + method: post + uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/payment_methods + body: + encoding: UTF-8 + string: | + + + fake-valid-nonce + 534547629 + + headers: + Accept-Encoding: + - gzip + Accept: + - application/xml + User-Agent: + - Braintree Ruby Gem 2.94.0 + X-Apiversion: + - '5' + Content-Type: + - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + response: + status: + code: 201 + message: Created + headers: + Date: + - Tue, 05 Feb 2019 21:57:23 GMT + Content-Type: + - application/xml; charset=utf-8 + Transfer-Encoding: + - chunked + X-Frame-Options: + - SAMEORIGIN + X-Xss-Protection: + - 1; mode=block + X-Content-Type-Options: + - nosniff + X-Authentication: + - basic_auth + X-User: + - 3v249hqtptsg744y + Vary: + - Accept-Encoding + Content-Encoding: + - gzip + Etag: + - W/"4c0e49ffad125324da59bd1d1f1c88c8" + Cache-Control: + - max-age=0, private, must-revalidate + X-Runtime: + - '0.313350' + X-Request-Id: + - 01-1549403843.194-52.40.36.50-719022 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 01-1549403843.194-52.40.36.50-719022 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + body: + encoding: ASCII-8BIT + string: !binary |- + H4sIAMMGWlwAA6xVwXKbMBS8+ys83DEGQ4wzmFw6yS09NGlncskI9ACNhUQl4YS/7xPGhiR22k57s3ZX0tOy7zm5ea35fA9KMym2jr9YOnMQuaRMlFvn8eHWjZ2bdJbkCigzbk4UTWfzeZIxzlHiEkoVaG0xRBlN13niMTqs81YbWYNyEYlWYRSur4JN4k3hg7BgShtXkBrmgvGtY1QLjjeQnFzmclk3RHRnGG0UgDkWeEYArwYEBfqJhMuccGbOHa+gRMfOEI3UhnAXLYR0E/rLdeJNoWPZrTCq6yGX8KYiwdnHvVetfqcSLfrK8k9kl4xUQIw1w8xN18DWobg0rAYnDZb+xl0G7jJ6CPzraH0drJ7wI542DCe0Df27E8YNfaS8M5nCnIk0XPpBHFte9JgNoWuvSL8zTbCS0/rIVpJTjNe5p9rEoEU5Izx9FDshXwSeMGKziVWycJnWLRE5TLUfydm/G/iHvTLKbDYNRjB9/DZRnVCrpZAxM1Z+WB6IgrT8WGgmJQcinLQgXIPV9exB2Sq03cW0t9xWOzntPTPre6phqi/AraUwVeoHifcBfKfsgCj0KFi+kfboSQn0QrED2ytLLjPsM3Qqv7uNsh/fW3rnc3pX7Z9uN+L+ruy+fsHxNMrspgoINxWmZvKNJ5iVsJqU4LaKp5Uxjb72PKI1GL3IFGHCzpkSHXgh3QKD5DWkq0GY5xpMJekzl6X09hjURSPKGxB7pqSwgq0mgmbyFefl6fz+NkyVbYOMiN1Y0ht0dpyKYerHsZ94w8LieL2SfBLuI9CTChqCD7+XiA+/D7ikbW6sJ+O+EbMS3WY6V6yxH0cPH4MoRbqhr4zcgUjLsApiHHmHlcVbwX62/WDK+hTjy1nBQKWkiKJ1uCmiTeEXdBXTq7zIfQSKMIqzAoNzcevsP4ybPYhaupruLgTrxA9qhVcfeuvD6/teHv8efwEAAP//AwDb8TooVAcAAA== + http_version: + recorded_at: Tue, 05 Feb 2019 21:57:23 GMT +recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/cassettes/checkout/resubmit_credit_card.yml b/spec/fixtures/cassettes/checkout/resubmit_credit_card.yml index 6f10f4b5..290e7e2c 100644 --- a/spec/fixtures/cassettes/checkout/resubmit_credit_card.yml +++ b/spec/fixtures/cassettes/checkout/resubmit_credit_card.yml @@ -16,82 +16,50 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: + Server: + - nginx Date: - - Mon, 17 Jul 2017 03:28:57 GMT + - Wed, 30 Jan 2019 00:17:25 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked - X-Frame-Options: - - SAMEORIGIN - - SAMEORIGIN - X-Xss-Protection: - - 1; mode=block - X-Content-Type-Options: - - nosniff X-Authentication: - - basic_auth - X-User: - - 3v249hqtptsg744y + - server_to_server + Braintree-Service-Origin: + - clientauth Vary: - Accept-Encoding Content-Encoding: - gzip Etag: - - W/"55076a8476cc1668a9dc881e743ef243" + - W/"f9982d0214fe86abfeb4f908359dcc04" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - - 39745908-36d2-4d8c-affe-f5544ae10212 + - 35549d8f-2bb3-4551-a328-9f29fba65dd8 X-Runtime: - - '0.374817' + - '0.221316' Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIAPkubFkAA6RWXY+bOBR9768YzXu3YMrsIE1bNSEQUHAaQgz4DWxmgNiQ - ThII/Pq9ZrrzIc1WlfYhIsLX9x6fc+41d98uUlx1xeOxapsv1/pf2vVV0bCW - V83Dl+td5Hy8vf729cMdE1XRnD6e2n3RfP1wdXXXZeJcfC0GH9HEH7PYOnt1 - O6zmfsmTsM0N/1BIR1P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528H3cEcB/4MvdPsxur29+Xr+xvh08/X918e/AAAA//8DALVvgq+0CAAA http_version: - recorded_at: Mon, 17 Jul 2017 03:28:57 GMT + recorded_at: Wed, 30 Jan 2019 00:17:25 GMT - request: method: post uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/customers @@ -108,27 +76,26 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: Date: - - Mon, 17 Jul 2017 03:29:01 GMT + - Wed, 30 Jan 2019 00:17:27 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -142,40 +109,25 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"e7c6ad4bf754778727a958a1e4d3d732" + - W/"9c024d9d0eac37cc0fd682f4de48a62c" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - dcc4d117-2ca0-4d11-91ff-c61c6d82aa73 X-Runtime: - - '0.500560' + - '0.369888' + X-Request-Id: + - 01-1548807446.552-24.20.226.151-30293115 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 01-1548807446.552-24.20.226.151-30293115 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIAP0ubFkAA6xVTXObMBC951d4uCsYbAecwcqtx16a9NBLR6DFKBYSlURi - //tKmC/HxnUmvbFv30rL7tNu8rQv+ewNlGZSbLzgfu7NQGSSMrHdeC/P31Ds - PeG7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GMY6tezEg9Joab/QSoZ2fQzFG4+Mfg/ZA9W/0fGTrX1/71pX9t5d+w8G9a91eX/ZVVf+Oiv3XN37rkb17xf1zwf2X7fLoFAnegtu4AeOzlFN79DwAA//8DANLhpVp7DAAA http_version: - recorded_at: Mon, 17 Jul 2017 03:29:01 GMT + recorded_at: Wed, 30 Jan 2019 00:17:27 GMT - request: method: post uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions @@ -190,7 +142,7 @@ http_interactions: true - j8pj2y + gcz8zx John Doe @@ -200,7 +152,6 @@ http_interactions: AL US - 581799614 sale headers: @@ -209,27 +160,26 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: Date: - - Mon, 17 Jul 2017 03:29:02 GMT + - Wed, 30 Jan 2019 00:17:28 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -243,52 +193,23 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"0f1d3e037db982b148f985db02999ff6" + - W/"c1deb934de737bba6d5536338fcbbad2" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - 8a48f1f7-6874-40f3-9b3e-e83de9176470 X-Runtime: - - '0.466381' + - '0.466522' + X-Request-Id: + - 02-1548807447.547-24.20.226.151-9695636 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 02-1548807447.547-24.20.226.151-9695636 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIAP4ubFkAA6xYS3PbNhC+51dodIf5kGTLGZqp20ynzSQ5NEmn7SUDEqAI - mwRYAJSl/vouCD5F0HZn6pO4+2GBXezjg6N3p7JYHalUTPC7dXDlr1eUp4Iw - frhbf/v6M9qv38VvIi0xVzjVgIrfrFYRI3GWXgdleHyKPPgwMqWxrlWMa50L - yf6hJPJakdHqc0VjhQsaec1PI0trKWG3M2JKINiUxt++vI+8udiAcSlqruPQ - v/L9yGu/jKKkMs0x1winqREiOI/StExEoSPPpW1OWyfIoVtxVtyttazp2rPW - MdiSr4IKSQAJ9n+7tX8oCDf3P/4Ueb2m8VpSrClBWK9MJO7WBD41K+kanAtu - kH+Dgpuv/uZtePvWD/+CePQLmvV1Rf7b+mFBG3WlBfhjPuxV7vbBze3tdbDt - 7hLEGZNKI45LeuknKAu8rEtFWWF+dmhoiVnhkD/RRDHtslXlgrvkGT7Nou+N - /YoSVhSQw4OP4cbpXPxB5DzyRoILD+P3AlJ2+HzJSaUlpZAmhEiqVBz4q4/i - SIvz6kujWH0WUudPVGlTHRNoG6STppyY27JiV/RFigumz/EvVHIi4Pi9xAIk - PZhCvf8Yee3PNpwCCrKwJRUG/n6P/HC3i7yxvPMPclyercvfONwOAQcgi9RK - ZKt7iDJLMYR8DJuuNMYQLqoch1DVA3QsX1qxgRX3riUb1xJeN8eJ91v/Yk2n - adJjlBEQoKzmxFXDvUa1xYWlxOeJEu5m1A5dRiosNYOAKqp1QUsK7WK6wmV8 - 6JsvmR+ZTbBOcycmZ1U1LgBXFf3/JT5NaVcPeH16O1Q2m12NYshg53mHNH1G - PUrNV6E2L6Ha/Ju3qvHttP0YZYwWRLW5cFSISikkghhVgivqdK3BjVyfouNP - MCafBXQmprfmtvIspnHjeLyQ/grlOBMa6AEayRM+g+aB2iyHCafmFxtVUqSw - G8Shqw7cwG0H+3C9+fMP6F7PgaZWpkcJfMMklrQLKzVkcHxfgeZoGM4Sogkt - IcycBII/h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iYII7Eb5JO3wU4TeJOayCCmxSNf2PuQXyz/vTcUo9OhmMqejkXwAAAP//AwAowwYdpxUAAA== http_version: - recorded_at: Mon, 17 Jul 2017 03:29:03 GMT -recorded_with: VCR 3.0.3 + recorded_at: Wed, 30 Jan 2019 00:17:28 GMT +recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/cassettes/checkout/valid_credit_card.yml b/spec/fixtures/cassettes/checkout/valid_credit_card.yml index 0823141e..61eb2cd0 100644 --- a/spec/fixtures/cassettes/checkout/valid_credit_card.yml +++ b/spec/fixtures/cassettes/checkout/valid_credit_card.yml @@ -16,82 +16,50 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: + Server: + - nginx Date: - - Mon, 17 Jul 2017 03:28:50 GMT + - Wed, 30 Jan 2019 00:17:15 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked - X-Frame-Options: - - SAMEORIGIN - - SAMEORIGIN - X-Xss-Protection: - - 1; mode=block - X-Content-Type-Options: - - nosniff X-Authentication: - - basic_auth - X-User: - - 3v249hqtptsg744y + - server_to_server + Braintree-Service-Origin: + - clientauth Vary: - Accept-Encoding Content-Encoding: - gzip Etag: - - W/"05461c8bdbbe011687869b635f08aba4" + - W/"1dba96bb9d1c46c5da5dafa39569da62" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - - a9c4517a-2239-4718-b126-5cf3b07d00b6 + - 20c08b84-3c0c-4aee-bfa8-359bca838874 X-Runtime: - - '0.062016' + - '0.162877' Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIAPIubFkAA6RWXW+jOBR9n19RzfvsgCndRurMqE0CwQrOhIIBv4Gdlg8b - sk0CgV+/13S3H1J3NNI+REH4+t7jc8695ubHWcmLbvd0KNvm22fzD+Pzxa7h - rSibx2+fo9D5cv35x/dPN1yWu+b45djWu+b7p4uLmy6Tp9333YARS/CYxbOT - V7XDeo4LkQRtbuH9TjmGfh8oeWKIDnyF93mzLTelZ2xcH5FwO2wWy0tSRYi4 - 0eCPWzMdg5K5qc0q70wWKdrES4jdjj48p2NksbAe03ELz75NFKlJjNUm5PAu - Qg8uGVjsGCwOHtJkO/Or2zMZjB5+Z2Jue39soV5r+vNL0x9vR6iHyFg/+Yvb - 3nfOJvwPRJmSK9KmsW0kSNY/QzEwl9u+aq1UGRZTBzNbEC5C2FOxXsT4kMXk - IUPU/hmbVqaOT7uVqPjCH1J0bHOVlsBJlSNbZbGgXPVwftyKVdDzse3WyOmz - e3uEenWqZpdrhYc0liexwpLFohAutdKkPqVodtxUW8MfZkfgu8pcB2L8jli4 - ZmM9ZJUo81CobKQtxFS5K2XeaB7u9msrPa8R6XLF9syiQ5oE+xxdTrggzyF3 - qdZn9Kp9ntz3JYttlCUY4k35rBd+weeVfZmi8x5ijC3kpgk+gO5ltgoMvvKv - 1sOs4G594sg5MRd3u7ldcuWA7gFoQxuoLQVy7LUCPGFrkIXf5TFgQkUBMeN6 - /Ihvv/u3ZjLx5R085YwcUYObdMjn3pWnCkOs7sZNed2lCRlZArl+weV0joQa - mfPRfng/txHUO+bD72kz5YvtIl9J8DzRXP7pNR/k/ucc69g5pfHZFq6s+G/W - +A9uygfQTLiF5ncZIVqJBMsAsKTqLBnUh1wmgxjuOjb8Dr9am3CrYM+tu0Oa - yE0am1LrG1mBzGPwxGr77Odnf2Gdw6udgiPWkRqXrCJXVMqUSuxGy72zCaUd - LzHaNq3JFsUTXV5bfAn+NKFXHacXIV6FyxmNKjxwRxphhIsgdH7uXFJtlt4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1iMuYY76saKTxJrq8kP+c/ZX2arP/YO1EJQ55APan5L0mrycq80FIMnzpmMNfC7zqY1epei/dkDar65b66Q1UwZK0g0cQ75Dnl3TA0xy1E4+YcQbKtv7+ZyYb8r4E4iw8TDK95vcwfwIprC730umCNwdIC82IN+djA/cId1Nr/vWAv3sW1CPvKOycMIZ8g9pQ1kq7nhrsCaur/Sjd9M84InztkOvoc7CvgfPKFbj6vb25uv5/8Yn26+vv/38S8AAAD//wMAVgY5PLQIAAA= http_version: - recorded_at: Mon, 17 Jul 2017 03:28:50 GMT + recorded_at: Wed, 30 Jan 2019 00:17:15 GMT - request: method: post uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/customers @@ -108,27 +76,26 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: Date: - - Mon, 17 Jul 2017 03:28:53 GMT + - Wed, 30 Jan 2019 00:17:17 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -142,40 +109,25 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"8d4a93dabb6d74206475eb857ef3aeaf" + - W/"8878d3cb054649e29402bbae908914a1" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - 7e1e8fb9-69cf-4abe-9281-444ba3f07e5c X-Runtime: - - '0.462220' + - '0.544276' + X-Request-Id: + - 02-1548807437.057-24.20.226.151-9695221 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 02-1548807437.057-24.20.226.151-9695221 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIAPUubFkAA6xVTXObMBC951d4uCsYbBecwcqtx16a9NBLRqDFqBYSlURi - //tKmC/HxnEmvbFv30rL7tNu8rgv+ewVlGZSbLzgfu7NQGSSMrHdeM9P31Hs - PeK7JKu1kSUofDebJYziOFqH0XIxDxLfWg60zqwgwiBrR4pu1+GfKC2jfLcq - Fok/9jp2zpQ2SJASZoLxjWdUDZ7fuDiZ8mSyrIg4nOFQEsbP0KqQ4vyMnOzP - sDdINTMX7lNADFBEzMwcKth41JqGleDhcB5EaB6hIHqaLx7C+GG1+J34Q0AT - X1f0c/FDwPH+pugoZ8Cp7lOizKCMKKrbQ4lS5OA576n/iFgsZZzbdiJCqQKt - O7xt5K7rYIt1nUanXR7DA3m6jS1hspndbZdb2nq1UQCmS3yCBHsDgrqqXaVx - mRHOzNRVCrb2BUw4K6kN4cg+C8DrZTCPEn8MjX+nFkYdGhgRXhUknPzx98zF - LUxR2x6w7APqtYJ/TdPtKV9UdnOGP6FLq1eBl/MgjGPHET3uRI3cdfgX08Rm - 1ttjRiE5tTKdKoFTnBtGjHD8LHZCvgl70oANtGMpZY6Y1jURGWBHPEf7iK9X - 9hOPb6A6YRurXfz8c8Ts0Y5PIWVm+OWjOThzUvMu8VRKDkR42JXOURvnQK6V - bQuyL6bm7gdGh773dCGwr5hq8kGlFKbAQZj4Z+AF9gGIsuUL5yf0Bj1hA32f - e064hjZqlEkBhJvCCgWGtEdYR2Ml2QKqFceFMZV+8H2iNRh9nyrChBtLW/uD - b+Rwb7XjV+RQgjAvJZhC0hcut9J/tRq9r8T2EcQrU1I4wkYTQVO5tyO3P7+/ - 0erJvYaUiN2Q2gnaUZuhusRBHFtttEbns6koyUfa7oCeoKAiVkc/pPW134NP - 0jprlvQQP2AdTdepzhSrXC9Ot9DwzIzcgcBh+Ue9HRL/aHW+WrC/dTPL0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ftCbh5A7rhWsiKsDZUsVntc2d393YvYiNU0xVRu+9BO0JZaL+V55C2XXug2h9aGoWglBrPRAh1BQ0ExIf8otDX/9zbFyqQW+d6/x1qaKWOTaF5URTxVsX5MrdqCjJLZblfgtj2eWlsp+e+y3oVxPQyYGY4iqSOaBsFivkqDVeqlbLZkX5I08RBI58EyTrHZRl27u//CZtuBzBUxbDvSjJ194KExjOOoXsxIvSaGyn4C1LszbPYoXPxh8H7Jnkn/R5bOddm/LvrXJP8Gwb9J7q+K/RWpv1Hob5X5W0X+Zon/o8D/FfX59AiE7qDbugPgsW+n6O5/AAAA//8DAHccmJV7DAAA http_version: - recorded_at: Mon, 17 Jul 2017 03:28:54 GMT + recorded_at: Wed, 30 Jan 2019 00:17:17 GMT - request: method: post uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions @@ -190,7 +142,7 @@ http_interactions: true - 2mjrwy + c3vvp7 John Doe @@ -200,7 +152,6 @@ http_interactions: AL US - 879274301 sale headers: @@ -209,27 +160,26 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: Date: - - Mon, 17 Jul 2017 03:28:55 GMT + - Wed, 30 Jan 2019 00:17:19 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -243,52 +193,23 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"87c7ce99a185db258e46cfef47237dfe" + - W/"d4ad63512fe52d76711b5c526094dcaa" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - 54425952-b06f-44d2-af8e-224238dd0e30 X-Runtime: - - '0.381628' + - '0.498368' + X-Request-Id: + - 02-1548807438.457-24.20.226.151-9695288 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 02-1548807438.457-24.20.226.151-9695288 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIAPcubFkAA6xY3XOcNhB/z19xc+8ycB8xzmBct5lOmkny0CTtTF8yAolD - NkhUEuejf31XCDg4hO3O1E/H7k8r7Wo/fnJ0dyqL1ZFKxQS/XQdX/npFeSoI - 44fb9fdvv6JwfRe/ibTEXOFUAyp+s1pFjMTybZCSJswjDz6MTGmsaxXjWudC - sn8oibxOZLS6qWiscEEjr/1pZGktJezWIKYEgk1p/P3r+8ibiw0Yl6LmOt74 - V74fed2XUZRUpjnmGuE0NUIE51GalokodOS5tO1p6wQ5dCvOitu1ljVde9Y6 - BlvyVVAhCSDB/u839g8Fm+39z79E3qBpvZYUa0oQ1isTids1gU/NSroG54Jr - 5F+j4Pqbv323Cd/t939BPIYF7fq6Iv9t/XlBF3WlBfhjPuxVhtc3m+vd1g/6 - uwRxxqTSiOOSXvoJygIv61JRVpg3Dg0tMSsc8ieaKKZdtqpccJc8w6dZ9L2x - X1HCigJyeOTjo9O5+KPIeeSNBBcexu8FpOz58yUnlZaUQpoQIqlSceCvPokj - LZrV11ax+iKkzp+o0qY6JtAuSCdNOTG3ZcWu6IsUF0w38QcqORFw/EFiAZIe - TKHef4q87mcXTgEFWdiS2gR+GCJ/s99H3lje+wc5Lhvr8ncOt0PAAcgitRLZ - 6h6izFIMIR/DpiuNMYSLKscbqOozdCxfWrGFFfeuJVvXEl63x4nDnX+xpte0 - 6THKCAhQVnPiquFBo7riwlLiZqKEuxm1Q5eRCkvNIKCKal3QkkK7mK5wGT/3 - zZfMj8wmWKe5E5OzqhoXgKuK/v8Sn6a0qwe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yAx525O+m54UenNCYxg2CMoYrQ2R2KzQ07Zq7PaUrQ7g6Qx6EIJ6NIlK4eqpcC5iCqUSEP6JJaXb1+ayt63VOT6n+kHI+6PVMfJNW/aDNSDd4GUAsGxGbrD6dhPO/ZQnN9uTus7tudOY7jbufXheoR/N5O27LOYfs7/Xn8p4tUk/rPyHuLjdJDd3RxPcifBN2uGTCL9NzHEV1GCTqvl/zK2Q/2I4HefUo7PRmIrO/gUAAP//AwB0x1iopxUAAA== http_version: - recorded_at: Mon, 17 Jul 2017 03:28:55 GMT -recorded_with: VCR 3.0.3 + recorded_at: Wed, 30 Jan 2019 00:17:19 GMT +recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/cassettes/gateway/complete.yml b/spec/fixtures/cassettes/gateway/complete.yml index 45b9fad7..79b5dad3 100644 --- a/spec/fixtures/cassettes/gateway/complete.yml +++ b/spec/fixtures/cassettes/gateway/complete.yml @@ -16,27 +16,26 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: Date: - - Mon, 17 Jul 2017 03:27:38 GMT + - Tue, 05 Feb 2019 22:09:12 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -50,40 +49,25 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"1ea99bf0a728d448d3a16ad97d4f7ef2" + - W/"e022d6ddc8c095c8b5efa2777f55713f" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - 30dade87-c1a1-48d5-b4ad-38366520f851 X-Runtime: - - '0.465012' + - '0.464922' + X-Request-Id: + - 02-1549404551.999-52.40.36.50-660222 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 02-1549404551.999-52.40.36.50-660222 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIAKoubFkAA6xVy3abMBDd5yt82CsYYxeSg5Vdl9006aKbHoEGo1pIVBKJ - /feVMC8/cJyT7Jg7d6Rh5momedqVfPYKSjMp1l5wP/dmIDJJmdisvZfn7yj2 - nvBdktXayBIUvpvNEkZxvArDIAoXQeJby4HWmRVEGGTtSNHNw+JvlJZRvl0V - YeKPvY6dM6UNEqSEmWB87RlVg+c3Lk6mPJksKyL2ZziUhPEztCqkOD8jJ7sz - 7A1SzcyF+xQQAxQRMzP7CtYetaZhJXh4MQ8iNI9QED3Pw8dF9BjGvxN/CGji - 64p+LH4IONzfFB3lDDjVfUqUGZQRRXV7KFGK7D3nPfYfEIuljHPbTkQoVaB1 - hx8amWddB1us6zQ67vIYHsjTbWwJk83sbrvc0tarjQIwXeITJNgZENRV7SqN - y4xwZqauUrCxL2DCWUltCEf2WQB+WAbzKPHH0Ph3amHUvoER4VVBFpM/fsoM - b2GK2vaAZe9QrxX8c5puT/mkspsz/AldWr0KvJwHizh2HNHjTtTIXYd/MU1s - Zr09ZhSSUyvTqRI4xblhxAjHL2Ir5JuwJw3YQDuUUuaIaV0TkQF2xHO0j/h8 - ZT/w+AaqE7ax2sUvP0fMHu34FFJmhl8+mIMzJzXvEk+l5ECEh13pHLVxDuRa - 2bYg+2Jq7n5gdOippwuBXcVUkw8qpTAFDhaJfwZeYO+BKFu+xfyI3qBHbKCn - ueeEa2ijRpkUQLgprFBgSHuEdTRWkg2gWnFcGFPpR98nWoPR96kiTLixtLE/ - +Eb291Y7fkX2JQjzpwRTSPqHy430X61G7yuxeQLxypQUjrDWRNBU7uzI7c/v - b7R6cq8hJWI7pHa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4VC9PP73k6z+h29NaxwyosBk22qAdBlhL4zldAym1iDJrC3PvutQYsOY21pTLaq2tMTNvdH+LvecWdJ+DtK852EyxV6HWyt1ij98Wcv0Acsu1khVhZahksdrhyu7u717ERqymKaZy04d2hLbUeilPI3+x8EO3ObQ2DEUrMZiNFugIGgqKCflXoa353dsUK5Na5Hv/HmtppoxNonlRFfFYxfoxtWoDMspYOi1M6B5Ora2U/P+y3oVxPQyYGY4iqSOazmbz6TKdLVM/ZXcL9iVJEx+BdDpbxCk226hrd/df2GxbkLkihm1GmrGzDzw0hnEY1bMZqdfEUNmPgHp3hs0ehbN/DN4v2RPp/8jSuSz7l0X/kuRfIfhXyf1Fsb8g9VcK/bUyf63IXy3xfxT4v6I+nx6B0B10W3cAPPbtFN38BgAA//8DAFqDmSx7DAAA http_version: - recorded_at: Mon, 17 Jul 2017 03:27:38 GMT + recorded_at: Tue, 05 Feb 2019 22:09:12 GMT - request: method: post uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions @@ -99,7 +83,7 @@ http_interactions: true true - kf43yp + hdf4ps John Doe @@ -109,7 +93,7 @@ http_interactions: AL US - 853317321 + 511832243 sale headers: @@ -118,27 +102,26 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: Date: - - Mon, 17 Jul 2017 03:27:39 GMT + - Tue, 05 Feb 2019 22:09:13 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -152,53 +135,23 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"9738db94ce73e63c751f40a871863857" + - W/"65b97ffc6656e5d324f3cf56608a358b" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - 96970fe4-7e14-4067-af5f-5a4585fe6153 X-Runtime: - - '0.453176' + - '0.639956' + X-Request-Id: + - 02-1549404552.825-52.40.36.50-660265 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 02-1549404552.825-52.40.36.50-660265 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIAKsubFkAA8xYS3PbNhC+51dodIdJ6lHJGRqpZ5JOmyZumtidaS8ekABF - xCTAAKAs9dd3wZdIEbSdQ2Z6E3c/LHYX+1T45pBnsz1TmktxNQ8u/PmMiVhS - LnZX87vbX9B2/ga/Co0iQpPYAAq/ms1CTvH2m0rSpd6HHnxYmjbElBrrMsq5 - MYzeJ1Lda2ZMxnImTOg1AIs1x4JhTTIWetVPS4tLpeDuI+JaIlCB4bsvb0Nv - TLZgkstSGLxeX/h+6DVflpEzFadEGETi2BIRaKcNyyOZgQoubqV7GSEHbyZ4 - djU3qmRzr5ZOQJZ6EVQqCkiQ/8fnt+8+++jT9d8f393cgrYdp7JaMQLOQsTM - rCeu5hQ+Dc/ZHC/8YIP8DQo2t/7y9WLzenn5D/ijO1CdLwv6fedPBxqvayPB - HvvRPOx6uQw2y0XQviyQE660QYLk7NxOYGZkmhfLvCDi6OCwnPDMQX9kkebG - JatIpXDRE3IYed/r2xVGPMsgok82JvGPNU4bxRiEB6WKae2y/mCYoPYZJiGZ - jEnGjUu8YjvIRJeLJCRZVqfJ5SrwN6HXJ7VqQ8iq47RVNdueQCQrUrJ4EWr5 - HEqU8B48Hr9V73nAtKQU1JVQHUc3kU6UIscBE/zZq1QuIQVRhoM7TnXp7IRL - OClNKhX/93nxPbERMXHqxKS8KPrR6ArpLiTxe5mK0OsRzuISv5VQ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GSMlNONWUI8mcmsYRULpFBcw7xaPqL7SkRZ8EZVS1dMNoRrG93YmGKrsF9QbjeyvH2JGn31eCKdP5tDQHqV9G2ZMhHAFbm0zWMaxZaSBa5k4uzl5UZrRY3pqrOkGJj+BT5j1NmzDARDjwKvLeiw1vKcu0/emTAfOFGjITHtOGRLYPjmdBD1vq6Kzz9nqOK9OoQYhyEcTqBS2ngjrQKxQImHo6c0mk3PzVPS2uTql51Q/CvlwMMKHrinS8LPyfffcWwTOBK73CaJr+varPPqF4eha61eMbsV43LN/l5hesGcr5PpjGvGb9MfiSxH5q+Qm/+BFt3dpzDcHpMY69Jiww0eHnjYwh1lQ8W+qjn2t9Px+r5xaHp4M2lR48h8AAAD//wMA2pq98MoWAAA= http_version: - recorded_at: Mon, 17 Jul 2017 03:27:39 GMT -recorded_with: VCR 3.0.3 + recorded_at: Tue, 05 Feb 2019 22:09:13 GMT +recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/cassettes/paypal/cart_checkout.yml b/spec/fixtures/cassettes/paypal/cart_checkout.yml index 48e24612..a7e7382c 100644 --- a/spec/fixtures/cassettes/paypal/cart_checkout.yml +++ b/spec/fixtures/cassettes/paypal/cart_checkout.yml @@ -16,275 +16,48 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== - Content-Type: - - application/xml - response: - status: - code: 201 - message: Created - headers: - Date: - - Mon, 17 Jul 2017 03:28:22 GMT - Content-Type: - - application/xml; charset=utf-8 - Transfer-Encoding: - - chunked - X-Frame-Options: - - SAMEORIGIN - - SAMEORIGIN - X-Xss-Protection: - - 1; mode=block - X-Content-Type-Options: - - nosniff - X-Authentication: - - basic_auth - X-User: - - 3v249hqtptsg744y - Vary: - - Accept-Encoding - Content-Encoding: - - gzip - Etag: - - W/"d1929e71fee78787b19ae3563c9c5b62" - Cache-Control: - - max-age=0, private, must-revalidate - X-Request-Id: - - a1f08881-c4cd-4896-b0f6-3396a9c0f34d - X-Runtime: - - '0.069786' - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - body: - encoding: ASCII-8BIT - string: !binary |- - H4sIANYubFkAA6RW246jOBB9n69o9fvsgGl6O1LPjDoXCCiYCSEG/AZ2urnY - kMkFAl+/ZXq2L1LvaKR9iIhwuer4nFNl7r9fpLhqd4dj0dRfr/W/tOurXc0a - XtRPX6+3ofX57vr7t0/3TBS7+vT51FS7+tunq6v7NhXn3bdd7yIau0MaTc5O - 2fSrmZvzOGgyw93vpKWp94EUZ4pIz5buPqvXhV+4JS0fehrBU251GuZVIhc3 - ScmQV3oXPyQVDWnlR1ZF51zgclriuYdolAxe6HV++KR7toMwWqBEBtILWYdL - p3u0MeS0NBoFj0m8nnjlwwX3Wge/C9bXnTc0vT9veq+4ufjzRe9DLhw+HLz5 - Q+dZFx2ePZa6YBI3SWRqMRLVj5D31GamJxsjkZpB5VFP55jxEPaUtOORe0wj - /JgiYv6IdCOVp8NuyUs29/oEnZpMJgVwUmbIlGnECZOdOn/Dl0HHhqZdIatL - N+YA9YCDyc1Kun0SiTNfuoJGPOc2MZK4OidocvLLteb1kxPwXaa2BTFeiw23 - okPVpyUvspDLdCANxJSZLURWKx6m+5WRXFYIt5mke2qQPomDfYZuRlyQ55jZ - ROkzOOU+izddQSMTpbEL8br4pdcLPqfoigRd9hCjrSE3id0j6F6ky0BjS+92 - 1U9yZldnhqwztd12NzMLJi3QPQBtSA21BUeWuZKAJ2w00LXNIsCE8hxihtXw - Ed9e+2/NeOTLOTrSGhgiGtNJn82cW0fmGl9OB7+4a5MYDzSGXL/hcjxHTLTU - +mg/vJ+Z4DfzlPV/ps2YLzLzbCnA81hx+bdTf5D71zlWkXVOoovJbVGyP6zx - H9wUj6AZt3PF72KLSMljVwSAJZEXQaE+5NIpxDDbMuF3/N3aiFsGe2ZMj0ks - /CTShdJ3awQii8ATy/Wzn5/95aocTmXlDNEWV25BS3xLhEiIcO3tYm/5oTCj - hYvWdaPTeX4gizuDLcCfOvSqZXU8dJfhYkK2pdszS2jh1s2D0Pqxs3HpL5w+ - QEHLF8FPOrh+OhdY8azmCJdWuSNv+X1Q3hM72zox+yJGf20mHZuBV2oCfnCn - 1FCcKk8H7/pQ6UJj8F88PdKNCb2qtdyeDKOm4DNK/o/HnuM+6BPoPVKmaKLz - mdkB110SdS/7qC1AT6yt39TPanLMZspnl2NmcEdhB700VhMBmsC56J7JyRn6 - 6cwXZhtKonE06dPeuaXSOjK0hb6BNSl6mEcn5UOFKUNUgp5nuhm5gnXYZ5Mq - fOlLmAGSgrexqvO2n+fvfCD1nIFPYH7CTIQ84E0VnwLeNDLrdcTVnrEu0wj4 - 3z3S6F3u19m2sErgQn/JXWOY6zpgvWgjrzDHGJwlMYTL0GSeoWD0KSF44dQa - nBO3UFPx/64XXnl4nfMbhaFwDCaD2g/dnxi5J4zoAUdPoweAD+D0Tvmlpc/z - PGdL8AqZ5ruNcwt34MBtS+Oxp2JOGcKH5zk54u93W9xSe6vWyLZXswvrrAa9 - JDbXaFIB77eOIGGgvPoOV6C43VMpBCtGfl/WVjXOMxkUmfGk9BZc6de/nbXb - M3vt2XMK+AH3wONpB3ezuiN98KUB/w8M/BHBPZ7GOFe4s8iC8yjtrZ6OmCzQ - 5UntryCmzAwKeFz+GGtf7788fwd8uv/y/gvhHwAAAP//AwDuFDk8WAgAAA== - http_version: - recorded_at: Mon, 17 Jul 2017 03:28:22 GMT -- request: - method: post - uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/customers - body: - encoding: UTF-8 - string: | - - - f63513ec-3e61-088d-19fc-83585c192d45 - - headers: - Accept-Encoding: - - gzip - Accept: - - application/xml - User-Agent: - - Braintree Ruby Gem 2.76.0 - X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml - response: - status: - code: 201 - message: Created - headers: - Date: - - Mon, 17 Jul 2017 03:28:43 GMT - Content-Type: - - application/xml; charset=utf-8 - Transfer-Encoding: - - chunked - X-Frame-Options: - - SAMEORIGIN - - SAMEORIGIN - X-Xss-Protection: - - 1; mode=block - X-Content-Type-Options: - - nosniff - X-Authentication: - - basic_auth - X-User: - - 3v249hqtptsg744y - Vary: - - Accept-Encoding - Content-Encoding: - - gzip - Etag: - - W/"70771248482607f168fc33ff8a287f59" - Cache-Control: - - max-age=0, private, must-revalidate - X-Request-Id: - - d9ff36d0-7e27-48fc-a789-2656a16b780c - X-Runtime: - - '1.496885' - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - body: - encoding: ASCII-8BIT - string: !binary |- - H4sIAOsubFkAA6RTwY6bMBC95ysQd8eEpCFEhFQ99AOqVFr1Eg14IO4aG9lm - E/6+BkKyG7KHao/z3psZ+81Msr9UwntDbbiSO38xD3wPZa4Yl+XO/334STb+ - Pp0leWOsqlCnM89LOEs363C1WS6Wq4S6qAMdmZ9AWuLiSLMyDv9GWRUVr99O - y4S+Zzt1wbWxREKFnuRi51vdoE97SsBnTK6qGmQ7wbECLiZofVJyWqOAywQ7 - Y2a4fdJPI1hkBKxn2xp3PnOh5RX6aRgsIhJEZBEdguU23GxXyz8JvSf0+U3N - /i//njD0700nBUfBzO1JjFuSg2bmWhS0hnb8M7Q1CAJ5rhppPyo6wUQygA7O - uBBu5gRKjVjhMKkfZP3yEgZxEP9aB/EiXoWHhD5VjmW+aNlQ47pr5OOevYdH - KcMCGjH2ypQSCNJPuxkm9ErexP2apMZilSlhj1nTov4+hhaNnbsFS+ggG5N4 - BSWSRov0ZG1ttpSCMWjNPNPApXUWlO79Z2i7ZOrM7Rw5VmhPih2FKhUdDJ/X - styjfONayU6yMyBZpi7ufm4dxp6myUyueW3dTT6Zcq+x6hVlGsVnG7YJHaKR - ++LeDf82pDtYiYJwyS3v+EebCxDG+fxMeqvjft+NTBbq8bx6WvCKd50bg0Rp - 1k93KkzodGsfMdODwJhGN6CJbff9SWf/AAAA//8DAG6O6Q31BAAA - http_version: - recorded_at: Mon, 17 Jul 2017 03:28:43 GMT -- request: - method: post - uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions - body: - encoding: UTF-8 - string: | - - - 29.99 - R909387063-9T3SR4V7 - Solidus - - true - - 79wt2y - - Stembolt - Buyer - 1 Main St - San Jose - 95131 - CA - US - - 862483134 - sale - - headers: - Accept-Encoding: - - gzip - Accept: - - application/xml - User-Agent: - - Braintree Ruby Gem 2.76.0 - X-Apiversion: - - '4' Authorization: - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== - Content-Type: - - application/xml response: status: code: 201 message: Created headers: + Server: + - nginx Date: - - Mon, 17 Jul 2017 03:28:47 GMT + - Tue, 05 Feb 2019 22:19:59 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked - X-Frame-Options: - - SAMEORIGIN - - SAMEORIGIN - X-Xss-Protection: - - 1; mode=block - X-Content-Type-Options: - - nosniff X-Authentication: - - basic_auth - X-User: - - 3v249hqtptsg744y + - server_to_server + Braintree-Service-Origin: + - clientauth Vary: - Accept-Encoding Content-Encoding: - gzip Etag: - - W/"2a80759c13efc2f29185400d17ce9f9c" + - W/"637881560878c96a46f2832ddebe896a" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - - 37952e6d-ae7d-44ed-a99a-d12af9b0238c + - 6c1a3ae5-1654-4ed5-9f4c-e64835ebbdc2 X-Runtime: - - '2.971851' + - '0.263234' Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIAO8ubFkAA6xYX3ObOBB/76fw+PkUbOPEdofQS5u0k7veTadp0uu9ZATI - Rg1IVBJOfJ/+VgiwMCJxZ/pmdn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uPIhQ/A1ESIhwndX9t6ZR8KMbR8t6p1OJ/kzsYFjG7yhQ044TscjfxrZFlmVfs8coUUrPw8j5/vGxeXc9voQhS23wx908OfpRGClaZVhXDrl5p3+7q9nvSU2rtMw0PSLFzqmNFuTAfz6QA3lZ13N/Y53pVu6Bi+sHw70rM2Wu9ageiXSGeiHOsdQMxz+lhXj/pd1ZO0fFI7pNNTYNFCzQn6QMkWWzh/NDrDukrj7tY+6AvjE2uJN/6wmh+wRasanQ2ZwT80OfGmsJgI4gXPRPZPWccwK22wjSTSuNAd6pKA3hlYf+jtDVAKfR7ocsVLa1+AcVRRDTqmMUPeFpHk2xarPWx9M3ulAglZBJ+y/jABtqvUpzAsZUC9irvaMfZlGwC/+gcZQG2rxWM32mgWLGJeZoc4hqjGD/qc/0DjUMsvNSgyZhlvqrhSfZKUtRj9kv2Z/ma382DtQC0GdJuvV/JakxejlTmloBZ44ZzLWwO86G9fobYIOZw+o+aa+uUBWNWasINHIOeQ75N0xMcQkQ+HoH0KwrZ69m8uF/a6AO4n0Iw+veL/NHcCLaAq/97lgDsBRA3lxAP3sYX7gDuts+tCyOhTUNiEfectkM8AZMk9pA9lqbrgrsKbur2TtV+O84IlztoPv4Y4C/ntP6NbT4u7u9sv5HePT7Zf3bx8/AQAA//8DAHcUdTC0CAAA http_version: - recorded_at: Mon, 17 Jul 2017 03:28:48 GMT -recorded_with: VCR 3.0.3 + recorded_at: Tue, 05 Feb 2019 22:19:59 GMT +recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/cassettes/paypal/checkout.yml b/spec/fixtures/cassettes/paypal/checkout.yml index efc8ef50..77b3b4cb 100644 --- a/spec/fixtures/cassettes/paypal/checkout.yml +++ b/spec/fixtures/cassettes/paypal/checkout.yml @@ -16,83 +16,50 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: + Server: + - nginx Date: - - Mon, 17 Jul 2017 03:27:47 GMT + - Tue, 05 Feb 2019 22:28:24 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked - X-Frame-Options: - - SAMEORIGIN - - SAMEORIGIN - X-Xss-Protection: - - 1; mode=block - X-Content-Type-Options: - - nosniff X-Authentication: - - basic_auth - X-User: - - 3v249hqtptsg744y + - server_to_server + Braintree-Service-Origin: + - clientauth Vary: - Accept-Encoding Content-Encoding: - gzip Etag: - - W/"a18dc1bd182c7df02ac26fc55dfa9cbc" + - W/"04475db0bbf18a6de3827f9582b9d198" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - - f787a946-aac2-4752-a9cf-e9a2aa9b6251 + - fcefb594-271c-45d3-ae2c-780b7385f6cd X-Runtime: - - '0.137788' + - '0.208663' Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIALMubFkAA6RWXW+jOBR9n19RzfvsgCndRurMqGkCwQrOhBIb/AZ2Wj5s - km0SCPz6vaa7/ZC6o5H2IUqCr+89Pufca25+nLW6aLdPh3LXfPts/2F9vtg2 - YifL5vHb503sfbn+/OP7pxuhym1z/HLc1dvm+6eLi5s2U6ft922PEU/wkLHJ - Kah2/fIOFzKJdrmD91vtWeZ5pNWJI9qLBd7nzbpclcEln01VWkVFWk0rMuB6 - FeMiZESFQ6HCeG2FMVY8rs8rP71csfk5HG7d1WxacPjPddoRFg5pVWgyu3U4 - C2zCvPrBJz1nnsVZ9JAm60lY3Z5Jb3XwORN73YXDrifDziL95TmcBR0ZAkTi - +VM4u+1C72zDd0+0rYQmu5S5VoJU/TOWPfeFG+qdk2rL4fpgZzMiZ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wZWPAp/kjLgSECtd7yQ2rgW3DkmGeO1Dkcnbv5R/vh/y1wQI5ZfPMHvj+sd0zik8ldUSouYSb132tbPfhvnxU68OM0G/BAYgSHscfjH/y31NWZR+/Nho/mIBi1hLMoXJMVIiVf+yKMzTyRJ0FBH6ijU1ijfARP87d3owdluGfGQ5OsxTyJdaE8sDJCkcV+m00X51k6e9tXNbzKyRmiLa78gpb4mgiREOG7q8nemUfCjCc+WtQ7ndr5M5mAxhOYDR1ywnE6HvnTaGKRVen3zBFatPLzMHK+b1xczideH6Kw5ZPwBx38eWoLrDytMoxLp9y889/99ay3xMZ1Dgw8/TILHVOerckA8/pADTXPusL9TnflW7qGWVg/NPTszZa71qB6JdIZ6Ic+x1AzHP6WFeP+l3Vk7TeKx3QaamwaKKyQH6RMkaXzR7MDrrsk7n7to64APbG2eNM/q0mTPULN+NRkBvcUdtBLYzURoAmci+6ZtI5jVkzMNpJE48pz4EcKfmNo9eF8Z4hK0PNIlyNXyvsanKOKYsgplRHqvpA0z6ZY9Xk7B/Y7H0jwKviE/ZcR4E21PgW8kAH1IuZqz9iXaQTmxW9oDLWhFo8VttcsWMS4zAx1DlGNGfQ//4HHoZZZblZiyDTcUnel9CQrbTHOQ/YL+wu28uPZgVoI6hyyXuG3JC3GWe6Uh1YwE+dMxhrMu87GNXqboOY8Awrf1DcXyKrGjBUkGjWHfIe8OyaGsDMUjvNDCJ6od+9wubDfFXAnkX7U4ZXvt7kDfBFN8fc+F8wBNDpAXjTgnz3gB+2wzqYPLatDQScm5CNvmTwMcIbMU95AE4Ub7gqsqfsrWfvViBdm4pztMPdwR4H+vSd062lxd3f75fyN8en2y/uvj58AAAD//wMA8yyqnbQIAAA= http_version: - recorded_at: Mon, 17 Jul 2017 03:27:47 GMT + recorded_at: Tue, 05 Feb 2019 22:28:24 GMT - request: method: post uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/client_token @@ -109,276 +76,48 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 - X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== - Content-Type: - - application/xml - response: - status: - code: 201 - message: Created - headers: - Date: - - Mon, 17 Jul 2017 03:27:51 GMT - Content-Type: - - application/xml; charset=utf-8 - Transfer-Encoding: - - chunked - X-Frame-Options: - - SAMEORIGIN - - SAMEORIGIN - X-Xss-Protection: - - 1; mode=block - X-Content-Type-Options: - - nosniff - X-Authentication: - - basic_auth - X-User: - - 3v249hqtptsg744y - Vary: - - Accept-Encoding - Content-Encoding: - - gzip - Etag: - - W/"5a81d68ac25e1c063d7f6a5e66a67af6" - Cache-Control: - - max-age=0, private, must-revalidate - X-Request-Id: - - 05aa1358-ba5f-49b5-895c-16bc76d00b86 - X-Runtime: - - '0.074283' - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - body: - encoding: ASCII-8BIT - string: !binary |- - H4sIALcubFkAA6RWXW+jOBR9n19R9X12wJRuI3Vm1HxAsIIzIcSA38BOC8SG - TJNA4NfPNdnth9QdjbQPKBG+vvf4nHOvuf9+VvKq2T4firr6em3+ZVxfbSte - i6J6+nq9CZ3Pd9ffv32657LYVsfPx3q3rb59urq6b1J52n7bdhixGPdpNDp5 - Zd0tJjgXcVBnFt5vlWPo94GSJ4Zox+d4n1WrYll45nL6YJBydfb7pzYppVqG - HCWKlkk5u0ki3/Jdr0+UZ/mI7pbT2ZmUTzfLMC/9KW/hPfKnTs7CleG7q5ZN - 4X3v248u6VjkGCwKHpN4NfLLhzPpjBaeMzFXrd/XHelr01/fIFLyzu93LelX - z/70ofWdswm/HVGm5IrUSWQbMZK7H6HomMttX9VWogyLqYOZTgkXIewpWSsi - fEgj8pgiav+ITCtVx+ftXJR86ncJOtaZSgrgpMyQrdJIUK5aOD+uxTxoeV83 - C+S06druod4uUaObhcJdEsmTmGPJIpELl1pJvDslaHRclnDebnQEvsvUd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ztyCb604P8zB39EcI+nMck17ixy4Dxae6dj - AyYHdHnS+3cQU2YWAzxYPMbG1/svl++AT/df3n8h/AIAAP//AwD+FzsrWAgA - AA== - http_version: - recorded_at: Mon, 17 Jul 2017 03:27:51 GMT -- request: - method: post - uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/customers - body: - encoding: UTF-8 - string: | - - - b71143a3-214a-0811-1868-1b4d23f2c8e0 - - headers: - Accept-Encoding: - - gzip - Accept: - - application/xml - User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml - response: - status: - code: 201 - message: Created - headers: - Date: - - Mon, 17 Jul 2017 03:28:14 GMT - Content-Type: - - application/xml; charset=utf-8 - Transfer-Encoding: - - chunked - X-Frame-Options: - - SAMEORIGIN - - SAMEORIGIN - X-Xss-Protection: - - 1; mode=block - X-Content-Type-Options: - - nosniff - X-Authentication: - - basic_auth - X-User: - - 3v249hqtptsg744y - Vary: - - Accept-Encoding - Content-Encoding: - - gzip - Etag: - - W/"4e0a1cb3038772a9781a9ccea52d57f6" - Cache-Control: - - max-age=0, private, must-revalidate - X-Request-Id: - - 4a9ba42d-0e58-48d2-8150-7c32ad928710 - X-Runtime: - - '1.356984' - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - body: - encoding: ASCII-8BIT - string: !binary |- - H4sIAM4ubFkAA6RTTY+bMBC951cg7o5Jsg0hIqTqoT+gSqVVL9GAB+KuP5Bt - dsO/r4GQ7IbsodrjvPdmxn4zk+7PUgSvaCzXahcu5lEYoCo046rahb8PP8km - 3GeztGis0xJNNguClLNsnSTROtokSUp91IGeLE6gHPFxbFiVLP/GuYzLl2+n - VUrfs5265MY6okBioLjYhc40GNKeEvAZU2hZg2onOErgYoLWJ62mNUo4T7A3 - zC13D/oZBIeMgAtcW+MuZD50XGKYLaNFTKKYLOJDtNouN9vF05+U3hL6/KZm - /5d/Sxj696aTkqNg9vokxh0pwDB7KQrGQDv+GdoaBIGi0I1yHxWdYCIZQA/n - XAg/cwKVQZQ4TOoHWT8/L6MkSn6to2SRPC0PKX2oHMt80bKhxmXXyMc9ew+P - UoYlNGLslWstEFSYdTNM6YW8ivs1yaxDmWvhjnnTovk+hg6tm/sFS+kgG5O4 - hApJY0R2cq62W0rBWnR2nhvgynkLKv/+N2i7ZOrN7Rw5SnQnzY5CV5oOhs9r - Ve1RvXKjVSfZWVAs12d/P9cOY0/b5LYwvHb+Jh9Mudc4/YIqi1crs2YpHaKR - ++LeDf+2pDtYhYJwxR3v+HubSxDW+/xIeq3jf9+NTJX6/rx6WnDJu86NRaIN - 66c7FaZ0urX3mO1BYMygH9DEttv+ZLN/AAAA//8DACqgWnn1BAAA - http_version: - recorded_at: Mon, 17 Jul 2017 03:28:14 GMT -- request: - method: post - uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions - body: - encoding: UTF-8 - string: | - - - 29.99 - R481104599-PTWPVPB8 - Solidus - - true - - 733r6d - - Ryan - Bigg - 143 Swan Street - San Jose - 95131 - CA - US - - 699060899 - sale - - headers: - Accept-Encoding: - - gzip - Accept: - - application/xml - User-Agent: - - Braintree Ruby Gem 2.76.0 - X-Apiversion: - - '4' Authorization: - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== - Content-Type: - - application/xml response: status: code: 201 message: Created headers: + Server: + - nginx Date: - - Mon, 17 Jul 2017 03:28:18 GMT + - Tue, 05 Feb 2019 22:28:27 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked - X-Frame-Options: - - SAMEORIGIN - - SAMEORIGIN - X-Xss-Protection: - - 1; mode=block - X-Content-Type-Options: - - nosniff X-Authentication: - - basic_auth - X-User: - - 3v249hqtptsg744y + - server_to_server + Braintree-Service-Origin: + - clientauth Vary: - Accept-Encoding Content-Encoding: - gzip Etag: - - W/"84c18e41d3acb8d395078695ecc9f0fc" + - W/"d9ba57adc82aee78a807e284af0e2008" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - - 0ca6a8e1-e3d1-4964-bff3-07b2657d141d + - 2a1e7c82-c331-4e82-acde-a1adee828519 X-Runtime: - - '2.916366' + - '0.147613' Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIANIubFkAA6xYX3ObOBB/76fw+PkUbJPEpkPopU3byV3vJtMk7fVeMgLJ - Rg1IVBJOfJ/+VggwGJGkM/WTtfuTtNr/S/jmMc8mWyoVE/xsOj+aTSeUJ4Iw - vjmb3t58QKvpm+hVqCXmCicaUNGrySRkJPpxP5+vg1SHHiwMTWmsSxXhUqdC - sv8oCb2aZLh6V9BI4YyGXvXX0JJSSrhth5gSCC6l0e31RegNyQaMc1FyHS2C - oyAIvXplGDmVSYq5RjhJDBGBPErTPBYZCOfiVtKWMXLwJpxlZ1MtSzr17OkY - zpIvggpJAAnnfz5ezeez45MgQFc3X6++XL1dhV7LrV4uKdaUIKwnRhtnUwJL - zXI6jRaz+RLNlmi+vJn5rxer1/PTf0En7YZqf1mQl+9fwf79hlrzSgt4k1lY - c54Gwex0tjK6tTICec2k0ojjnB6+FZgZHuclIi8w3zk4NMcsc9AfaKyYdp1V - pIK76Gv8OLCA131XGLMsAz9u3+g65Ne/UGlJKfgJIZIq5VLBo6acGFuMQjKR - 4Ixp1/GSbiAIXXoSEG1ZFS9OecFp5W78OZZtdiOcFSlevAjlP4fiJViDJUNL - dYwDb1qXnLhCquWo2s+xlHjXY4IiO9nJdUiBpWagGkW1zmhOIXr7O1yH79PY - c8d3jo2xTlInJmVF8WJfjD7vMA+9DuHAIaO3bLMJvf3655wymh/7k+sHzCfX - Fd0k6h7/px01uobD/hAKsntL6vpr9O489Oq/A3eNgpO5Pw+9Lm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f3Xx//AgAA//8DAHTuuP60CAAA http_version: - recorded_at: Mon, 17 Jul 2017 03:28:18 GMT -recorded_with: VCR 3.0.3 + recorded_at: Tue, 05 Feb 2019 22:28:27 GMT +recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/cassettes/transaction/import/valid.yml b/spec/fixtures/cassettes/transaction/import/valid.yml index a0d08bca..ebba26f5 100644 --- a/spec/fixtures/cassettes/transaction/import/valid.yml +++ b/spec/fixtures/cassettes/transaction/import/valid.yml @@ -16,27 +16,26 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: Date: - - Mon, 17 Jul 2017 03:29:09 GMT + - Wed, 30 Jan 2019 00:27:58 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -50,38 +49,23 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"72540377ca1a9aa39a1047189b0ecf54" + - W/"032c34a96355ee59b2f62aebcfac4af7" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - 09b5fe1b-39b1-4792-9480-c7dc5446e12a X-Runtime: - - '0.407246' + - '0.464705' + X-Request-Id: + - 01-1548808077.974-24.20.226.151-5540262 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 01-1548808077.974-24.20.226.151-5540262 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIAAUvbFkAA6xVPXPjOAzt8ys86hlJjr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p6Fcd0MmBmOS1JHNJ3PF7NlOl+mfsruAnafpImPQDqbB3GKYht17e7+D5NtCzJXxLDNiBg7+8BDYxiHVj2bkXpMDDf7EVDPzrCZo3D2j8HbIXuy+t8zdC6v/ctL/9LKv2LhX7XuLy77C6v+ykV/7Zq/dslfveL/ueD/y/b5cAuE7kBt3QHw2MspuvkLAAD//wMAAOqT63sMAAA= http_version: - recorded_at: Mon, 17 Jul 2017 03:29:09 GMT -recorded_with: VCR 3.0.3 + recorded_at: Wed, 30 Jan 2019 00:27:58 GMT +recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/cassettes/transaction/import/valid/capture.yml b/spec/fixtures/cassettes/transaction/import/valid/capture.yml index a7ee71bb..1eb15806 100644 --- a/spec/fixtures/cassettes/transaction/import/valid/capture.yml +++ b/spec/fixtures/cassettes/transaction/import/valid/capture.yml @@ -16,27 +16,26 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: Date: - - Mon, 17 Jul 2017 03:29:16 GMT + - Wed, 30 Jan 2019 00:26:30 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -50,40 +49,25 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"87417900be3f30d2e206c44fa226c369" + - W/"3506d8db93dd22b0cc57e9f1486c0a04" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - ecb5e557-6f43-473f-b6da-b649add7a1f7 X-Runtime: - - '0.349737' + - '0.509088' + X-Request-Id: + - 02-1548807989.835-24.20.226.151-26378819 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 02-1548807989.835-24.20.226.151-26378819 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIAAwvbFkAA6xVu3bbMAzd8xU+2mlZfjtHZraOXZp06NJDiZDFmiIVknLs - vy8p6+WHHOc4m3BxQULAJRC+7DM+2IHSTIq1FwxH3gBELCkTm7X39voDLb0X - /BTGhTYyA4WfBoOQUTyezOfzyWQyDX1rOdA645QIg6y9UHSzGv9bRNki2c7S - Seh3vY6dMKUNEiSDgWB87RlVgOeXLk76PLHMciIOFzhkhPELNE+luDwjIfsL - 7AMizcyV+xQQAxQRMzCHHNYetaZhGXh4PAoWaLRAweJ1NHker56D+Z/QbwPK - +CKnX4tvA473l0VHCQNOdZMSZQbFRFFdHUqUIgfPeU/9R8RiEePcthMRShVo - XePHRk5p3cEKqzuNTrvchVtyfxsrQm8z69uut7TyaqMATJ14Dwn2BgR1VbtJ - 4zImnJm+qxRs7AvoceZSG8KRfRaAV9NgtAj9LtT9nUIYdShhRHieknHvj58z - J/cwRWF7wOJPqLcK/pimq1MeVHZ5ht+jS6tXgaejYLxcOo5ocCdq5K7Dv5km - NrPG7jJSyamVaV8JnOLcMGKE4zexFfJD2JNarKUdSykTxLQuiIgBO+Il2kQ8 - XtkvPL6W6oRtrHbx268Os0FrPoWImfaXj2brTEjB68QjKTkQ4WFXOkctnS25 - ULYtyL6Ygrsf6Bx67qlDYJ8zVeaDMilMioNx6F+AV9gHIMqWbzw6oZfoCRvo - ee4J4RqqqE4mKRBuUisUaNPuYDWNZWQDqFAcp8bk+tn3idZg9DBShAk3ljb2 - Bz/IYWi14+fkkIEwfzMwqaR/udxIf2c1OszF5gXEjikpHGGtiaCR3NuR25zf - 3Gj15F5DRMS2Te0EranlUJ3iYLkMQr8yap9NRUne0XYNNAQFObE6+imtr/pu - fZIWcbm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KPrYqVAq/tEYsrtWstNZt7w4d70nlvhQwlc/yhBF4L8YCIX7s70+H3F8yfgOyoFt4SNwpwkYm9Wdn9//6JpRDtNCebbIbQTtKM2S3kR+2HoR2576GwmFCnYaDY6oCdIqLBJyN/C2Nrfg02QOm1EfvAfsI6m6kSlkla2iKcqNoypFlvg8Tb8GQZF5B5Pna3m9Gfd7MKkGQaTGWpEUsY4Wy5Xi3W2XGd+RuYheUiz1DdAtliGSWaabdK1v/s3bLYd8FIgRbYTzdjbRx7ShHEc1YsZadbEWNlPgGZ3Ru0ehYt/DN4v2TPp/8jSuS7710X/muTfIPg3yf1Vsb8i9TcK/a0yf6vI3yzxvxT436I+nx6ByB11W38AcxzaKb77HwAA//8DAPjNF4R7DAAA http_version: - recorded_at: Mon, 17 Jul 2017 03:29:16 GMT + recorded_at: Wed, 30 Jan 2019 00:26:30 GMT - request: method: post uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions @@ -98,7 +82,7 @@ http_interactions: true - 8xyhqt + k8q82h John Doe @@ -108,7 +92,6 @@ http_interactions: AL US - 236663334 sale headers: @@ -117,27 +100,26 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: Date: - - Mon, 17 Jul 2017 03:29:17 GMT + - Wed, 30 Jan 2019 00:26:32 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -151,57 +133,28 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"a0e47e5a71887fc9a8ff1421dd6a7fff" + - W/"9d8a2c873a6a2f1045cfb78f1dc807c7" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - 942e40b6-871c-4310-9411-652db98c1209 X-Runtime: - - '0.409528' + - '0.639992' + X-Request-Id: + - 02-1548807991.176-24.20.226.151-26378972 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 02-1548807991.176-24.20.226.151-26378972 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIAA0vbFkAA7RYwXLbNhC95ys0usMkJdmWMzRSN55O20lzqJMeesmABCjC - JgEGAGUpX98FQVKkCNrOoT6Juw+L3cVi98Hxh0NZLPZMaS7F7TK6CJcLJlJJ - udjdLr9++Q1tlx/wu9goIjRJDaDwu8Ui5hSHj48pM99/xAF8WJk2xNQak9rk - UvEfjMZBK7Jac6wY1qRgcdD8tLK0Vgp2OyKuJYJNGf76cB8HU7EFk1LWwuDo - 8iIM46D9soqSqTQnwiCSplaIwB9tWJnIwsSBT9t4WyfIo1sIXtwujarZMnDW - CdhSb4JKRQEJ9v++6f7Q3a8f76PVehMHvbaJXDFiGEXELGw2bpcUPg0v2RKv - wugahdcouv4Srt+vbt5H1/9CTvoFzfq6oj+3/rSgzbw2EmKyH+44V+urq6v1 - 2nrqfARxxpU2SJCSnccKyoLM61JZVkQcPRpWEl545M8s0dz4bFW5FD55Rg6T - EwiGccUJLwqo41OMG/r/BqeNYgxKhFLFtPZFfzBMUHsMs5BCpqTgxmdesR3c - P1+KJFy0wl2Vm00UXsfBUNS5DWWrjvNRObVdgUhR5WT1JtT6NZSo4Tx4Oj2r - wfFAaFktqO9S9RrdVjpRihxHSsjnoD/5jFREGQ7p0MyYgpUM7u94hc/4qZG9 - Zn5gNiEmzb2YnFfVsBp9Jd2XJP5T5iIOBoKzusT3Ejrp6fPnShNH4eKT3LPi - uHhoFIvPUpn8mWljm/YI+tOVi39n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CkTSZbBKEgeJh2eZuLu5eVkZnj09J9neiskPaJ5mvQvbNDzEOJDIyg5ipsnbmvTd1KTQmwINaVjPKUO21mdik6DHbdXc7TFbHcHTGdQgBPloApXC0VPhHAEVSiUw/B4Rn5wUp6K3zdUpPaf6Xsi7o6E18k1Z9oMlMN3FxRK6ygSuN3R3Hc79lCdn6pNrnXN7t2I827gn8ekFh9ZM3rzNYn6TfV1+KOPFOv3682b5/osIyKiDOxm+CTt8kuG3gTnMgppsUjX9/7kF8i/63XFqeXQ2aFPR2X8AAAD//wMAf6mngrIVAAA= http_version: - recorded_at: Mon, 17 Jul 2017 03:29:17 GMT + recorded_at: Wed, 30 Jan 2019 00:26:32 GMT - request: method: put - uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/0jjcetqz/submit_for_settlement + uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/c3w1j5vh/submit_for_settlement body: encoding: UTF-8 string: | @@ -215,27 +168,26 @@ http_interactions: Accept: - application/xml User-Agent: - - Braintree Ruby Gem 2.76.0 + - Braintree Ruby Gem 2.94.0 X-Apiversion: - - '4' - Authorization: - - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== + - '5' Content-Type: - application/xml + Authorization: + - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 200 message: OK headers: Date: - - Mon, 17 Jul 2017 03:29:18 GMT + - Wed, 30 Jan 2019 00:26:33 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN - - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -249,53 +201,23 @@ http_interactions: Content-Encoding: - gzip Etag: - - W/"589f563842c101f221978f143b55fd6f" + - W/"c896136248e67ae8262663deddda9021" Cache-Control: - max-age=0, private, must-revalidate - X-Request-Id: - - 867ea38d-9997-4681-8819-04a48cd0ddd1 X-Runtime: - - '0.233875' + - '0.346884' + X-Request-Id: + - 02-1548807992.696-24.20.226.151-26379038 + Content-Security-Policy: + - frame-ancestors 'self' + X-Broxyid: + - 02-1548807992.696-24.20.226.151-26379038 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- - H4sIAA4vbFkAA8xYzXLbNhC+5yk0usMkJdmWMzRSN55O20lzqJMeevGABGjC - JgEGAGUpT98FQVKkCNrOdDpTn8TdD4vdxf46/rAvi8WOKc2luF5GZ+FywUQq - KRcP18uvX35B2+UH/C42ighNUgMo/G6xiDnF4eNjysy373EAH5amDTG1xrpO - Sm4Mo/eZVPeaGVOwkgkTBy3AYs2hYliTgsVB89PS0lopuPuAuJYIVGD4691t - HEzJFkxKWQuDo/OzMIyD9ssySqbSnAiDSJpaIgLttGFlIgtQwcdtdK8T5OEt - BC+ul0bVbBk46QRkqTdBpaKABPl/XnV/6Obnj7fRar2Jg57bWK4YAYchYhbW - G9dLCp+Gl2yJV2F0icJLFF1+CdfvV1fvo8u/wSf9geZ8XdG3n9/C+eOB1vPa - SLDJfrjHXa0vLi7Wa6up0xHIGVfaIEFKdmorMAsyz0tlWRFx8HBYSXjhoT+z - RHPjk1XlUvjoGdlPXiAY2hUnvCggqo82buh/a5w2ijEIEUoV09pn/d4wQe0z - zEIKmZKCG594xR4gG30ukpBohUuVq00UXsbBkNSpDWGrDvNWObY9gUhR5WT1 - JtT6NZSo4T14On2rwfOAaVktqC+peo5uI50oRQ4jJvhzUK18QiqiDAd3HGvT - yQmfcFKbXCr+/XXxA7EJMWnuxeS8qobR6AvpPiTx7zIXcTAgnMQlvpVQSY+f - PxaaOAoXn+SOFYfFXcNYfJbK5M9MN0V7BP3hyMW/MiWoBPV7yjB+8c2nOGh/ - TsN3FYXbLQpX5+evxTD+KqBgUDAACpteyGxx0wQagSowhM2GNzSbI3RInw11 - OHHjO7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AepXsbZlaEcAVu7TJYJYljroFrmTi7OXlZmdFjenS0dAOT78AnzHoXtuEAiHHg1ZWdTQ3vsWX6xpTp0JsCDZlpzylDAtsnp5Ogx23VdPYxWx3n1RnUIAT5aAKVwtZT4ZyKFUolDD292WRyeJ6K3jZXp/Sc6jshb4/m+Mg3RdoPlkD+F2dLaLQTuN53iK7pu6/ywc8MD651fsroVozHPffHiekFB7ZC3rzNYn6VfV1+KOPFOv3642r5/osIyIjUOIceE3b4waGnDcxhFtT8m6rpT5YL5J/1e+XU8uhk0Kaik/8AAAD//wMAl+wbBtMWAAA= http_version: - recorded_at: Mon, 17 Jul 2017 03:29:18 GMT -recorded_with: VCR 3.0.3 + recorded_at: Wed, 30 Jan 2019 00:26:33 GMT +recorded_with: VCR 4.0.0 diff --git a/spec/models/solidus_paypal_braintree/gateway_spec.rb b/spec/models/solidus_paypal_braintree/gateway_spec.rb index 7eb3a27d..2f901729 100644 --- a/spec/models/solidus_paypal_braintree/gateway_spec.rb +++ b/spec/models/solidus_paypal_braintree/gateway_spec.rb @@ -461,11 +461,31 @@ end end - context "when the source already has a customer" do - before { source.build_customer } + context "when the source already has a customer", + vcr: { cassette_name: "braintree/add_payment_method" } do + let(:previous_payment) do + build(:payment, { + payment_method: gateway, + source: previous_source + }) + end + + let(:previous_source) do + SolidusPaypalBraintree::Source.new( + nonce: 'fake-valid-nonce', + user: user, + payment_type: payment_type, + payment_method: gateway + ) + end + + before do + gateway.create_profile(previous_payment) + source.user.reload + end it "does not create a new customer profile" do - expect(profile).to be_nil + expect(profile).to eql previous_source.customer end end @@ -617,7 +637,7 @@ gateway end - it { is_expected.to match(/Token generation is disabled/) } + it { expect { subject }.to raise_error SolidusPaypalBraintree::Gateway::TokenGenerationDisabledError } end end end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 042957d7..dcdf4393 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -58,6 +58,7 @@ config.use_transactional_fixtures = false config.example_status_persistence_file_path = "tmp/failed_examples.txt" + config.include Devise::Test::ControllerHelpers, type: :controller config.include SolidusPaypalBraintree::GatewayHelpers config.before(:each, type: :feature, js: true) do |ex|