Total Complexity | 64 |
Dependencies | 6 |
Dependents | 1 |
Total lines | 344 |
Lines of code | 207 |
Logical lines of code | 162 |
Comment lines | 86 |
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 | 7 | 27 | |
verify_webhook_event_for_given_mode() | 58 | 5 | 15 | |
is_sale_completed_webhook_already_processed() | 62 | 4 | 10 | |
get_paypal_webhook_headers() | 61 | 3 | 11 | |
__construct() | 79 | 1 | 3 |