PMS_Payment_Gateway_Stripe_Connect D

Total Complexity 475
Dependencies 16
Dependents 7
Total lines 2,591
Lines of code 1,408
Logical lines of code 963
Comment lines 363
Methods 46
Properties 7

Methods 46

Method Rating Maintainability Complexity Lines of code
process_payment()
D
20
54 200
process_webhooks()
D
26
49 133
update_subscription()
D
30 38 99
get_success_redirect_url()
D
31 35 100
handle_checkout_error_redirect()
D
32 33 85
init()
B
41 19 45
register_automatic_billing_info()
A
41 15 55
update_customer_payment_method()
A
42 15 46
update_payment_intent()
A
45 14 37
log_error_data()
A
47 13 32
get_customer()
A
47 12 34
webhooks_process_subscription()
A
49 12 29
disable_trial_if_duplicate_card()
A
52 12 23
domain_is_registered()
A
49 11 31
get_wppb_autologin_url()
A
48 11 30
create_initial_payment_intent()
A
47 9 35
create_customer()
A
54 8 20
parse_intent_last_error()
A
56 8 17
save_payment_method_expiration_data()
A
57 8 17
create_initial_setup_intent()
S
53 7 23
is_failed_payment_request()
S
55 7 19
save_trial_card()
S
55 7 19
get_alternative_payment_method()
S
59 7 14
update_customer_information()
S
52 6 24
add_application_fee()
S
50 6 19
set_account_country()
S
59 5 14
get_initial_intent_amount()
S
61 5 13
payment_response()
S
56 4 19
get_usermeta_billing_details()
S
56 4 18
get_billing_details()
S
57 4 17
register_domain()
S
56 4 17
output_form_field_stripe_placeholder()
S
60 4 12
get_user_name()
S
66 4 8
register_form_sections()
S
59 3 13
register_form_fields()
S
57 2 16
process_amount()
S
66 3 8
field_publishable_key()
S
64 3 9
get_payment_error_redirect_url()
S
65 3 7
field_update_payment_method_nonce()
S
69 2 6
generate_auth_url()
S
64 2 10
wppb_success_message_wrappers()
S
65 2 9
wppb_handle_failed_payment()
S
79 1 3
set_appinfo()
S
69 1 8
get_zero_decimal_currencies()
S
70 1 5
field_ajax_nonces()
S
68 1 7
update_payment_form_field_publishable_key()
S
79 1 3