CPSW\Gateway\Stripe\Webhook B

Total Complexity 81
Dependencies 6
Dependents 2
Total lines 555
Lines of code 353
Logical lines of code 252
Comment lines 123
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
webhook_listener()
B
36 16 79
get_webhook_interaction_message()
A
43 15 44
charge_refund()
A
42 10 49
time_elapsed_string()
S
50 6 27
payment_intent_succeeded()
S
51 6 25
charge_dispute_closed()
S
53 6 22
make_charge()
S
54 4 20
charge_capture()
S
60 3 13
payment_intent_failed()
S
59 3 13
send_failed_order_email()
S
70 3 6
charge_dispute_created()
S
61 2 12
review_opened()
S
61 2 12
review_closed()
S
61 2 11
register_endpoints()
S
62 1 13
__construct()
S
79 1 3
get_order_id_from_intent()
S
74 1 4