stripe_tester 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/stripe_tester.rb +1 -1
  4. data/lib/stripe_tester/version.rb +1 -1
  5. data/spec/stripe_tester_spec.rb +1 -1
  6. data/stripe_webhooks/2015-10-01/account_external_account_created.yml +23 -0
  7. data/stripe_webhooks/2015-10-01/account_external_account_deleted.yml +23 -0
  8. data/stripe_webhooks/2015-10-01/account_external_account_updated.yml +24 -0
  9. data/stripe_webhooks/2015-10-01/account_updated.yml +89 -0
  10. data/stripe_webhooks/2015-10-01/balance_available.yml +19 -0
  11. data/stripe_webhooks/2015-10-01/bitcoin_receiver_created.yml +30 -0
  12. data/stripe_webhooks/2015-10-01/bitcoin_receiver_filled.yml +30 -0
  13. data/stripe_webhooks/2015-10-01/bitcoin_receiver_transaction_created.yml +18 -0
  14. data/stripe_webhooks/2015-10-01/bitcoin_receiver_updated.yml +31 -0
  15. data/stripe_webhooks/2015-10-01/charge_captured.yml +66 -0
  16. data/stripe_webhooks/2015-10-01/charge_dispute_closed.yml +56 -0
  17. data/stripe_webhooks/2015-10-01/charge_dispute_created.yml +56 -0
  18. data/stripe_webhooks/2015-10-01/charge_dispute_funds_reinstated.yml +56 -0
  19. data/stripe_webhooks/2015-10-01/charge_dispute_funds_withdrawn.yml +56 -0
  20. data/stripe_webhooks/2015-10-01/charge_dispute_updated.yml +85 -0
  21. data/stripe_webhooks/2015-10-01/charge_failed.yml +66 -0
  22. data/stripe_webhooks/2015-10-01/charge_refunded.yml +77 -0
  23. data/stripe_webhooks/2015-10-01/charge_succeeded.yml +66 -0
  24. data/stripe_webhooks/2015-10-01/charge_updated.yml +68 -0
  25. data/stripe_webhooks/2015-10-01/coupon_created.yml +25 -0
  26. data/stripe_webhooks/2015-10-01/coupon_deleted.yml +25 -0
  27. data/stripe_webhooks/2015-10-01/coupon_updated.yml +26 -0
  28. data/stripe_webhooks/2015-10-01/customer_bank_account_created.yml +23 -0
  29. data/stripe_webhooks/2015-10-01/customer_bank_account_deleted.yml +23 -0
  30. data/stripe_webhooks/2015-10-01/customer_bank_account_updated.yml +24 -0
  31. data/stripe_webhooks/2015-10-01/customer_card_created.yml +33 -0
  32. data/stripe_webhooks/2015-10-01/customer_card_deleted.yml +33 -0
  33. data/stripe_webhooks/2015-10-01/customer_card_updated.yml +35 -0
  34. data/stripe_webhooks/2015-10-01/customer_created.yml +36 -0
  35. data/stripe_webhooks/2015-10-01/customer_deleted.yml +36 -0
  36. data/stripe_webhooks/2015-10-01/customer_discount_created.yml +31 -0
  37. data/stripe_webhooks/2015-10-01/customer_discount_deleted.yml +31 -0
  38. data/stripe_webhooks/2015-10-01/customer_discount_updated.yml +47 -0
  39. data/stripe_webhooks/2015-10-01/customer_subscription_created.yml +41 -0
  40. data/stripe_webhooks/2015-10-01/customer_subscription_deleted.yml +41 -0
  41. data/stripe_webhooks/2015-10-01/customer_subscription_trial_will_end.yml +41 -0
  42. data/stripe_webhooks/2015-10-01/customer_subscription_updated.yml +55 -0
  43. data/stripe_webhooks/2015-10-01/customer_updated.yml +38 -0
  44. data/stripe_webhooks/2015-10-01/invoice_created.yml +74 -0
  45. data/stripe_webhooks/2015-10-01/invoice_payment_failed.yml +74 -0
  46. data/stripe_webhooks/2015-10-01/invoice_payment_succeeded.yml +74 -0
  47. data/stripe_webhooks/2015-10-01/invoice_updated.yml +76 -0
  48. data/stripe_webhooks/2015-10-01/invoiceitem_created.yml +29 -0
  49. data/stripe_webhooks/2015-10-01/invoiceitem_deleted.yml +29 -0
  50. data/stripe_webhooks/2015-10-01/invoiceitem_updated.yml +31 -0
  51. data/stripe_webhooks/2015-10-01/order_created.yml +44 -0
  52. data/stripe_webhooks/2015-10-01/order_payment_failed.yml +44 -0
  53. data/stripe_webhooks/2015-10-01/order_payment_succeeded.yml +44 -0
  54. data/stripe_webhooks/2015-10-01/order_updated.yml +45 -0
  55. data/stripe_webhooks/2015-10-01/plan_created.yml +23 -0
  56. data/stripe_webhooks/2015-10-01/plan_deleted.yml +23 -0
  57. data/stripe_webhooks/2015-10-01/plan_updated.yml +25 -0
  58. data/stripe_webhooks/2015-10-01/product_created.yml +34 -0
  59. data/stripe_webhooks/2015-10-01/product_updated.yml +35 -0
  60. data/stripe_webhooks/2015-10-01/recipient_created.yml +30 -0
  61. data/stripe_webhooks/2015-10-01/recipient_deleted.yml +30 -0
  62. data/stripe_webhooks/2015-10-01/recipient_updated.yml +31 -0
  63. data/stripe_webhooks/2015-10-01/transfer_canceled.yml +38 -0
  64. data/stripe_webhooks/2015-10-01/transfer_created.yml +38 -0
  65. data/stripe_webhooks/2015-10-01/transfer_failed.yml +38 -0
  66. data/stripe_webhooks/2015-10-01/transfer_paid.yml +38 -0
  67. data/stripe_webhooks/2015-10-01/transfer_updated.yml +40 -0
  68. metadata +64 -2
