solidus_culqi 0.0.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +5 -5
  2. data/.rubocop.yml +25 -36
  3. data/.travis.yml +10 -17
  4. data/Gemfile +8 -2
  5. data/Rakefile +2 -0
  6. data/app/models/concerns/solidus_culqi/inject_installments_concern.rb +3 -1
  7. data/app/models/concerns/solidus_culqi/permitted_attributes_concern.rb +2 -0
  8. data/app/models/payment_decorator.rb +5 -1
  9. data/app/models/permitted_attributes_decorator.rb +5 -1
  10. data/app/models/solidus/gateway/culqi_gateway.rb +18 -11
  11. data/bin/geckodriver +28 -0
  12. data/config/routes.rb +2 -0
  13. data/db/migrate/20170919145201_add_installments_to_orders.rb +2 -0
  14. data/lib/generators/solidus_culqi/install/install_generator.rb +2 -0
  15. data/lib/solidus_culqi.rb +2 -1
  16. data/lib/solidus_culqi/engine.rb +3 -1
  17. data/lib/solidus_culqi/factories.rb +3 -1
  18. data/lib/solidus_culqi/support.rb +2 -0
  19. data/lib/solidus_culqi/version.rb +3 -1
  20. data/solidus_culqi.gemspec +7 -7
  21. data/spec/models/culqi_gateway_spec.rb +11 -0
  22. data/spec/spec_helper.rb +5 -31
  23. metadata +11 -79
  24. data/app/views/spree/checkout/existing_payment/_culqi.html.erb +0 -3
  25. data/app/views/spree/checkout/payment/_culqi.html.erb +0 -79
  26. data/lib/solidus_culqi/gateway.rb +0 -29
  27. data/spec/cassettes/Culqi_checkout/with_logged_user/store_card_in_wallet.yml +0 -206
  28. data/spec/cassettes/Culqi_checkout/with_unlogged_user/with_process_checkout/capture_payment.yml +0 -207
  29. data/spec/cassettes/Culqi_checkout/with_unlogged_user/with_process_checkout/process_order.yml +0 -156
  30. data/spec/cassettes/Culqi_checkout/with_unlogged_user/with_process_checkout/voids_a_payment.yml +0 -207
  31. data/spec/cassettes/Culqi_checkout_autocapture/with_valid_credit_card/can_process_a_valid_payment.yml +0 -156
  32. data/spec/cassettes/Culqi_checkout_autocapture/with_valid_credit_card/refunds_a_payment.yml +0 -207
  33. data/spec/features/culqi_checkout_autocapture_spec.rb +0 -77
  34. data/spec/features/culqi_checkout_spec.rb +0 -94
  35. data/spec/models/culqi_gateway.rb +0 -16
  36. data/spec/support/culqi_helper.rb +0 -51
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ describe Solidus::Gateway::CulqiGateway, type: :model do
6
+ let!(:gateway) { described_class.new }
7
+
8
+ it { gateway.respond_to?(:partial_name) }
9
+ it { expect(gateway.partial_name).to eq('culqi') }
10
+ it { expect(gateway.gateway_class).to eq(Solidus::Gateway::CulqiGateway) }
11
+ end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Run Coverage report
2
4
  require 'simplecov'
3
5
  SimpleCov.start do
@@ -13,31 +15,19 @@ end
13
15
  # Configure Rails Environment
14
16
  ENV['RAILS_ENV'] = 'test'
15
17
 
16
- require File.expand_path('../dummy/config/environment.rb', __FILE__)
18
+ require File.expand_path('dummy/config/environment.rb', __dir__)
17
19
 
18
20
  require 'rspec/rails'
19
21
  require 'database_cleaner'
20
22
  require 'ffaker'
21
- require 'vcr'
22
- require 'webmock'
23
- require 'capybara/rspec'
24
- require 'capybara/poltergeist'
25
23
  require 'pry'
