Total Complexity | 65 |
Dependencies | 5 |
Dependents | 1 |
Total lines | 341 |
Lines of code | 208 |
Logical lines of code | 163 |
Comment lines | 85 |
Methods | 9 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
handle_paypal_webhook() | 41 | 16 | 53 | |
handle_subscription_payment_received() | 46 | 11 | 34 | |
handle_payment_refunded() | 50 | 9 | 25 | |
create_ipn_data_from_paypal_api_subscription_details_data() | 49 | 8 | 29 | |
handle_subscription_status_update() | 50 | 8 | 27 | |
verify_webhook_event_for_given_mode() | 58 | 5 | 15 | |
is_sale_completed_webhook_already_processed() | 60 | 4 | 11 | |
get_paypal_webhook_headers() | 61 | 3 | 11 | |
__construct() | 79 | 1 | 3 |