stripe_tester 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +63 -16
  3. data/lib/stripe_tester/version.rb +1 -1
  4. data/stripe_webhooks/2014-10-07/account_updated.yml +28 -0
  5. data/stripe_webhooks/2014-10-07/balance_available.yml +17 -0
  6. data/stripe_webhooks/2014-10-07/charge_captured.yml +62 -0
  7. data/stripe_webhooks/2014-10-07/charge_dispute_closed.yml +22 -0
  8. data/stripe_webhooks/2014-10-07/charge_dispute_created.yml +22 -0
  9. data/stripe_webhooks/2014-10-07/charge_dispute_updated.yml +24 -0
  10. data/stripe_webhooks/2014-10-07/charge_failed.yml +62 -0
  11. data/stripe_webhooks/2014-10-07/charge_refunded.yml +73 -0
  12. data/stripe_webhooks/2014-10-07/charge_succeeded.yml +62 -0
  13. data/stripe_webhooks/2014-10-07/charge_updated.yml +64 -0
  14. data/stripe_webhooks/2014-10-07/coupon_created.yml +23 -0
  15. data/stripe_webhooks/2014-10-07/coupon_deleted.yml +23 -0
  16. data/stripe_webhooks/2014-10-07/customer_card_created.yml +30 -0
  17. data/stripe_webhooks/2014-10-07/customer_card_deleted.yml +30 -0
  18. data/stripe_webhooks/2014-10-07/customer_card_updated.yml +32 -0
  19. data/stripe_webhooks/2014-10-07/customer_created.yml +33 -0
  20. data/stripe_webhooks/2014-10-07/customer_deleted.yml +33 -0
  21. data/stripe_webhooks/2014-10-07/customer_discount_created.yml +29 -0
  22. data/stripe_webhooks/2014-10-07/customer_discount_deleted.yml +29 -0
  23. data/stripe_webhooks/2014-10-07/customer_discount_updated.yml +45 -0
  24. data/stripe_webhooks/2014-10-07/customer_subscription_created.yml +38 -0
  25. data/stripe_webhooks/2014-10-07/customer_subscription_deleted.yml +38 -0
  26. data/stripe_webhooks/2014-10-07/customer_subscription_trial_will_end.yml +38 -0
  27. data/stripe_webhooks/2014-10-07/customer_subscription_updated.yml +52 -0
  28. data/stripe_webhooks/2014-10-07/customer_updated.yml +35 -0
  29. data/stripe_webhooks/2014-10-07/invoice_created.yml +69 -0
  30. data/stripe_webhooks/2014-10-07/invoice_payment_failed.yml +69 -0
  31. data/stripe_webhooks/2014-10-07/invoice_payment_succeeded.yml +69 -0
  32. data/stripe_webhooks/2014-10-07/invoice_updated.yml +71 -0
  33. data/stripe_webhooks/2014-10-07/invoiceitem_created.yml +23 -0
  34. data/stripe_webhooks/2014-10-07/invoiceitem_deleted.yml +23 -0
  35. data/stripe_webhooks/2014-10-07/invoiceitem_updated.yml +25 -0
  36. data/stripe_webhooks/2014-10-07/plan_created.yml +21 -0
  37. data/stripe_webhooks/2014-10-07/plan_deleted.yml +21 -0
  38. data/stripe_webhooks/2014-10-07/plan_updated.yml +23 -0
  39. data/stripe_webhooks/2014-10-07/transfer_created.yml +25 -0
  40. data/stripe_webhooks/2014-10-07/transfer_failed.yml +25 -0
  41. data/stripe_webhooks/2014-10-07/transfer_paid.yml +25 -0
  42. data/stripe_webhooks/2014-10-07/transfer_updated.yml +27 -0
  43. metadata +41 -2