@@ -0,0 +1,56 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: charge.dispute.created
6
+ object: event
7
+ request:
8
+ pending_webhooks: 1
9
+ api_version: '2015-10-01'
10
+ data:
11
+ object:
12
+ id: dp_00000000000000
13
+ charge: ch_00000000000000
14
+ amount: 1000
15
+ created: 1444032126
16
+ status: needs_response
17
+ livemode: false
18
+ currency: usd
19
+ object: dispute
20
+ reason: general
21
+ is_charge_refundable: false
22
+ balance_transactions: []
23
+ evidence_details:
24
+ due_by: 1445731199
25
+ past_due: false
26
+ has_evidence: false
27
+ submission_count: 0
28
+ evidence:
29
+ product_description:
30
+ customer_name:
31
+ customer_email_address:
32
+ customer_purchase_ip:
33
+ customer_signature:
34
+ billing_address:
35
+ receipt:
36
+ shipping_address:
37
+ shipping_date:
38
+ shipping_carrier:
39
+ shipping_tracking_number:
40
+ shipping_documentation:
41
+ access_activity_log:
42
+ service_date:
43
+ service_documentation:
44
+ duplicate_charge_id:
45
+ duplicate_charge_explanation:
46
+ duplicate_charge_documentation:
47
+ refund_policy:
48
+ refund_policy_disclosure:
49
+ refund_refusal_explanation:
50
+ cancellation_policy:
51
+ cancellation_policy_disclosure:
52
+ cancellation_rebuttal:
53
+ customer_communication:
54
+ uncategorized_text:
55
+ uncategorized_file:
56
+ metadata: {}
@@ -0,0 +1,56 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: charge.dispute.funds_reinstated
6
+ object: event
7
+ request:
8
+ pending_webhooks: 1
9
+ api_version: '2015-10-01'
10
+ data:
11
+ object:
12
+ id: dp_00000000000000
13
+ charge: ch_00000000000000
14
+ amount: 1000
15
+ created: 1444032128
16
+ status: needs_response
17
+ livemode: false
18
+ currency: usd
19
+ object: dispute
20
+ reason: general
21
+ is_charge_refundable: false
22
+ balance_transactions: []
23
+ evidence_details:
24
+ due_by: 1445731199
25
+ past_due: false
26
+ has_evidence: false
27
+ submission_count: 0
28
+ evidence:
29
+ product_description:
30
+ customer_name:
31
+ customer_email_address:
32
+ customer_purchase_ip:
33
+ customer_signature:
34
+ billing_address:
35
+ receipt:
36
+ shipping_address:
37
+ shipping_date:
38
+ shipping_carrier:
39
+ shipping_tracking_number:
40
+ shipping_documentation:
41
+ access_activity_log:
42
+ service_date:
43
+ service_documentation:
44
+ duplicate_charge_id:
45
+ duplicate_charge_explanation:
46
+ duplicate_charge_documentation:
47
+ refund_policy:
48
+ refund_policy_disclosure:
49
+ refund_refusal_explanation:
50
+ cancellation_policy:
51
+ cancellation_policy_disclosure:
52
+ cancellation_rebuttal:
53
+ customer_communication:
54
+ uncategorized_text:
55
+ uncategorized_file:
56
+ metadata: {}
@@ -0,0 +1,56 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: charge.dispute.funds_withdrawn
6
+ object: event
7
+ request:
8
+ pending_webhooks: 1
9
+ api_version: '2015-10-01'
10
+ data:
11
+ object:
12
+ id: dp_00000000000000
13
+ charge: ch_00000000000000
14
+ amount: 1000
15
+ created: 1444032132
16
+ status: needs_response
17
+ livemode: false
18
+ currency: usd
19
+ object: dispute
20
+ reason: general
21
+ is_charge_refundable: false
22
+ balance_transactions: []
23
+ evidence_details:
24
+ due_by: 1445731199
25
+ past_due: false
26
+ has_evidence: false
27
+ submission_count: 0
28
+ evidence:
29
+ product_description:
30
+ customer_name:
31
+ customer_email_address:
32
+ customer_purchase_ip:
33
+ customer_signature:
34
+ billing_address:
35
+ receipt:
36
+ shipping_address:
37
+ shipping_date:
38
+ shipping_carrier:
39
+ shipping_tracking_number:
40
+ shipping_documentation:
41
+ access_activity_log:
42
+ service_date:
43
+ service_documentation:
44
+ duplicate_charge_id:
45
+ duplicate_charge_explanation:
46
+ duplicate_charge_documentation:
47
+ refund_policy:
48
+ refund_policy_disclosure:
49
+ refund_refusal_explanation:
50
+ cancellation_policy:
51
+ cancellation_policy_disclosure:
52
+ cancellation_rebuttal:
53
+ customer_communication:
54
+ uncategorized_text:
55
+ uncategorized_file:
56
+ metadata: {}
@@ -0,0 +1,85 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: charge.dispute.updated
6
+ object: event
7
+ request:
8
+ pending_webhooks: 1
9
+ api_version: '2015-10-01'
10
+ data:
11
+ object:
12
+ id: dp_00000000000000
13
+ charge: ch_00000000000000
14
+ amount: 1000
15
+ created: 1444032135
16
+ status: under_review
17
+ livemode: false
18
+ currency: usd
19
+ object: dispute
20
+ reason: general
21
+ is_charge_refundable: false
22
+ balance_transactions: []
23
+ evidence_details:
24
+ due_by: 1445731199
25
+ past_due: false
26
+ has_evidence: false
27
+ submission_count: 0
28
+ evidence:
29
+ product_description:
30
+ customer_name:
31
+ customer_email_address:
32
+ customer_purchase_ip:
33
+ customer_signature:
34
+ billing_address:
35
+ receipt:
36
+ shipping_address:
37
+ shipping_date:
38
+ shipping_carrier:
39
+ shipping_tracking_number:
40
+ shipping_documentation:
41
+ access_activity_log:
42
+ service_date:
43
+ service_documentation:
44
+ duplicate_charge_id:
45
+ duplicate_charge_explanation:
46
+ duplicate_charge_documentation:
47
+ refund_policy:
48
+ refund_policy_disclosure:
49
+ refund_refusal_explanation:
50
+ cancellation_policy:
51
+ cancellation_policy_disclosure:
52
+ cancellation_rebuttal:
53
+ customer_communication:
54
+ uncategorized_text: Here is some evidence
55
+ uncategorized_file:
56
+ metadata: {}
57
+ previous_attributes:
58
+ evidence:
59
+ product_description:
60
+ customer_name:
61
+ customer_email_address:
62
+ customer_purchase_ip:
63
+ customer_signature:
64
+ billing_address:
65
+ receipt:
66
+ shipping_address:
67
+ shipping_date:
68
+ shipping_carrier:
69
+ shipping_tracking_number:
70
+ shipping_documentation:
71
+ access_activity_log:
72
+ service_date:
73
+ service_documentation:
74
+ duplicate_charge_id:
75
+ duplicate_charge_explanation:
76
+ duplicate_charge_documentation:
77
+ refund_policy:
78
+ refund_policy_disclosure:
79
+ refund_refusal_explanation:
80
+ cancellation_policy:
81
+ cancellation_policy_disclosure:
82
+ cancellation_rebuttal:
83
+ customer_communication:
84
+ uncategorized_text: Old uncategorized text
85
+ uncategorized_file:
@@ -0,0 +1,66 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: charge.failed
6
+ object: event
7
+ request:
8
+ pending_webhooks: 1
9
+ api_version: '2015-10-01'
10
+ data:
11
+ object:
12
+ id: ch_00000000000000
13
+ object: charge
14
+ created: 1419171865
15
+ livemode: false
16
+ paid: false
17
+ status: succeeded
18
+ amount: 212
19
+ currency: usd
20
+ refunded: false
21
+ source:
22
+ id: card_00000000000000
23
+ object: card
24
+ last4: '4242'
25
+ brand: Visa
26
+ funding: credit
27
+ exp_month: 12
28
+ exp_year: 2017
29
+ country: US
30
+ name: Shit man
31
+ address_line1:
32
+ address_line2:
33
+ address_city:
34
+ address_state:
35
+ address_zip:
36
+ address_country:
37
+ cvc_check: pass
38
+ address_line1_check:
39
+ address_zip_check:
40
+ tokenization_method:
41
+ dynamic_last4:
42
+ metadata: {}
43
+ customer: cus_00000000000000
44
+ captured: true
45
+ balance_transaction: txn_00000000000000
46
+ failure_message:
47
+ failure_code:
48
+ amount_refunded: 0
49
+ customer: cus_00000000000000
50
+ invoice: in_00000000000000
51
+ description:
52
+ dispute:
53
+ metadata: {}
54
+ statement_descriptor:
55
+ fraud_details: {}
56
+ receipt_email:
57
+ receipt_number:
58
+ shipping:
59
+ destination:
60
+ application_fee:
61
+ refunds:
62
+ object: list
63
+ total_count: 0
64
+ has_more: false
65
+ url: "/v1/charges/ch_5MuSnHsHswLrRL/refunds"
66
+ data: []
@@ -0,0 +1,77 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: charge.refunded
6
+ object: event
7
+ request:
8
+ pending_webhooks: 1
9
+ api_version: '2015-10-01'
10
+ data:
11
+ object:
12
+ id: ch_00000000000000
13
+ object: charge
14
+ created: 1419171865
15
+ livemode: false
16
+ paid: true
17
+ status: succeeded
18
+ amount: 212
19
+ currency: usd
20
+ refunded: true
21
+ source:
22
+ id: card_00000000000000
23
+ object: card
24
+ last4: '4242'
25
+ brand: Visa
26
+ funding: credit
27
+ exp_month: 12
28
+ exp_year: 2017
29
+ country: US
30
+ name: Shit man
31
+ address_line1:
32
+ address_line2:
33
+ address_city:
34
+ address_state:
35
+ address_zip:
36
+ address_country:
37
+ cvc_check: pass
38
+ address_line1_check:
39
+ address_zip_check:
40
+ tokenization_method:
41
+ dynamic_last4:
42
+ metadata: {}
43
+ customer: cus_00000000000000
44
+ captured: true
45
+ balance_transaction: txn_00000000000000
46
+ failure_message:
47
+ failure_code:
48
+ amount_refunded: 212
49
+ customer: cus_00000000000000
50
+ invoice: in_00000000000000
51
+ description:
52
+ dispute:
53
+ metadata: {}
54
+ statement_descriptor:
55
+ fraud_details: {}
56
+ receipt_email:
57
+ receipt_number:
58
+ shipping:
59
+ destination:
60
+ application_fee:
61
+ refunds:
62
+ object: list
63
+ total_count: 0
64
+ has_more: false
65
+ url: "/v1/charges/ch_5MuSnHsHswLrRL/refunds"
66
+ data:
67
+ - id: re_76hJB7TMiVvJJ7
68
+ amount: 212
69
+ currency: usd
70
+ created: 1444032113
71
+ object: refund
72
+ balance_transaction: txn_76hJ8oufKbKTfV
73
+ metadata: {}
74
+ charge: ch_76hJMkeSpCgL2d
75
+ receipt_number: 1480-4043
76
+ reason:
77
+ fee: 0
@@ -0,0 +1,66 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: charge.succeeded
6
+ object: event
7
+ request:
8
+ pending_webhooks: 1
9
+ api_version: '2015-10-01'
10
+ data:
11
+ object:
12
+ id: ch_00000000000000
13
+ object: charge
14
+ created: 1419171865
15
+ livemode: false
16
+ paid: true
17
+ status: succeeded
18
+ amount: 212
19
+ currency: usd
20
+ refunded: false
21
+ source:
22
+ id: card_00000000000000
23
+ object: card
24
+ last4: '4242'
25
+ brand: Visa
26
+ funding: credit
27
+ exp_month: 12
28
+ exp_year: 2017
29
+ country: US
30
+ name: Shit man
31
+ address_line1:
32
+ address_line2:
33
+ address_city:
34
+ address_state:
35
+ address_zip:
36
+ address_country:
37
+ cvc_check: pass
38
+ address_line1_check:
39
+ address_zip_check:
40
+ tokenization_method:
41
+ dynamic_last4:
42
+ metadata: {}
43
+ customer: cus_00000000000000
44
+ captured: true
45
+ balance_transaction: txn_00000000000000
46
+ failure_message:
47
+ failure_code:
48
+ amount_refunded: 0
49
+ customer: cus_00000000000000
50
+ invoice: in_00000000000000
51
+ description:
52
+ dispute:
53
+ metadata: {}
54
+ statement_descriptor:
55
+ fraud_details: {}
56
+ receipt_email:
57
+ receipt_number:
58
+ shipping:
59
+ destination:
60
+ application_fee:
61
+ refunds:
62
+ object: list
63
+ total_count: 0
64
+ has_more: false
65
+ url: "/v1/charges/ch_5MuSnHsHswLrRL/refunds"
66
+ data: []