26
24
 
27
- Capybara.register_driver(:poltergeist) do |app|
28
- Capybara::Poltergeist::Driver.new app, timeout: 90
29
- end
30
- Capybara.javascript_driver = :poltergeist
31
- Capybara.default_max_wait_time = 30
32
-
33
25
  # Requires supporting ruby files with custom matchers and macros, etc,
34
26
  # in spec/support/ and its subdirectories.
35
- Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require f }
27
+ Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].sort.each { |f| require f }
36
28
 
37
29
  # Requires factories and other useful helpers defined in spree_core.
38
30
  require 'spree/testing_support/authorization_helpers'
39
- require 'spree/testing_support/capybara_ext'
40
- require 'spree/testing_support/controller_requests'
41
31
  require 'spree/testing_support/factories'
42
32
  require 'spree/testing_support/url_helpers'
43
33
  require 'spree/testing_support/preferences'
@@ -46,9 +36,7 @@ require 'spree/testing_support/preferences'
46
36
  require 'solidus_culqi/factories'
47
37
 
48
38
  RSpec.configure do |config|
49
- config.include FactoryGirl::Syntax::Methods
50
- config.include CulqiHelper
51
- config.include Spree::TestingSupport::UrlHelpers
39
+ config.include FactoryBot::Syntax::Methods
52
40
  config.include Spree::TestingSupport::Preferences
53
41
 
54
42
  # Infer an example group's spec type from the file location.
@@ -82,7 +70,6 @@ RSpec.configure do |config|
82
70
  config.before :each do
83
71
  DatabaseCleaner.strategy = RSpec.current_example.metadata[:js] ? :truncation : :transaction
84
72
  DatabaseCleaner.start
85
- reset_spree_preferences
86
73
  end
87
74
 
88
75
  # After each spec clean the database.
@@ -92,17 +79,4 @@ RSpec.configure do |config|
92
79
 
93
80
  config.fail_fast = ENV['FAIL_FAST'] || false
94
81
  config.order = 'random'
95
-
96
- if SolidusCulqi::Support.solidus_earlier('2.3.x')
97
- config.filter_run_excluding new_gateway: true
98
- else
99
- config.filter_run_excluding old_gateway: true
100
- end
101
- end
102
-
103
- VCR.configure do |c|
104
- c.cassette_library_dir = "spec/cassettes"
105
- c.hook_into :webmock
106
- c.ignore_localhost = true
107
- c.configure_rspec_metadata!
108
82
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_culqi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - César Carruitero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-16 00:00:00.000000000 Z
11
+ date: 2021-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: solidus_core
14
+ name: culqi-ruby
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: solidus_support
28
+ name: solidus_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: culqi-ruby
42
+ name: solidus_support
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -52,34 +52,6 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: capybara
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: poltergeist
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
55
  - !ruby/object:Gem::Dependency
84
56
  name: database_cleaner
85
57
  requirement: !ruby/object:Gem::Requirement
@@ -95,7 +67,7 @@ dependencies:
95
67
  - !ruby/object:Gem::Version
96
68
  version: '0'
97
69
  - !ruby/object:Gem::Dependency
98
- name: factory_girl
70
+ name: factory_bot
99
71
  requirement: !ruby/object:Gem::Requirement
100
72
  requirements:
101
73
  - - ">="
@@ -178,34 +150,6 @@ dependencies:
178
150
  - - ">="
179
151
  - !ruby/object:Gem::Version
180
152
  version: '0'
181
- - !ruby/object:Gem::Dependency
182
- name: vcr
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - ">="
186
- - !ruby/object:Gem::Version
187
- version: '0'
188
- type: :development
189
- prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - ">="
193
- - !ruby/object:Gem::Version
194
- version: '0'
195
- - !ruby/object:Gem::Dependency
196
- name: webmock
197
- requirement: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - ">="
200
- - !ruby/object:Gem::Version
201
- version: '0'
202
- type: :development
203
- prerelease: false
204
- version_requirements: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - ">="
207
- - !ruby/object:Gem::Version
208
- version: '0'
209
153
  description: Adds solidus support for Culqi Gateway