@@ -0,0 +1,62 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: charge.succeeded
6
+ object: event
7
+ request:
8
+ data:
9
+ object:
10
+ id: ch_00000000000000
11
+ object: charge
12
+ created: 1414767806
13
+ livemode: false
14
+ paid: true
15
+ amount: 100
16
+ currency: usd
17
+ refunded: false
18
+ card:
19
+ id: cc_00000000000000
20
+ object: card
21
+ last4: '4242'
22
+ brand: Visa
23
+ funding: credit
24
+ exp_month: 8
25
+ exp_year: 2014
26
+ fingerprint: TTKQdP1Omgi1czlY
27
+ country: US
28
+ name:
29
+ address_line1:
30
+ address_line2:
31
+ address_city:
32
+ address_state:
33
+ address_zip:
34
+ address_country:
35
+ cvc_check:
36
+ address_line1_check:
37
+ address_zip_check:
38
+ dynamic_last4:
39
+ customer:
40
+ captured: true
41
+ refunds:
42
+ object: list
43
+ total_count: 0
44
+ has_more: false
45
+ url: "/v1/charges/ch_53oZTXoxZ2zeTC/refunds"
46
+ data: []
47
+ balance_transaction: txn_00000000000000
48
+ failure_message:
49
+ failure_code:
50
+ amount_refunded: 0
51
+ customer:
52
+ invoice:
53
+ description: My First Test Charge (created for API docs)
54
+ dispute:
55
+ metadata: {}
56
+ statement_description:
57
+ fraud_details:
58
+ stripe_report:
59
+ user_report:
60
+ receipt_email:
61
+ receipt_number:
62
+ shipping:
@@ -0,0 +1,64 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: charge.updated
6
+ object: event
7
+ request:
8
+ data:
9
+ object:
10
+ id: ch_00000000000000
11
+ object: charge
12
+ created: 1414767812
13
+ livemode: false
14
+ paid: true
15
+ amount: 100
16
+ currency: usd
17
+ refunded: false
18
+ card:
19
+ id: cc_00000000000000
20
+ object: card
21
+ last4: '4242'
22
+ brand: Visa
23
+ funding: credit
24
+ exp_month: 8
25
+ exp_year: 2014
26
+ fingerprint: TTKQdP1Omgi1czlY
27
+ country: US
28
+ name:
29
+ address_line1:
30
+ address_line2:
31
+ address_city:
32
+ address_state:
33
+ address_zip:
34
+ address_country:
35
+ cvc_check:
36
+ address_line1_check:
37
+ address_zip_check:
38
+ dynamic_last4:
39
+ customer:
40
+ captured: true
41
+ refunds:
42
+ object: list
43
+ total_count: 0
44
+ has_more: false
45
+ url: "/v1/charges/ch_53oZJy5arTRy9U/refunds"
46
+ data: []
47
+ balance_transaction: txn_00000000000000
48
+ failure_message:
49
+ failure_code:
50
+ amount_refunded: 0
51
+ customer:
52
+ invoice:
53
+ description: My First Test Charge (created for API docs)
54
+ dispute:
55
+ metadata: {}
56
+ statement_description:
57
+ fraud_details:
58
+ stripe_report:
59
+ user_report:
60
+ receipt_email:
61
+ receipt_number:
62
+ shipping:
63
+ previous_attributes:
64
+ description: Old description
@@ -0,0 +1,23 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: coupon.created
6
+ object: event
7
+ request:
8
+ data:
9
+ object:
10
+ id: 25OFF_00000000000000
11
+ created: 1414767833
12
+ percent_off: 25
13
+ amount_off:
14
+ currency: usd
15
+ object: coupon
16
+ livemode: false
17
+ duration: repeating
18
+ redeem_by:
19
+ max_redemptions:
20
+ times_redeemed: 0
21
+ duration_in_months: 3
22
+ valid: true
23
+ metadata: {}
@@ -0,0 +1,23 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: coupon.deleted
6
+ object: event
7
+ request:
8
+ data:
9
+ object:
10
+ id: 25OFF_00000000000000
11
+ created: 1414767838
12
+ percent_off: 25
13
+ amount_off:
14
+ currency: usd
15
+ object: coupon
16
+ livemode: false
17
+ duration: repeating
18
+ redeem_by:
19
+ max_redemptions:
20
+ times_redeemed: 0
21
+ duration_in_months: 3
22
+ valid: true
23
+ metadata: {}
@@ -0,0 +1,30 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: customer.card.created
6
+ object: event
7
+ request:
8
+ data:
9
+ object:
10
+ id: cc_00000000000000
11
+ object: card
12
+ last4: '4242'
13
+ brand: Visa
14
+ funding: credit
15
+ exp_month: 8
16
+ exp_year: 2014
17
+ fingerprint: TTKQdP1Omgi1czlY
18
+ country: US
19
+ name:
20
+ address_line1:
21
+ address_line2:
22
+ address_city:
23
+ address_state:
24
+ address_zip:
25
+ address_country:
26
+ cvc_check:
27
+ address_line1_check:
28
+ address_zip_check:
29
+ dynamic_last4:
30
+ customer:
@@ -0,0 +1,30 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: customer.card.deleted
6
+ object: event
7
+ request:
8
+ data:
9
+ object:
10
+ id: cc_00000000000000
11
+ object: card
12
+ last4: '4242'
13
+ brand: Visa
14
+ funding: credit
15
+ exp_month: 8
16
+ exp_year: 2014
17
+ fingerprint: TTKQdP1Omgi1czlY
18
+ country: US
19
+ name:
20
+ address_line1:
21
+ address_line2:
22
+ address_city:
23
+ address_state:
24
+ address_zip:
25
+ address_country:
26
+ cvc_check:
27
+ address_line1_check:
28
+ address_zip_check:
29
+ dynamic_last4:
30
+ customer:
@@ -0,0 +1,32 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: customer.card.updated
6
+ object: event
7
+ request:
8
+ data:
9
+ object:
10
+ id: cc_00000000000000
11
+ object: card
12
+ last4: '4242'
13
+ brand: Visa
14
+ funding: credit
15
+ exp_month: 8
16
+ exp_year: 2014
17
+ fingerprint: TTKQdP1Omgi1czlY
18
+ country: US
19
+ name:
20
+ address_line1:
21
+ address_line2:
22
+ address_city:
23
+ address_state:
24
+ address_zip:
25
+ address_country:
26
+ cvc_check:
27
+ address_line1_check:
28
+ address_zip_check:
29
+ dynamic_last4:
30
+ customer:
31
+ previous_attributes:
32
+ exp_year: '2013'
@@ -0,0 +1,33 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: customer.created
6
+ object: event
7
+ request:
8
+ data:
9
+ object:
10
+ object: customer
11
+ created: 1414767842
12
+ id: cus_00000000000000
13
+ livemode: false
14
+ description:
15
+ email:
16
+ delinquent: false
17
+ metadata: {}
18
+ subscriptions:
19
+ object: list
20
+ total_count: 0
21
+ has_more: false
22
+ url: "/v1/customers/cus_53oZviByh5zoV4/subscriptions"
23
+ data: []
24
+ discount:
25
+ account_balance: 0
26
+ currency: usd
27
+ cards:
28
+ object: list
29
+ total_count: 0
30
+ has_more: false
31
+ url: "/v1/customers/cus_53oZviByh5zoV4/cards"
32
+ data: []
33
+ default_card:
@@ -0,0 +1,33 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: customer.deleted
6
+ object: event
7
+ request:
8
+ data:
9
+ object:
10
+ object: customer
11
+ created: 1414767849
12
+ id: cus_00000000000000
13
+ livemode: false
14
+ description:
15
+ email:
16
+ delinquent: false
17
+ metadata: {}
18
+ subscriptions:
19
+ object: list
20
+ total_count: 0
21
+ has_more: false
22
+ url: "/v1/customers/cus_53oZWnsej7VQdk/subscriptions"
23
+ data: []
24
+ discount:
25
+ account_balance: 0
26
+ currency: usd
27
+ cards:
28
+ object: list
29
+ total_count: 0
30
+ has_more: false
31
+ url: "/v1/customers/cus_53oZWnsej7VQdk/cards"
32
+ data: []
33
+ default_card:
@@ -0,0 +1,29 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: customer.discount.created
6
+ object: event
7
+ request:
8
+ data:
9
+ object:
10
+ coupon:
11
+ id: 25OFF_00000000000000
12
+ created: 1414767865
13
+ percent_off: 25
14
+ amount_off:
15
+ currency: usd
16
+ object: coupon
17
+ livemode: false
18
+ duration: repeating
19
+ redeem_by:
20
+ max_redemptions:
21
+ times_redeemed: 0
22
+ duration_in_months: 3
23
+ valid: true
24
+ metadata: {}
25
+ start: 1414767865
26
+ object: discount
27
+ customer: cus_00000000000000
28
+ subscription:
29
+ end: 1422716665
@@ -0,0 +1,29 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: customer.discount.deleted
6
+ object: event
7
+ request:
8
+ data:
9
+ object:
10
+ coupon:
11
+ id: 25OFF_00000000000000
12
+ created: 1414767873
13
+ percent_off: 25
14
+ amount_off:
15
+ currency: usd
16
+ object: coupon
17
+ livemode: false
18
+ duration: repeating
19
+ redeem_by:
20
+ max_redemptions:
21
+ times_redeemed: 0
22
+ duration_in_months: 3
23
+ valid: true
24
+ metadata: {}
25
+ start: 1414767873
26
+ object: discount
27
+ customer: cus_00000000000000
28
+ subscription:
29
+ end: 1422716673
@@ -0,0 +1,45 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: customer.discount.updated
6
+ object: event
7
+ request:
8
+ data:
9
+ object:
10
+ coupon:
11
+ id: 25OFF_00000000000000
12
+ created: 1414767870
13
+ percent_off: 25
14
+ amount_off:
15
+ currency: usd
16
+ object: coupon
17
+ livemode: false
18
+ duration: repeating
19
+ redeem_by:
20
+ max_redemptions:
21
+ times_redeemed: 0
22
+ duration_in_months: 3
23
+ valid: true
24
+ metadata: {}
25
+ start: 1414767870
26
+ object: discount
27
+ customer: cus_00000000000000
28
+ subscription:
29
+ end: 1422716670
30
+ previous_attributes:
31
+ coupon:
32
+ id: OLD_COUPON_ID
33
+ created: 1414767870
34
+ percent_off: 25
35
+ amount_off:
36
+ currency: usd
37
+ object: coupon
38
+ livemode: false
39
+ duration: repeating
40
+ redeem_by:
41
+ max_redemptions:
42
+ times_redeemed: 0
43
+ duration_in_months: 3
44
+ valid: true
45
+ metadata: {}