paddle_pay 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/paddle_pay/connection.rb +6 -8
- data/lib/paddle_pay/util.rb +1 -1
- data/lib/paddle_pay/version.rb +1 -1
- data/lib/paddle_pay.rb +0 -1
- data/test/spec/paddle_pay/connection_spec.rb +3 -3
- data/test/spec/paddle_pay/util_spec.rb +5 -5
- metadata +77 -85
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e75fd1711d3133981098f8379f87a85b532156ce231b6f01f96c455c2040a92
|
4
|
+
data.tar.gz: ea8f0882868c9f9cd33ffbacf3791132eeec8d8fe817810ffe8640fb34049cce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6bbbeb8253f29370f9cea2f6a9f1174941d150d000139dc3fb42149e05fe4c0e6858e78fa16275532681a6782e58039f18366cced32a310552e5eb7d33c441a
|
7
|
+
data.tar.gz: 3c9e27d97af64a9b3d1e8a1af4572e527bf465b19ec92efc8a377b6f0d9fe95359cbb625c158948e6a4b15b70d0272c289ca9a1b06e29fb2c010a98923ecab9c
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PaddlePay
|
2
2
|
|
3
|
-
![Tests](https://github.com/devmindo/paddle_pay/workflows/
|
3
|
+
![Tests](https://github.com/devmindo/paddle_pay/workflows/tests/badge.svg?branch=main)
|
4
4
|
[![Gem Version](https://img.shields.io/gem/v/paddle_pay.svg?style=flat)](https://rubygems.org/gems/paddle_pay)
|
5
5
|
|
6
6
|
A Ruby wrapper for the paddle.com API.
|
@@ -223,4 +223,4 @@ Check out the repository and run `bin/setup` to install dependencies. For config
|
|
223
223
|
|
224
224
|
## License
|
225
225
|
|
226
|
-
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
226
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
@@ -12,6 +12,7 @@ module PaddlePay
|
|
12
12
|
conn = Faraday.new(url: request_url) { |faraday|
|
13
13
|
faraday.request :url_encoded
|
14
14
|
faraday.response :raise_error
|
15
|
+
faraday.response :json
|
15
16
|
faraday.adapter :net_http
|
16
17
|
}
|
17
18
|
|
@@ -20,12 +21,16 @@ module PaddlePay
|
|
20
21
|
req.params.merge!(params)
|
21
22
|
req.headers.merge!(headers)
|
22
23
|
}
|
23
|
-
result =
|
24
|
+
result = response.body
|
25
|
+
|
24
26
|
unless result["success"]
|
25
27
|
raise PaddlePayError.new(result["error"]["message"], result["error"]["code"])
|
26
28
|
end
|
27
29
|
|
28
30
|
PaddlePay::Util.convert_hash_keys(result["response"])
|
31
|
+
rescue Faraday::ParsingError => e
|
32
|
+
raise ParseError, "Invalid response object from API: #{e.response[:body]} " \
|
33
|
+
"(HTTP response code was #{e.response[:status]})"
|
29
34
|
rescue Faraday::BadRequestError => e
|
30
35
|
raise BadRequestError.new(e.response[:body], e.response[:status])
|
31
36
|
rescue Faraday::UnauthorizedError => e
|
@@ -51,13 +56,6 @@ module PaddlePay
|
|
51
56
|
|
52
57
|
private
|
53
58
|
|
54
|
-
def parse(response)
|
55
|
-
JSON.parse(response.body)
|
56
|
-
rescue JSON::ParserError
|
57
|
-
raise ParseError, "Invalid response object from API: #{response.body.inspect} " \
|
58
|
-
"(HTTP response code was #{response.status})"
|
59
|
-
end
|
60
|
-
|
61
59
|
def config
|
62
60
|
{
|
63
61
|
vendor_id: PaddlePay.config.vendor_id,
|
data/lib/paddle_pay/util.rb
CHANGED
data/lib/paddle_pay/version.rb
CHANGED
data/lib/paddle_pay.rb
CHANGED
@@ -10,7 +10,7 @@ describe PaddlePay::Connection do
|
|
10
10
|
describe "when a request is made" do
|
11
11
|
it "should return a json parsed response if request is successful" do
|
12
12
|
stub_request(:post, PaddlePay.config.vendors_url)
|
13
|
-
.to_return(body: '{"success":true,"response":[{"data": "abcd"}]}', status: 200)
|
13
|
+
.to_return(body: '{"success":true,"response":[{"data": "abcd"}]}', status: 200, headers: {content_type: "application/json"})
|
14
14
|
response = @connection.request("")
|
15
15
|
assert_instance_of Array, response
|
16
16
|
assert_equal response.first[:data], "abcd"
|
@@ -18,7 +18,7 @@ describe PaddlePay::Connection do
|
|
18
18
|
|
19
19
|
it "should raise a paddle pay error if request is not successful" do
|
20
20
|
stub_request(:post, PaddlePay.config.vendors_url)
|
21
|
-
.to_return(body: '{"success":false,"error":{"code":100,"message":"Error"}}', status: 200)
|
21
|
+
.to_return(body: '{"success":false,"error":{"code":100,"message":"Error"}}', status: 200, headers: {content_type: "application/json"})
|
22
22
|
assert_raises PaddlePay::PaddlePayError do
|
23
23
|
@connection.request("")
|
24
24
|
end
|
@@ -26,7 +26,7 @@ describe PaddlePay::Connection do
|
|
26
26
|
|
27
27
|
it "should raise a parse error if response is not in json format" do
|
28
28
|
stub_request(:post, PaddlePay.config.vendors_url)
|
29
|
-
.to_return(body: "abcd", status: 200)
|
29
|
+
.to_return(body: "abcd", status: 200, headers: {content_type: "application/json"})
|
30
30
|
assert_raises PaddlePay::ParseError do
|
31
31
|
@connection.request("")
|
32
32
|
end
|
@@ -9,23 +9,23 @@ describe PaddlePay::Util do
|
|
9
9
|
end
|
10
10
|
|
11
11
|
it "should convert hash keys to snake case" do
|
12
|
-
assert_equal PaddlePay::Util.convert_hash_keys({
|
12
|
+
assert_equal PaddlePay::Util.convert_hash_keys({testKey: "test"}), {test_key: "test"}
|
13
13
|
end
|
14
14
|
|
15
15
|
it "should convert multiple hash keys to snake case" do
|
16
|
-
assert_equal PaddlePay::Util.convert_hash_keys({
|
16
|
+
assert_equal PaddlePay::Util.convert_hash_keys({testKey: "test", secondKey: "test"}), {test_key: "test", second_key: "test"}
|
17
17
|
end
|
18
18
|
|
19
19
|
it "should convert hash keys in arrays to snake case" do
|
20
|
-
assert_equal PaddlePay::Util.convert_hash_keys([{
|
20
|
+
assert_equal PaddlePay::Util.convert_hash_keys([{testKey: "test"}]), [{test_key: "test"}]
|
21
21
|
end
|
22
22
|
|
23
23
|
it "should convert abbreviations to lowercase keys" do
|
24
|
-
assert_equal PaddlePay::Util.convert_hash_keys({
|
24
|
+
assert_equal PaddlePay::Util.convert_hash_keys({USD: "test"}), {usd: "test"}
|
25
25
|
end
|
26
26
|
|
27
27
|
it "should convert multidimensional hashes" do
|
28
|
-
assert_equal PaddlePay::Util.convert_hash_keys({
|
28
|
+
assert_equal PaddlePay::Util.convert_hash_keys({testKey: {multiKey: "test"}}), {test_key: {multi_key: "test"}}
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paddle_pay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicolas Metzger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -126,30 +126,22 @@ dependencies:
|
|
126
126
|
name: faraday
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - "
|
129
|
+
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
132
|
-
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
131
|
+
version: 1.10.0
|
132
|
+
- - "<"
|
137
133
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: json
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '2.0'
|
134
|
+
version: '3.0'
|
146
135
|
type: :runtime
|
147
136
|
prerelease: false
|
148
137
|
version_requirements: !ruby/object:Gem::Requirement
|
149
138
|
requirements:
|
150
|
-
- - "
|
139
|
+
- - ">="
|
151
140
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
141
|
+
version: 1.10.0
|
142
|
+
- - "<"
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '3.0'
|
153
145
|
description: A Ruby wrapper for the paddle.com API
|
154
146
|
email:
|
155
147
|
executables: []
|
@@ -289,98 +281,98 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
289
281
|
- !ruby/object:Gem::Version
|
290
282
|
version: '0'
|
291
283
|
requirements: []
|
292
|
-
rubygems_version: 3.
|
284
|
+
rubygems_version: 3.2.32
|
293
285
|
signing_key:
|
294
286
|
specification_version: 4
|
295
287
|
summary: A Ruby wrapper for the paddle.com API
|
296
288
|
test_files:
|
297
289
|
- test/spec/paddle_pay/configuration_spec.rb
|
298
|
-
- test/spec/paddle_pay/
|
299
|
-
- test/spec/paddle_pay/models/transaction/product_spec.rb
|
300
|
-
- test/spec/paddle_pay/models/transaction/checkout_spec.rb
|
301
|
-
- test/spec/paddle_pay/models/transaction/subscription_spec.rb
|
302
|
-
- test/spec/paddle_pay/models/transaction/order_spec.rb
|
303
|
-
- test/spec/paddle_pay/models/transaction/user_spec.rb
|
290
|
+
- test/spec/paddle_pay/connection_spec.rb
|
304
291
|
- test/spec/paddle_pay/models/alert/webhook_spec.rb
|
305
|
-
- test/spec/paddle_pay/models/product/product_spec.rb
|
306
|
-
- test/spec/paddle_pay/models/product/payment_spec.rb
|
307
292
|
- test/spec/paddle_pay/models/product/coupon_spec.rb
|
308
293
|
- test/spec/paddle_pay/models/product/license_spec.rb
|
309
294
|
- test/spec/paddle_pay/models/product/pay_link_spec.rb
|
295
|
+
- test/spec/paddle_pay/models/product/payment_spec.rb
|
296
|
+
- test/spec/paddle_pay/models/product/product_spec.rb
|
310
297
|
- test/spec/paddle_pay/models/subscription/charge_spec.rb
|
311
|
-
- test/spec/paddle_pay/models/subscription/plan_spec.rb
|
312
|
-
- test/spec/paddle_pay/models/subscription/payment_spec.rb
|
313
298
|
- test/spec/paddle_pay/models/subscription/modifier_spec.rb
|
299
|
+
- test/spec/paddle_pay/models/subscription/payment_spec.rb
|
300
|
+
- test/spec/paddle_pay/models/subscription/plan_spec.rb
|
314
301
|
- test/spec/paddle_pay/models/subscription/user_spec.rb
|
302
|
+
- test/spec/paddle_pay/models/transaction/checkout_spec.rb
|
303
|
+
- test/spec/paddle_pay/models/transaction/order_spec.rb
|
304
|
+
- test/spec/paddle_pay/models/transaction/product_spec.rb
|
305
|
+
- test/spec/paddle_pay/models/transaction/subscription_spec.rb
|
306
|
+
- test/spec/paddle_pay/models/transaction/user_spec.rb
|
315
307
|
- test/spec/paddle_pay/util_spec.rb
|
316
|
-
- test/spec/paddle_pay/
|
317
|
-
- test/
|
318
|
-
- test/vcr_cassettes/paddle_pay/transaction/order/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
319
|
-
- test/vcr_cassettes/paddle_pay/transaction/order/test_0001_should_list_all_orders.yml
|
320
|
-
- test/vcr_cassettes/paddle_pay/transaction/user/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|
321
|
-
- test/vcr_cassettes/paddle_pay/transaction/user/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
322
|
-
- test/vcr_cassettes/paddle_pay/transaction/user/test_0001_should_list_all_users.yml
|
323
|
-
- test/vcr_cassettes/paddle_pay/transaction/product/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|
324
|
-
- test/vcr_cassettes/paddle_pay/transaction/product/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
325
|
-
- test/vcr_cassettes/paddle_pay/transaction/product/test_0001_should_list_all_products.yml
|
326
|
-
- test/vcr_cassettes/paddle_pay/transaction/checkout/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|
327
|
-
- test/vcr_cassettes/paddle_pay/transaction/checkout/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
328
|
-
- test/vcr_cassettes/paddle_pay/transaction/checkout/test_0001_should_list_all_checkouts.yml
|
329
|
-
- test/vcr_cassettes/paddle_pay/transaction/subscription/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|
330
|
-
- test/vcr_cassettes/paddle_pay/transaction/subscription/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
331
|
-
- test/vcr_cassettes/paddle_pay/transaction/subscription/test_0001_should_list_all_subscriptions.yml
|
332
|
-
- test/vcr_cassettes/paddle_pay/alert/webhook/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|
333
|
-
- test/vcr_cassettes/paddle_pay/alert/webhook/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
308
|
+
- test/spec/paddle_pay/version_spec.rb
|
309
|
+
- test/test_helper.rb
|
334
310
|
- test/vcr_cassettes/paddle_pay/alert/webhook/test_0001_should_list_all_webhooks.yml
|
335
|
-
- test/vcr_cassettes/paddle_pay/
|
336
|
-
- test/vcr_cassettes/paddle_pay/
|
337
|
-
- test/vcr_cassettes/paddle_pay/product/license/test_0001_should_raise_an_error_if_license_generation_request_is_invalid.yml
|
338
|
-
- test/vcr_cassettes/paddle_pay/product/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
339
|
-
- test/vcr_cassettes/paddle_pay/product/test_0001_should_list_all_products.yml
|
340
|
-
- test/vcr_cassettes/paddle_pay/product/payment/test_0002_should_return_success_if_the_payment_refund_is_valid.yml
|
341
|
-
- test/vcr_cassettes/paddle_pay/product/payment/test_0001_should_raise_an_error_if_the_payment_refund_is_invalid.yml
|
342
|
-
- test/vcr_cassettes/paddle_pay/product/coupon/test_0002_should_return_success_if_the_coupon_deletion_is_valid.yml
|
311
|
+
- test/vcr_cassettes/paddle_pay/alert/webhook/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
312
|
+
- test/vcr_cassettes/paddle_pay/alert/webhook/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|
343
313
|
- test/vcr_cassettes/paddle_pay/product/coupon/test_0001_should_list_all_coupons.yml
|
344
|
-
- test/vcr_cassettes/paddle_pay/product/coupon/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|
345
|
-
- test/vcr_cassettes/paddle_pay/product/coupon/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
346
314
|
- test/vcr_cassettes/paddle_pay/product/coupon/test_0001_should_raise_an_error_if_the_coupon_deletion_is_invalid.yml
|
347
|
-
- test/vcr_cassettes/paddle_pay/product/coupon/test_0002_should_return_updated_0_if_the_coupon_group_update_is_valid.yml
|
348
315
|
- test/vcr_cassettes/paddle_pay/product/coupon/test_0001_should_raise_an_error_if_the_coupon_is_invalid.yml
|
349
|
-
- test/vcr_cassettes/paddle_pay/product/coupon/test_0002_should_return_coupon_codes_if_the_coupon_is_valid.yml
|
350
|
-
- test/vcr_cassettes/paddle_pay/product/coupon/test_0001_should_return_updated_0_if_the_coupon_update_is_invalid.yml
|
351
316
|
- test/vcr_cassettes/paddle_pay/product/coupon/test_0001_should_return_updated_0_if_the_coupon_group_update_is_invalid.yml
|
317
|
+
- test/vcr_cassettes/paddle_pay/product/coupon/test_0001_should_return_updated_0_if_the_coupon_update_is_invalid.yml
|
318
|
+
- test/vcr_cassettes/paddle_pay/product/coupon/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
319
|
+
- test/vcr_cassettes/paddle_pay/product/coupon/test_0002_should_return_coupon_codes_if_the_coupon_is_valid.yml
|
320
|
+
- test/vcr_cassettes/paddle_pay/product/coupon/test_0002_should_return_success_if_the_coupon_deletion_is_valid.yml
|
321
|
+
- test/vcr_cassettes/paddle_pay/product/coupon/test_0002_should_return_updated_0_if_the_coupon_group_update_is_valid.yml
|
352
322
|
- test/vcr_cassettes/paddle_pay/product/coupon/test_0002_should_return_updated_0_if_the_coupon_update_is_valid.yml
|
323
|
+
- test/vcr_cassettes/paddle_pay/product/coupon/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|
324
|
+
- test/vcr_cassettes/paddle_pay/product/license/test_0001_should_raise_an_error_if_license_generation_request_is_invalid.yml
|
325
|
+
- test/vcr_cassettes/paddle_pay/product/license/test_0002_should_return_a_license_code_if_license_generation_request_is_valid.yml
|
353
326
|
- test/vcr_cassettes/paddle_pay/product/pay_link/test_0001_should_raise_an_error_if_pay_link_generation_request_is_invalid.yml
|
354
327
|
- test/vcr_cassettes/paddle_pay/product/pay_link/test_0002_should_return_an_url_if_pay_link_generation_request_is_valid.yml
|
355
|
-
- test/vcr_cassettes/paddle_pay/
|
328
|
+
- test/vcr_cassettes/paddle_pay/product/payment/test_0001_should_raise_an_error_if_the_payment_refund_is_invalid.yml
|
329
|
+
- test/vcr_cassettes/paddle_pay/product/payment/test_0002_should_return_success_if_the_payment_refund_is_valid.yml
|
330
|
+
- test/vcr_cassettes/paddle_pay/product/test_0001_should_list_all_products.yml
|
331
|
+
- test/vcr_cassettes/paddle_pay/product/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
332
|
+
- test/vcr_cassettes/paddle_pay/product/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|
356
333
|
- test/vcr_cassettes/paddle_pay/subscription/charge/test_0001_should_raise_an_error_if_the_charge_is_invalid.yml
|
357
|
-
- test/vcr_cassettes/paddle_pay/subscription/
|
358
|
-
- test/vcr_cassettes/paddle_pay/subscription/modifier/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
359
|
-
- test/vcr_cassettes/paddle_pay/subscription/modifier/test_0001_should_raise_an_error_if_the_modifier_is_invalid.yml
|
360
|
-
- test/vcr_cassettes/paddle_pay/subscription/modifier/test_0002_should_return_a_product_id_if_the_modifier_deletion_is_valid.yml
|
334
|
+
- test/vcr_cassettes/paddle_pay/subscription/charge/test_0002_should_return_invoice_id_if_the_charge_is_valid.yml
|
361
335
|
- test/vcr_cassettes/paddle_pay/subscription/modifier/test_0001_should_list_all_modifiers.yml
|
362
|
-
- test/vcr_cassettes/paddle_pay/subscription/modifier/test_0002_should_return_a_modifier_id_if_the_modifier_is_valid.yml
|
363
336
|
- test/vcr_cassettes/paddle_pay/subscription/modifier/test_0001_should_raise_an_error_if_the_modifier_deletion_is_invalid.yml
|
364
|
-
- test/vcr_cassettes/paddle_pay/subscription/
|
365
|
-
- test/vcr_cassettes/paddle_pay/subscription/
|
366
|
-
- test/vcr_cassettes/paddle_pay/subscription/
|
367
|
-
- test/vcr_cassettes/paddle_pay/subscription/
|
368
|
-
- test/vcr_cassettes/paddle_pay/subscription/
|
369
|
-
- test/vcr_cassettes/paddle_pay/subscription/plan/test_0002_should_be_successful_if_the_plan_is_valid.yml
|
370
|
-
- test/vcr_cassettes/paddle_pay/subscription/payment/test_0002_should_return_success_if_the_payment_reschedule_is_valid.yml
|
371
|
-
- test/vcr_cassettes/paddle_pay/subscription/payment/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|
372
|
-
- test/vcr_cassettes/paddle_pay/subscription/payment/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
373
|
-
- test/vcr_cassettes/paddle_pay/subscription/payment/test_0001_should_raise_an_error_if_the_payment_reschedule_is_invalid.yml
|
337
|
+
- test/vcr_cassettes/paddle_pay/subscription/modifier/test_0001_should_raise_an_error_if_the_modifier_is_invalid.yml
|
338
|
+
- test/vcr_cassettes/paddle_pay/subscription/modifier/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
339
|
+
- test/vcr_cassettes/paddle_pay/subscription/modifier/test_0002_should_return_a_modifier_id_if_the_modifier_is_valid.yml
|
340
|
+
- test/vcr_cassettes/paddle_pay/subscription/modifier/test_0002_should_return_a_product_id_if_the_modifier_deletion_is_valid.yml
|
341
|
+
- test/vcr_cassettes/paddle_pay/subscription/modifier/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|
374
342
|
- test/vcr_cassettes/paddle_pay/subscription/payment/test_0001_should_list_all_payments.yml
|
375
|
-
- test/vcr_cassettes/paddle_pay/subscription/payment/test_0002_should_return_success_if_the_payment_refund_is_valid.yml
|
376
343
|
- test/vcr_cassettes/paddle_pay/subscription/payment/test_0001_should_raise_an_error_if_the_payment_refund_is_invalid.yml
|
344
|
+
- test/vcr_cassettes/paddle_pay/subscription/payment/test_0001_should_raise_an_error_if_the_payment_reschedule_is_invalid.yml
|
345
|
+
- test/vcr_cassettes/paddle_pay/subscription/payment/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
346
|
+
- test/vcr_cassettes/paddle_pay/subscription/payment/test_0002_should_return_success_if_the_payment_refund_is_valid.yml
|
347
|
+
- test/vcr_cassettes/paddle_pay/subscription/payment/test_0002_should_return_success_if_the_payment_reschedule_is_valid.yml
|
348
|
+
- test/vcr_cassettes/paddle_pay/subscription/payment/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|
349
|
+
- test/vcr_cassettes/paddle_pay/subscription/plan/test_0001_should_list_all_plans.yml
|
350
|
+
- test/vcr_cassettes/paddle_pay/subscription/plan/test_0001_should_raise_an_error_if_the_plan_is_invalid.yml
|
351
|
+
- test/vcr_cassettes/paddle_pay/subscription/plan/test_0002_should_be_successful_if_the_plan_is_valid.yml
|
352
|
+
- test/vcr_cassettes/paddle_pay/subscription/plan/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
353
|
+
- test/vcr_cassettes/paddle_pay/subscription/plan/test_0002_should_return_a_product_id_if_the_plan_is_valid.yml
|
354
|
+
- test/vcr_cassettes/paddle_pay/subscription/plan/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|
355
|
+
- test/vcr_cassettes/paddle_pay/subscription/user/test_0001_should_list_all_users.yml
|
356
|
+
- test/vcr_cassettes/paddle_pay/subscription/user/test_0001_should_raise_an_error_if_the_cancelation_is_invalid.yml
|
377
357
|
- test/vcr_cassettes/paddle_pay/subscription/user/test_0001_should_raise_an_error_if_the_subscription_update_is_invalid.yml
|
378
|
-
- test/vcr_cassettes/paddle_pay/subscription/user/
|
358
|
+
- test/vcr_cassettes/paddle_pay/subscription/user/test_0001_should_raise_an_error_if_the_subscription_update_preview_is_invalid.yml
|
379
359
|
- test/vcr_cassettes/paddle_pay/subscription/user/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
380
|
-
- test/vcr_cassettes/paddle_pay/subscription/user/test_0002_should_return_success_if_the_cancelation_is_valid.yml
|
381
|
-
- test/vcr_cassettes/paddle_pay/subscription/user/test_0002_should_return_a_subscription_id_if_the_subscription_update_preview_is_valid.yml
|
382
360
|
- test/vcr_cassettes/paddle_pay/subscription/user/test_0002_should_return_a_subscription_id_if_the_subscription_update_is_valid.yml
|
383
|
-
- test/vcr_cassettes/paddle_pay/subscription/user/
|
384
|
-
- test/vcr_cassettes/paddle_pay/subscription/user/
|
385
|
-
- test/vcr_cassettes/paddle_pay/subscription/user/
|
386
|
-
- test/
|
361
|
+
- test/vcr_cassettes/paddle_pay/subscription/user/test_0002_should_return_a_subscription_id_if_the_subscription_update_preview_is_valid.yml
|
362
|
+
- test/vcr_cassettes/paddle_pay/subscription/user/test_0002_should_return_success_if_the_cancelation_is_valid.yml
|
363
|
+
- test/vcr_cassettes/paddle_pay/subscription/user/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|
364
|
+
- test/vcr_cassettes/paddle_pay/transaction/checkout/test_0001_should_list_all_checkouts.yml
|
365
|
+
- test/vcr_cassettes/paddle_pay/transaction/checkout/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
366
|
+
- test/vcr_cassettes/paddle_pay/transaction/checkout/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|
367
|
+
- test/vcr_cassettes/paddle_pay/transaction/order/test_0001_should_list_all_orders.yml
|
368
|
+
- test/vcr_cassettes/paddle_pay/transaction/order/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
369
|
+
- test/vcr_cassettes/paddle_pay/transaction/order/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|
370
|
+
- test/vcr_cassettes/paddle_pay/transaction/product/test_0001_should_list_all_products.yml
|
371
|
+
- test/vcr_cassettes/paddle_pay/transaction/product/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
372
|
+
- test/vcr_cassettes/paddle_pay/transaction/product/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|
373
|
+
- test/vcr_cassettes/paddle_pay/transaction/subscription/test_0001_should_list_all_subscriptions.yml
|
374
|
+
- test/vcr_cassettes/paddle_pay/transaction/subscription/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
375
|
+
- test/vcr_cassettes/paddle_pay/transaction/subscription/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|
376
|
+
- test/vcr_cassettes/paddle_pay/transaction/user/test_0001_should_list_all_users.yml
|
377
|
+
- test/vcr_cassettes/paddle_pay/transaction/user/test_0002_should_raise_an_error_if_no_vendor_id_is_present.yml
|
378
|
+
- test/vcr_cassettes/paddle_pay/transaction/user/test_0003_should_raise_an_error_if_no_vendor_auth_code_is_present.yml
|