solidus_culqi 0.1.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +14 -29
  3. data/.travis.yml +6 -17
  4. data/Gemfile +2 -0
  5. data/app/models/concerns/solidus_culqi/inject_installments_concern.rb +1 -1
  6. data/app/models/payment_decorator.rb +3 -1
  7. data/app/models/permitted_attributes_decorator.rb +3 -1
  8. data/app/models/solidus/gateway/culqi_gateway.rb +11 -8
  9. data/bin/geckodriver +28 -0
  10. data/lib/solidus_culqi.rb +0 -1
  11. data/lib/solidus_culqi/version.rb +1 -1
  12. data/solidus_culqi.gemspec +0 -4
  13. data/spec/models/culqi_gateway.rb +3 -10
  14. data/spec/spec_helper.rb +0 -34
  15. metadata +4 -72
  16. data/app/views/spree/checkout/existing_payment/_culqi.html.erb +0 -3
  17. data/app/views/spree/checkout/payment/_culqi.html.erb +0 -79
  18. data/lib/solidus_culqi/gateway.rb +0 -31
  19. data/spec/cassettes/Culqi_checkout/with_logged_user/store_card_in_wallet.yml +0 -206
  20. data/spec/cassettes/Culqi_checkout/with_unlogged_user/with_process_checkout/capture_payment.yml +0 -207
  21. data/spec/cassettes/Culqi_checkout/with_unlogged_user/with_process_checkout/process_order.yml +0 -156
  22. data/spec/cassettes/Culqi_checkout/with_unlogged_user/with_process_checkout/voids_a_payment.yml +0 -207
  23. data/spec/cassettes/Culqi_checkout_autocapture/with_valid_credit_card/can_process_a_valid_payment.yml +0 -156
  24. data/spec/cassettes/Culqi_checkout_autocapture/with_valid_credit_card/refunds_a_payment.yml +0 -207
  25. data/spec/features/culqi_checkout_autocapture_spec.rb +0 -103
  26. data/spec/features/culqi_checkout_spec.rb +0 -96
  27. data/spec/support/culqi_helper.rb +0 -53