210
154
  email: ccarruitero@protonmail.com
211
155
  executables: []
@@ -225,8 +169,7 @@ files:
225
169
  - app/models/payment_decorator.rb
226
170
  - app/models/permitted_attributes_decorator.rb
227
171
  - app/models/solidus/gateway/culqi_gateway.rb
228
- - app/views/spree/checkout/existing_payment/_culqi.html.erb
229
- - app/views/spree/checkout/payment/_culqi.html.erb
172
+ - bin/geckodriver
230
173
  - bin/rails
231
174
  - config/locales/en.yml
232
175
  - config/routes.rb
@@ -235,21 +178,11 @@ files:
235
178
  - lib/solidus_culqi.rb
236
179
  - lib/solidus_culqi/engine.rb
237
180
  - lib/solidus_culqi/factories.rb
238
- - lib/solidus_culqi/gateway.rb
239
181
  - lib/solidus_culqi/support.rb
240
182
  - lib/solidus_culqi/version.rb
241
183
  - solidus_culqi.gemspec
242
- - spec/cassettes/Culqi_checkout/with_logged_user/store_card_in_wallet.yml
243
- - spec/cassettes/Culqi_checkout/with_unlogged_user/with_process_checkout/capture_payment.yml
244
- - spec/cassettes/Culqi_checkout/with_unlogged_user/with_process_checkout/process_order.yml
245
- - spec/cassettes/Culqi_checkout/with_unlogged_user/with_process_checkout/voids_a_payment.yml
246
- - spec/cassettes/Culqi_checkout_autocapture/with_valid_credit_card/can_process_a_valid_payment.yml
247
- - spec/cassettes/Culqi_checkout_autocapture/with_valid_credit_card/refunds_a_payment.yml
248
- - spec/features/culqi_checkout_autocapture_spec.rb
249
- - spec/features/culqi_checkout_spec.rb
250
- - spec/models/culqi_gateway.rb
184
+ - spec/models/culqi_gateway_spec.rb
251
185
  - spec/spec_helper.rb
252
- - spec/support/culqi_helper.rb
253
186
  homepage: https://github.com/ccarruitero/solidus_culqi
254
187
  licenses:
255
188
  - MIT
@@ -260,17 +193,16 @@ require_paths:
260
193
  - lib
261
194
  required_ruby_version: !ruby/object:Gem::Requirement
262
195
  requirements:
263
- - - ">="
196
+ - - "~>"
264
197
  - !ruby/object:Gem::Version
265
- version: '0'
198
+ version: '2.6'
266
199
  required_rubygems_version: !ruby/object:Gem::Requirement
267
200
  requirements:
268
201
  - - ">="
269
202
  - !ruby/object:Gem::Version
270
203
  version: '0'
271
204
  requirements: []
272
- rubyforge_project:
273
- rubygems_version: 2.6.13
205
+ rubygems_version: 3.1.4
274
206
  signing_key:
275
207
  specification_version: 4
276
208
  summary: Adds solidus support for Culqi Gateway
