GetPaid_Stripe_Gateway D

Total Complexity 157
Dependencies 15
Dependents 1
Total lines 1,237
Lines of code 694
Logical lines of code 353
Comment lines 296
Methods 41
Properties 3

Methods 41

Method Rating Maintainability Complexity Lines of code
process_payment_intent()
A
45 12 42
process_setup_intent()
A
51 11 26
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
_process_single_subscription()
S
51 6 24
admin_check_expired_subscriptions()
S
52 6 24
subscription_cancelled()
S
52 5 26
process_addons()
S
54 5 19
filter_submission_js_data()
S
57 5 16
maybe_process_setup_intent()
S
59 5 14
enqueue_scripts()
S
53 4 21
register_email_settings()
S
43 1 56
maybe_process_payment_intent()
S
65 4 8
admin_notices()
S
71 4 5
generate_subscription_url()
S
63 4 9
process_normal_subscription()
S
59 3 14
__construct()
S
49 2 28
process_payment_method_update()
S
61 3 12
process_subscriptions()
S
63 3 11
disconnect_stripe()
S
52 2 25
get_stripe()
S
57 2 18
register_expired_subscriptions_tool()
S
56 1 24
is_localhost()
S
68 2 7
get_account_id()
S
71 2 6
init_email_type_hook()
S
69 2 6
maybe_filter_default_template_path()
S
66 2 9
create_checkout_session()
S
64 2 10
get_secret_key()
S
71 2 6
verify_ipn()
S
76 1 4
sandbox_notice()
S
70 1 7
maybe_get_connect_url()
S
78 1 3
admin_settings()
S
74 1 4
redirect_to_stripe()
S
74 1 4
filter_email_triggers()
S
76 1 4
send_stripe_payment_failed_email()
S
72 1 5
show_update_payment_method_modal()
S
74 1 4