@@ -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,31 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module SolidusCulqi
4
- module Gateway
5
- def self.parent_class
6
- if SolidusCulqi::Support.solidus_earlier('2.3.x')
7
- Spree::Gateway
8
- else
9
- Spree::PaymentMethod::CreditCard
10
- end
11
- end
12
-
13
- def partial_method(partial_name)
14
- common_method('method_type', 'partial_name', partial_name)
15
- end
16
-
17
- def provider_method(provider_class)
18
- common_method('provider_class', 'gateway_class', provider_class)
19
- end
20
-
21
- private
22
-
23
- def common_method(old_method, new_method, method_value)
24
- if SolidusCulqi::Support.solidus_earlier('2.3.x')
25
- define_method(old_method) { method_value }
26
- else
27
- define_method(new_method) { method_value }
28
- end
29
- end
30
- end
31
- 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
- - Tue, 15 May 2018 05:07:52 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=D145524A64032F3D7B280B07FF279CE4; Path=/api/; HttpOnly
42
- X-Culqi-Tracking-Id:
43
- - '2572983'
44
- X-Culqi-Environment:
45
- - test
46
- X-Culqi-Version:
47
- - 2.0.0
48
- body:
49
- encoding: ASCII-8BIT
50
- string: !binary |-
51
- eyJkYXRhIjpbeyJvYmplY3QiOiJjdXN0b21lciIsImlkIjoiY3VzX3Rlc3RfdnpzWkNZbmxkV1plT2JvZCIsImNyZWF0aW9uX2RhdGUiOjE1MDc4MjI4NTcwMDAsImVtYWlsIjoicm9sZkBtb3Jpc3NldHRlbHVib3dpdHouaW5mbyIsImFudGlmcmF1ZF9kZXRhaWxzIjp7ImZpcnN0X25hbWUiOiJIYW4iLCJsYXN0X25hbWUiOiJTb2xvIiwiYWRkcmVzcyI6IllULTEzMDAiLCJhZGRyZXNzX2NpdHkiOiJBbGFiYW1hIiwiY291bnRyeV9jb2RlIjoiVVMiLCJwaG9uZSI6IjU1NTU1NTU1NTUiLCJvYmplY3QiOiJjbGllbnQifSwiY2FyZHMiOlt7Im9iamVjdCI6ImNhcmQiLCJpZCI6ImNyZF90ZXN0X201UVhYN3R0QzNjMjFmc20iLCJhY3RpdmUiOnRydWUsImNyZWF0aW9uX2RhdGUiOjE1MDc4MjI4NjEwMDAsImN1c3RvbWVyX2lkIjoiY3VzX3Rlc3RfdnpzWkNZbmxkV1plT2JvZCIsInNvdXJjZSI6eyJvYmplY3QiOiJ0b2tlbiIsImlkIjoidGtuX3Rlc3RfMWxKMFhIa2lTe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FudGlmcmF1ZF9kZXRhaWxzIjp7ImZpcnN0X25hbWUiOiJXaWxsaWFtIiwibGFzdF9uYW1lIjoiTXVybyIsImFkZHJlc3MiOiJBdmVuaWRhIExpbWEgMTIzMjEzIiwiYWRkcmVzc19jaXR5IjoiTElNQSIsImNvdW50cnlfY29kZSI6IlBFIiwicGhvbmUiOiI5OTg5ODk3ODkiLCJvYmplY3QiOiJjbGllbnQifSwiY2FyZHMiOltdLCJtZXRhZGF0YSI6eyJvdGhlcl9udW1iZXIiOiI3ODk5NTM2NTUifX1dLCJwYWdpbmciOnsicHJldmlvdXMiOiJodHRwczovL2FwaS5jdWxxaS5jb20vdjIvY3VzdG9tZXJzP2xpbWl0PTUwJmJlZm9yZT1jdXNfdGVzdF92enNaQ1lubGRXWmVPYm9kIiwibmV4dCI6Imh0dHBzOi8vYXBpLmN1bHFpLmNvbS92Mi9jdXN0b21lcnM/bGltaXQ9NTAmYWZ0ZXI9Y3VzX3Rlc3RfaG5mUUVYRU1YSm5QWkE1VSIsImN1cnNvcnMiOnsiYmVmb3JlIjoiY3VzX3Rlc3RfdnpzWkNZbmxkV1plT2JvZCIsImFmdGVyIjoiY3VzX3Rlc3RfaG5mUUVYRU1YSm5QWkE1VSJ9fX0=
52
- http_version:
53
- recorded_at: Tue, 15 May 2018 05:07:52 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":"email1@example.com","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
- - Tue, 15 May 2018 05:07:53 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=D007A9F9E365C56DB8A70D991904B796; Path=/api/; HttpOnly
93
- X-Culqi-Tracking-Id:
94
- - '2572984'
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_ewCqUvyExxM0USjo","creation_date":1526360873123,"email":"email1@example.com","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: Tue, 15 May 2018 05:07:53 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_ewCqUvyExxM0USjo","token_id":"tkn_test_bC0tWlJFUrV0yHAO"}'
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
- - Tue, 15 May 2018 05:07:57 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=22297C9CC39A72DD230A32BBB2DE4080; Path=/api/; HttpOnly
143
- X-Culqi-Tracking-Id:
144
- - '2572985'
145
- X-Culqi-Environment:
146
- - test
147
- X-Culqi-Version:
148
- - 2.0.0
149
- body:
150
- encoding: ASCII-8BIT
151
- string: !binary |-
152
- eyJvYmplY3QiOiJjYXJkIiwiaWQiOiJjcmRfdGVzdF94OG5BOWZCYnpKbEZscU1RIiwiYWN0aXZlIjp0cnVlLCJjcmVhdGlvbl9kYXRlIjoxNTI2MzYwODc3NTg5LCJjdXN0b21lcl9pZCI6ImN1c190ZXN0X2V3Q3FVdnlFeHhNMFVTam8iLCJzb3VyY2UiOnsib2JqZWN0IjoidG9rZW4iLCJpZCI6InRrbl90ZXN0X2JDMHRXbEpGVXJWMHlIQU8iLCJ0eXBlIjoiY2FyZCIsImNyZWF0aW9uX2RhdGUiOjE1MjYzNjA4NjcwMDAsImVtYWlsIjoiZW1haWwxQGV4YW1wbGUuY29tIiwiY2FyZF9udW1iZXIiOiI0MTExMTEqKioqKioxMTExIiwibGFzdF9mb3VyIjoiMTExMSIsImFjdGl2ZSI6dHJ1ZSwiaWluIjp7Im9iamVjdCI6ImlpbiIsImJpbiI6IjQxMTExMSIsImNhcmRfYnJhbmQiOiJWaXNhIiwiY2FyZF90eXBlIjoiY3JlZGl0byIsImNhcmRfY2F0ZWdvcnkiOiJDbMOhc2ljYSIsImlzc3VlciI6eyJuYW1lIjoiSU5URVJCQU5LIiwiY291bnRyeSI6IlBFUlUiLCJjb3VudHJ5X2NvZGUiOiJQRSIsIndlYnNpdGUiOm51bGwsInBob25lX251bWJlciI6bnVsbH0sImluc3RhbGxtZW50c19hbGxvd2VkIjpbMiw0LDYsOCwxMCwxMiwzLDUsNyw5LDI0LDQ4XX0sImNsaWVudCI6eyJpcCI6IjE3OS43LjE1NS42OSIsImlwX2NvdW50cnkiOiJQZXLDuiIsImlwX2NvdW50cnlfY29kZSI6IlBFIiwiYnJvd3NlciI6bnVsbCwiZGV2aWNlX2ZpbmdlcnByaW50IjoiMTM0NzQwOTkzNSIsImRldmljZV90eXBlIjoiRXNjcml0b3JpbyJ9LCJtZXRhZGF0YSI6eyJtZXRob2QiOiJqcyIsImNsaWVudF9pcCI6IjE3OS43LjE1NS42OSIsInNlY3VyZSI6ImZhbHNlIiwidXJsIjoiaHR0cDovLzEyNy4wLjAuMTozNTIwMy9jaGVja291dC9wYXltZW50In19LCJtZXRhZGF0YSI6e319
153
- http_version:
154
- recorded_at: Tue, 15 May 2018 05:07:57 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":"email1@example.com","installments":2,"source_id":"crd_test_x8nA9fBbzJlFlqMQ"}'
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
- - Tue, 15 May 2018 05:08:02 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=BDCD9C7C876759E63447BA2F76EAE689; Path=/api/; HttpOnly
194
- X-Culqi-Tracking-Id:
195
- - '2572988'
196
- X-Culqi-Environment:
197
- - test
198
- X-Culqi-Version:
199
- - 2.0.0
200
- body:
201
- encoding: ASCII-8BIT
202
- string: !binary |-
203
- eyJkdXBsaWNhdGVkIjpmYWxzZSwib2JqZWN0IjoiY2hhcmdlIiwiaWQiOiJjaHJfdGVzdF9Yd2FWeUxiZHR2YzNRQlVHIiwiY3JlYXRpb25fZGF0ZSI6MTUyNjM2MDg4MTAwMCwiYW1vdW50IjoxOTk5LCJhbW91bnRfcmVmdW5kZWQiOjA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0LCJ0cmFuc2Zlcl9hbW91bnQiOjE5MTAsInBhaWQiOmZhbHNlLCJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IkNVTFFJKiIsInRyYW5zZmVyX2lkIjpudWxsfQ==
204
- http_version:
205
- recorded_at: Tue, 15 May 2018 05:08:02 GMT
206
- recorded_with: VCR 4.0.0
@@ -1,207 +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
- - Tue, 15 May 2018 15:55:35 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=3E145CF17ABDC03614799F631A709896; Path=/api/; HttpOnly
42
- X-Culqi-Tracking-Id:
43
- - '2574167'
44
- X-Culqi-Environment:
45
- - test
46
- X-Culqi-Version:
47
- - 2.0.0
48
- body:
49
- encoding: ASCII-8BIT
50
- string: !binary |-
51
- eyJkYXRhIjpbeyJvYmplY3QiOiJjdXN0b21lciIsImlkIjoiY3VzX3Rlc3RfZXdDcVV2eUV4eE0wVVNqbyIsImNyZWF0aW9uX2RhdGUiOjE1MjYzNjA4NzMwMDAsImVtYWlsIjoiZW1haWwxQGV4YW1wbGUuY29tIiwiYW50aWZyYXVkX2RldGFpbHMiOnsiZmlyc3RfbmFtZSI6IkhhbiIsImxhc3RfbmFtZSI6IlNvbG8iLCJhZGR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Y291bnRyeV9jb2RlIjoiUEUiLCJwaG9uZSI6Ijk5ODk4OTc4OSIsIm9iamVjdCI6ImNsaWVudCJ9LCJjYXJkcyI6W10sIm1ldGFkYXRhIjp7Im90aGVyX251bWJlciI6Ijc4OTk1MzY1NSJ9fV0sInBhZ2luZyI6eyJwcmV2aW91cyI6Imh0dHBzOi8vYXBpLmN1bHFpLmNvbS92Mi9jdXN0b21lcnM/bGltaXQ9NTAmYmVmb3JlPWN1c190ZXN0X2V3Q3FVdnlFeHhNMFVTam8iLCJuZXh0IjoiaHR0cHM6Ly9hcGkuY3VscWkuY29tL3YyL2N1c3RvbWVycz9saW1pdD01MCZhZnRlcj1jdXNfdGVzdF9obmZRRVhFTVhKblBaQTVVIiwiY3Vyc29ycyI6eyJiZWZvcmUiOiJjdXNfdGVzdF9ld0NxVXZ5RXh4TTBVU2pvIiwiYWZ0ZXIiOiJjdXNfdGVzdF9obmZRRVhFTVhKblBaQTVVIn19fQ==
52
- http_version:
53
- recorded_at: Tue, 15 May 2018 15:55:35 GMT
54
- - request:
55
- method: post
56
- uri: https://api.culqi.com/v2/cards/
57
- body:
58
- encoding: UTF-8
59
- string: '{"customer_id":"cus_test_5KekHsuSguEzjzh8","token_id":"tkn_test_xdAZ6uchtTJqU0R3"}'
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
- - Tue, 15 May 2018 15:55:39 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=51D203A74B044B1F64D208B5E47F03C4; Path=/api/; HttpOnly
93
- X-Culqi-Tracking-Id:
94
- - '2574168'
95
- X-Culqi-Environment:
96
- - test
97
- X-Culqi-Version:
98
- - 2.0.0
99
- body:
100
- encoding: ASCII-8BIT
101
- string: !binary |-
102
- eyJvYmplY3QiOiJjYXJkIiwiaWQiOiJjcmRfdGVzdF9MWWZQWmtOWTBvQzlaVno1IiwiYWN0aXZlIjp0cnVlLCJjcmVhdGlvbl9kYXRlIjoxNTA3Nzg5MzMzMDAwLCJjdXN0b21lcl9pZCI6ImN1c190ZXN0XzVLZWtIc3VTZ3VFemp6aDgiLCJzb3VyY2UiOnsib2JqZWN0IjoidG9rZW4iLCJpZCI6InRrbl90ZXN0X3hkQVo2dWNodFRKcVUwUjMiLCJ0eXBlIjoiY2FyZCIsImNyZWF0aW9uX2RhdGUiOjE1MjYzOTk3MzAwMDAsImVtYWlsIjoiaGFuQGV4YW1wbGUuY29tIiwiY2FyZF9udW1iZXIiOiI0MTExMTEqKioqKioxMTExIiwibGFzdF9mb3VyIjoiMTExMSIsImFjdGl2ZSI6dHJ1ZSwiaWluIjp7Im9iamVjdCI6ImlpbiIsImJpbiI6IjQxMTExMSIsImNhcmRfYnJhbmQiOiJWaXNhIiwiY2FyZF90eXBlIjoiY3JlZGl0byIsImNhcmRfY2F0ZWdvcnkiOiJDbMOhc2ljYSIsImlzc3VlciI6eyJuYW1lIjoiSU5URVJCQU5LIiwiY291bnRyeSI6IlBFUlUiLCJjb3VudHJ5X2NvZGUiOiJQRSIsIndlYnNpdGUiOm51bGwsInBob25lX251bWJlciI6bnVsbH0sImluc3RhbGxtZW50c19hbGxvd2VkIjpbMiw0LDYsOCwxMCwxMiwzLDUsNyw5LDI0LDQ4XX0sImNsaWVudCI6eyJpcCI6IjE3OS43LjE1NS42OSIsImlwX2NvdW50cnkiOiJQZXLDuiIsImlwX2NvdW50cnlfY29kZSI6IlBFIiwiYnJvd3NlciI6bnVsbCwiZGV2aWNlX2ZpbmdlcnByaW50IjoiMTM0NzQwOTkzNSIsImRldmljZV90eXBlIjoiRXNjcml0b3JpbyJ9LCJtZXRhZGF0YSI6eyJtZXRob2QiOiJqcyIsImNsaWVudF9pcCI6IjE3OS43LjE1NS42OSIsInNlY3VyZSI6ImZhbHNlIiwidXJsIjoiaHR0cDovLzEyNy4wLjAuMTo0MTk2MS9jaGVja291dC9wYXltZW50In19LCJtZXRhZGF0YSI6e319
103
- http_version:
104
- recorded_at: Tue, 15 May 2018 15:55:40 GMT
105
- - request:
106
- method: post
107
- uri: https://api.culqi.com/v2/charges/
108
- body:
109
- encoding: UTF-8
110
- string: '{"amount":1999,"capture":false,"currency_code":"PEN","description":null,"email":"han@example.com","installments":2,"source_id":"crd_test_LYfPZkNY0oC9ZVz5"}'
111
- headers:
112
- Accept-Encoding:
113
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
114
- Accept:
115
- - "*/*"
116
- User-Agent:
117
- - Ruby
118
- Host:
119
- - api.culqi.com
120
- Authorization:
121
- - Bearer sk_test_SpwICNI4YT0OSLHY
122
- Content-Type:
123
- - application/json
124
- Cache-Control:
125
- - no-cache
126
- response:
127
- status:
128
- code: 201
129
- message: Created
130
- headers:
131
- Server:
132
- - ":"
133
- - nginx
134
- Date:
135
- - Tue, 15 May 2018 15:55:45 GMT
136
- Content-Type:
137
- - application/json;charset=UTF-8
138
- Transfer-Encoding:
139
- - chunked
140
- Connection:
141
- - keep-alive
142
- Set-Cookie:
143
- - JSESSIONID=E315CBE45B442BF22411B696059C8914; Path=/api/; HttpOnly
144
- X-Culqi-Tracking-Id:
145
- - '2574171'
146
- X-Culqi-Environment:
147
- - test
148
- X-Culqi-Version:
149
- - 2.0.0
150
- body:
151
- encoding: ASCII-8BIT
152
- string: !binary |-
153
- eyJkdXBsaWNhdGVkIjpmYWxzZSwib2JqZWN0IjoiY2hhcmdlIiwiaWQiOiJjaHJfdGVzdF92Q0FSUnN5YlRHTlpWcjdmIiwiY3JlYXRpb25f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iwiY29tbWlzaW9uIjowLjAzNzUsInRvdGFsIjo3NX19LCJ0b3RhbF9mZWVfdGF4ZXMiOjE0LCJ0cmFuc2Zlcl9hbW91bnQiOjE5MTAsInBhaWQiOmZhbHNlLCJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IkNVTFFJKiIsInRyYW5zZmVyX2lkIjpudWxsfQ==
154
- http_version:
155
- recorded_at: Tue, 15 May 2018 15:55:45 GMT
156
- - request:
157
- method: post
158
- uri: https://api.culqi.com/v2/charges/chr_test_vCARRsybTGNZVr7f/capture/
159
- body:
160
- encoding: UTF-8
161
- string: ''
162
- headers:
163
- Accept-Encoding:
164
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
165
- Accept:
166
- - "*/*"
167
- User-Agent:
168
- - Ruby
169
- Host:
170
- - api.culqi.com
171
- Authorization:
172
- - Bearer sk_test_SpwICNI4YT0OSLHY
173
- Content-Type:
174
- - application/json
175
- Cache-Control:
176
- - no-cache
177
- response:
178
- status:
179
- code: 201
180
- message: Created
181
- headers:
182
- Server:
183
- - ":"
184
- - nginx
185
- Date:
186
- - Tue, 15 May 2018 15:55:52 GMT
187
- Content-Type:
188
- - application/json;charset=UTF-8
189
- Transfer-Encoding:
190
- - chunked
191
- Connection:
192
- - keep-alive
193
- Set-Cookie:
194
- - JSESSIONID=AF610E999397D282E40E625C469B2B41; Path=/api/; HttpOnly
195
- X-Culqi-Tracking-Id:
196
- - '2574174'
197
- X-Culqi-Environment:
198
- - test
199
- X-Culqi-Version:
200
- - 2.0.0
201
- body:
202
- encoding: ASCII-8BIT
203
- string: !binary |-
204
- eyJkdXBsaWNhdGVkIjpmYWxzZSwib2JqZWN0IjoiY2hhcmdlIiwiaWQiOiJjaHJfdGVzdF92Q0FSUnN5YlRHTlpWcjdmIiwiY3JlYXRpb25fZGF0ZSI6MTUyNjM5OTc0MzAwMCwiYW1vdW50IjoxOTk5LCJhbW91bnRfcmVmdW5kZWQiOjAsImN1cnJlbnRfYW1vdW50Ijo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