@@ -1,3 +0,0 @@
1
- <%= render "spree/checkout/existing_payment/gateway",
2
- wallet_payment_source: wallet_payment_source,
3
- default: default %>
@@ -1,79 +0,0 @@
1
- <%= render "spree/checkout/payment/gateway", payment_method: payment_method %>
2
- <% param_prefix = "payment_source[#{payment_method.id}]" %>
3
-
4
- <p class="field installmentField">
5
- <%= label_tag "installments", Spree.t(:installments) %><span class="required">*</span><br />
6
- <%= select_tag "[order][installments]", [], class: "culqiInstallments" %>
7
- </p>
8
-
9
- <script type="text/javascript" src="https://checkout.culqi.com/v2"></script>
10
- <script type="text/javascript">
11
- Culqi.publicKey = "<%= payment_method.preferred_public_key %>";
12
- Culqi.useClasses = true;
13
- Culqi.init();
14
-
15
- var paymentMethodId = "<%= payment_method.id %>";
16
- Spree.culqiPaymentMethod = $('#payment_method_' + paymentMethodId);
17
- $('.installmentField').toggle();
18
-
19
- function addCulqiField(className, value) {
20
- Spree.culqiPaymentMethod.append("<input type='hidden' value='" + value + "' class='"+ className +"'/>");
21
- }
22
-
23
- function addCulqiSelectOptions(className, options) {
24
- var select = Spree.culqiPaymentMethod.find(className);
25
- for(var i=0; i < options.length; i++) {
26
- select.append("<option value='" + options[i] + "'>" + options[i] + "</option");
27
- }
28
- $('.installmentField').toggle();
29
- }
30
-
31
- function goToNextStep() {
32
- Spree.culqiPaymentMethod.parents("form").get(0).submit();
33
- }
34
-
35
- function allowedInstallments(token) {
36
- var installments = token['iin']['installments_allowed'];
37
- var submitBtn = $('#checkout_form_payment [data-hook=buttons]');
38
- if (installments.length > 0) {
39
- (installments.indexOf(0) !== -1) ? null : installments.unshift(0);
40
- Spree.culqiPaymentMethod.find('#card_number, #card_expiry, #card_code').prop("disabled", true);
41
- addCulqiSelectOptions('.culqiInstallments', installments);
42
- submitBtn.off('click');
43
- submitBtn.click(function(e) {
44
- e.preventDefault();
45
- goToNextStep();
46
- });
47
- } else {
48
- goToNextStep();
49
- }
50
- }
51
-
52
- function culqi() {
53
- if (Culqi.token) {
54
- Spree.culqiPaymentMethod.append("<input type='hidden' name='<%= param_prefix %>[gateway_payment_profile_id]' value='" + Culqi.token['id'] + "'/>");
55
- allowedInstallments(Culqi.token)
56
- } else if (Culqi.error) {
57
- $('#culqiError').html(Culqi.error['user_message']);
58
- return $('#culqiError').show();
59
- }
60
- }
61
-
62
- Spree.culqiPaymentMethod.find('.cardCode').addClass('culqi-cvv');
63
-
64
- $(document).ready(function() {
65
- Spree.culqiPaymentMethod.prepend("<div id='culqiError' class='errorExplanation' style='display:none'></div>");
66
- $('#checkout_form_payment [data-hook=buttons]').click(function(e) {
67
- if (Spree.culqiPaymentMethod.is(':visible')) {
68
- e.preventDefault();
69
- var expiration = $('.cardExpiry:visible').payment('cardExpiryVal');
70
- var cardNumber = Spree.culqiPaymentMethod.find('.cardNumber').val().replace(/ /g,'')
71
- addCulqiField('culqi-email', '<%= @order.email %>');
72
- addCulqiField('culqi-expm', expiration['month']);
73
- addCulqiField('culqi-expy', expiration['year']);
74
- addCulqiField('culqi-card', cardNumber);
75
- Culqi.createToken();
76
- }
77
- });
78
- });
79
- </script>
@@ -1,29 +0,0 @@
1
- module SolidusCulqi
2
- module Gateway
3
- def self.parent_class
4
- if SolidusCulqi::Support.solidus_earlier('2.3.x')
5
- Spree::Gateway
6
- else
7
- Spree::PaymentMethod::CreditCard
8
- end
9
- end
10
-
11
- def partial_method(partial_name)
12
- common_method('method_type', 'partial_name', partial_name)
13
- end
14
-
15
- def provider_method(provider_class)
16
- common_method('provider_class', 'gateway_class', provider_class)
17
- end
18
-
19
- private
20
-
21
- def common_method(old_method, new_method, method_value)
22
- if SolidusCulqi::Support.solidus_earlier('2.3.x')
23
- define_method(old_method) { method_value }
24
- else
25
- define_method(new_method) { method_value }
26
- end
27
- end
28
- end
29
- end
@@ -1,206 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://api.culqi.com/v2/customers/
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - "*/*"
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - api.culqi.com
18
- Authorization:
19
- - Bearer sk_test_SpwICNI4YT0OSLHY
20
- Content-Type:
21
- - application/json
22
- Cache-Control:
23
- - no-cache
24
- response:
25
- status:
26
- code: 200
27
- message: OK
28
- headers:
29
- Server:
30
- - ":"
31
- - nginx
32
- Date:
33
- - Thu, 12 Oct 2017 15:40:57 GMT
34
- Content-Type:
35
- - application/json;charset=UTF-8
36
- Transfer-Encoding:
37
- - chunked
38
- Connection:
39
- - keep-alive
40
- Set-Cookie:
41
- - JSESSIONID=1A99777A77FBED1B8F22DDC666ED6DED; Path=/api/; HttpOnly
42
- X-Culqi-Tracking-Id:
43
- - '1924588'
44
- X-Culqi-Environment:
45
- - test
46
- X-Culqi-Version:
47
- - 2.0.0
48
- body:
49
- encoding: ASCII-8BIT
50
- string: !binary |-
51
- eyJk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9obmZRRVhFTVhKblBaQTVVIiwiY3JlYXRpb25fZGF0ZSI6MTUwNDM3MTYyNjAwMCwiZW1haWwiOiJ0ZXN0M2QzOWY4ZTctYzQ4Mi00NzE0LThmZjEtNjc2Mjc5Yzg1ZjVkQGN1bHFpLmNvbSIsImFudGlmcmF1ZF9kZXRhaWxzIjp7ImZpcnN0X25hbWUiOiJXaWxsaWFtIiwibGFzdF9uYW1lIjoiTXVybyIsImFkZHJlc3MiOiJBdmVuaWRhIExpbWEgMTIzMjEzIiwiYWRkcmVzc19jaXR5IjoiTElNQSIsImNvdW50cnlfY29kZSI6IlBFIiwicGhvbmUiOiI5OTg5ODk3ODkiLCJvYmplY3QiOiJjbGllbnQifSwiY2FyZHMiOltdLCJtZXRhZGF0YSI6eyJvdGhlcl9udW1iZXIiOiI3ODk5NTM2NTUifX1dLCJwYWdpbmciOnsicHJldmlvdXMiOiJodHRwczovL2FwaS5jdWxxaS5jb20vdjIvY3VzdG9tZXJzP2xpbWl0PTUwJmJlZm9yZT1jdXNfdGVzdF9DQWNTckNrQmw4WlI5YnBUIiwibmV4dCI6Imh0dHBzOi8vYXBpLmN1bHFpLmNvbS92Mi9jdXN0b21lcnM/bGltaXQ9NTAmYWZ0ZXI9Y3VzX3Rlc3RfaG5mUUVYRU1YSm5QWkE1VSIsImN1cnNvcnMiOnsiYmVmb3JlIjoiY3VzX3Rlc3RfQ0FjU3JDa0JsOFpSOWJwVCIsImFmdGVyIjoiY3VzX3Rlc3RfaG5mUUVYRU1YSm5QWkE1VSJ9fX0=
52
- http_version:
53
- recorded_at: Thu, 12 Oct 2017 15:40:57 GMT
54
- - request:
55
- method: post
56
- uri: https://api.culqi.com/v2/customers/
57
- body:
58
- encoding: UTF-8
59
- string: '{"address":"YT-1300","address_city":"Alabama","country_code":"US","email":"rolf@morissettelubowitz.info","first_name":"Han","last_name":"Solo","phone_number":"5555555555"}'
60
- headers:
61
- Accept-Encoding:
62
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
63
- Accept:
64
- - "*/*"
65
- User-Agent:
66
- - Ruby
67
- Host:
68
- - api.culqi.com
69
- Authorization:
70
- - Bearer sk_test_SpwICNI4YT0OSLHY
71
- Content-Type:
72
- - application/json
73
- Cache-Control:
74
- - no-cache
75
- response:
76
- status:
77
- code: 201
78
- message: Created
79
- headers:
80
- Server:
81
- - ":"
82
- - nginx
83
- Date:
84
- - Thu, 12 Oct 2017 15:40:57 GMT
85
- Content-Type:
86
- - application/json;charset=UTF-8
87
- Transfer-Encoding:
88
- - chunked
89
- Connection:
90
- - keep-alive
91
- Set-Cookie:
92
- - JSESSIONID=3DC5DA1924180965D9E407B8A6D576E5; Path=/api/; HttpOnly
93
- X-Culqi-Tracking-Id:
94
- - '1924589'
95
- X-Culqi-Environment:
96
- - test
97
- X-Culqi-Version:
98
- - 2.0.0
99
- body:
100
- encoding: UTF-8
101
- string: '{"object":"customer","id":"cus_test_vzsZCYnldWZeObod","creation_date":1507822857854,"email":"rolf@morissettelubowitz.info","antifraud_details":{"first_name":"Han","last_name":"Solo","address":"YT-1300","address_city":"Alabama","country_code":"US","phone":"5555555555","object":"client"},"metadata":{}}'
102
- http_version:
103
- recorded_at: Thu, 12 Oct 2017 15:40:57 GMT
104
- - request:
105
- method: post
106
- uri: https://api.culqi.com/v2/cards/
107
- body:
108
- encoding: UTF-8
109
- string: '{"customer_id":"cus_test_vzsZCYnldWZeObod","token_id":"tkn_test_1lJ0XHkiSysrU99M"}'
110
- headers:
111
- Accept-Encoding:
112
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
113
- Accept:
114
- - "*/*"
115
- User-Agent:
116
- - Ruby
117
- Host:
118
- - api.culqi.com
119
- Authorization:
120
- - Bearer sk_test_SpwICNI4YT0OSLHY
121
- Content-Type:
122
- - application/json
123
- Cache-Control:
124
- - no-cache
125
- response:
126
- status:
127
- code: 201
128
- message: Created
129
- headers:
130
- Server:
131
- - ":"
132
- - nginx
133
- Date:
134
- - Thu, 12 Oct 2017 15:41:01 GMT
135
- Content-Type:
136
- - application/json;charset=UTF-8
137
- Transfer-Encoding:
138
- - chunked
139
- Connection:
140
- - keep-alive
141
- Set-Cookie:
142
- - JSESSIONID=7E9A0D09CEC03BABFDFB8FABB5F4B196; Path=/api/; HttpOnly
143
- X-Culqi-Tracking-Id:
144
- - '1924590'
145
- X-Culqi-Environment:
146
- - test
147
- X-Culqi-Version:
148
- - 2.0.0
149
- body:
150
- encoding: ASCII-8BIT
151
- string: !binary |-
152
- eyJvYmplY3QiOiJjYXJkIiwiaWQiOiJjcmRfdGVzdF9tNVFYWDd0dEMzYzIxZnNtIiwiYWN0aXZlIjp0cnVlLCJjcmVhdGlvbl9kYXRlIjoxNTA3ODIyODYxODgwLCJjdXN0b21lcl9pZCI6ImN1c190ZXN0X3Z6c1pDWW5sZFdaZU9ib2QiLCJzb3VyY2UiOnsib2JqZWN0IjoidG9rZW4iLCJpZCI6InRrbl90ZXN0XzFsSjBYSGtpU3lzclU5OU0iLCJ0eXBlIjoiY2FyZCIsImNyZWF0aW9uX2RhdGUiOjE1MDc4MjI4NTEwMDAsImVtYWlsIjoicm9sZkBtb3Jpc3NldHRlbHVib3dpdHouaW5mbyIsImNhcmRfbnVtYmVyIjoiNDExMTExKioqKioqMTExMSIsImxhc3RfZm91ciI6IjExMTEiLCJhY3RpdmUiOnRydWUsImlpbiI6eyJvYmplY3QiOiJpaW4iLCJiaW4iOiI0MTExMTEiLCJjYXJkX2JyYW5kIjoiVmlzYSIsImNhcmRfdHlwZSI6ImNyZWRpdG8iLCJjYXJkX2NhdGVnb3J5IjoiQ2zDoXNpY2EiLCJpc3N1ZXIiOnsibmFtZSI6IkpQTU9SR0FOIENIQVNFIEJBTkssIE4uQS4iLCJjb3VudHJ5IjoiVU5JVEVEIFNUQVRFUyIsImNvdW50cnlfY29kZSI6IlVTIiwid2Vic2l0ZSI6bnVsbCwicGhvbmVfbnVtYmVyIjpudWxsfSwiaW5zdGFsbG1lbnRzX2FsbG93ZWQiOlsyLDQsNiw4LDEwLDEyXX0sImNsaWVudCI6eyJpcCI6IjE3OS43LjE1My4yMjQiLCJpcF9jb3VudHJ5IjoiUGVyw7oiLCJpcF9jb3VudHJ5X2NvZGUiOiJQRSIsImJyb3dzZXIiOm51bGwsImRldmljZV9maW5nZXJwcmludCI6IjEzNDc0MDk5MzUiLCJkZXZpY2VfdHlwZSI6IkVzY3JpdG9yaW8ifSwibWV0YWRhdGEiOnsiY2xpZW50X2lwIjoiMTc5LjcuMTUzLjIyNCJ9fSwibWV0YWRhdGEiOnt9fQ==
153
- http_version:
154
- recorded_at: Thu, 12 Oct 2017 15:41:01 GMT
155
- - request:
156
- method: post
157
- uri: https://api.culqi.com/v2/charges/
158
- body:
159
- encoding: UTF-8
160
- string: '{"amount":1999,"capture":false,"currency_code":"PEN","description":null,"email":"rolf@morissettelubowitz.info","installments":2,"source_id":"crd_test_m5QXX7ttC3c21fsm"}'
161
- headers:
162
- Accept-Encoding:
163
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
164
- Accept:
165
- - "*/*"
166
- User-Agent:
167
- - Ruby
168
- Host:
169
- - api.culqi.com
170
- Authorization:
171
- - Bearer sk_test_SpwICNI4YT0OSLHY
172
- Content-Type:
173
- - application/json
174
- Cache-Control:
175
- - no-cache
176
- response:
177
- status:
178
- code: 201
179
- message: Created
180
- headers:
181
- Server:
182
- - ":"
183
- - nginx
184
- Date:
185
- - Thu, 12 Oct 2017 15:41:07 GMT
186
- Content-Type:
187
- - application/json;charset=UTF-8
188
- Transfer-Encoding:
189
- - chunked
190
- Connection:
191
- - keep-alive
192
- Set-Cookie:
193
- - JSESSIONID=6B2295AC0FD7453289E0E5C21CBBACE1; Path=/api/; HttpOnly
194
- X-Culqi-Tracking-Id:
195
- - '1924594'
196
- X-Culqi-Environment:
197
- - test
198
- X-Culqi-Version:
199
- - 2.0.0
200
- body:
201
- encoding: ASCII-8BIT
202
- string: !binary |-
203
- eyJkdXBsaWNhdGVkIjpmYWxzZSwib2Jq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