GetPaid_Stripe_Gateway D

Total Complexity 168
Dependencies 15
Dependents 1
Total lines 1,280
Lines of code 721
Logical lines of code 372
Comment lines 305
Methods 41
Properties 3

Methods 41

Method Rating Maintainability Complexity Lines of code
process_payment_intent()
B
40 20 57
process_setup_intent()
A
49 12 29
maybe_store_webhooks()
A
54 9 21
process_payment()
A
44 7 46
maybe_redirect_to_settings()
S
58 8 14
payment_fields()
S
48 6 40
connect_stripe()
S
48 6 31
show_update_payment_method_button()
S
50 6 28
filter_transaction_url()
S
59 7 13
admin_check_expired_subscriptions()
S
52 6 24
_process_single_subscription()
S
51 6 24
maybe_process_setup_intent()
S
55 6 18
subscription_cancelled()
S
52 5 26
process_addons()
S
54 5 19
filter_submission_js_data()
S
57 5 16
maybe_process_payment_intent()
S
60 5 12
enqueue_scripts()
S
53 4 21
register_email_settings()
S
43 1 56
admin_notices()
S
71 4 5
generate_subscription_url()
S
63 4 9
process_normal_subscription()
S
58 3 14
__construct()
S
49 2 28
process_payment_method_update()
S
61 3 12
process_subscriptions()
S
62 3 11
disconnect_stripe()
S
52 2 25
get_stripe()
S
56 2 19
register_expired_subscriptions_tool()
S
56 1 24
init_email_type_hook()
S
69 2 6
get_secret_key()
S
71 2 6
maybe_filter_default_template_path()
S
66 2 9
create_checkout_session()
S
64 2 10
get_account_id()
S
71 2 6
is_localhost()
S
68 2 7
verify_ipn()
S
76 1 4
show_update_payment_method_modal()
S
74 1 4
maybe_get_connect_url()
S
78 1 3
redirect_to_stripe()
S
74 1 4
sandbox_notice()
S
70 1 7
admin_settings()
S
74 1 4
filter_email_triggers()
S
76 1 4
send_stripe_payment_failed_email()
S
72 1 5