PMS_Payment_Gateway_Stripe_Connect D

Total Complexity 374
Dependencies 14
Dependents 5
Total lines 2,194
Lines of code 1,162
Logical lines of code 793
Comment lines 330
Methods 42
Properties 7

Methods 42

Method Rating Maintainability Complexity Lines of code
process_payment()
D
21
46 196
process_webhooks()
D
31 34 103
update_subscription()
D
34 32 76
init()
B
41 19 45
handle_checkout_error_redirect()
B
40 16 54
register_automatic_billing_info()
A
41 15 55
update_customer_payment_method()
A
42 15 46
update_payment_intent()
A
46 14 36
log_error_data()
A
47 13 32
get_success_redirect_url()
A
46 12 35
get_customer()
A
47 12 34
disable_trial_if_duplicate_card()
A
52 12 23
webhooks_process_subscription()
A
52 8 23
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_payment_intent()
A
49 7 31
create_initial_setup_intent()
S
53 7 23
is_failed_payment_request()
S
55 7 19
apple_pay_domain_is_registered()
S
57 7 17
update_customer_information()
S
52 6 24
save_trial_card()
S
56 6 17
add_application_fee()
S
58 6 13
set_account_country()
S
60 5 14
output_form_field_stripe_placeholder()
S
59 5 13
payment_response()
S
56 4 19
get_usermeta_billing_details()
S
56 4 18
get_billing_details()
S
57 4 17
apple_pay_register_domain()
S
60 4 13
get_user_name()
S
66 4 8
register_form_sections()
S
59 3 13
field_ajax_nonces()
S
61 3 11
register_form_fields()
S
57 2 16
field_publishable_key()
S
64 3 9
get_payment_error_redirect_url()
S
67 3 6
process_amount()
S
62 3 10
field_update_payment_method_nonce()
S
69 2 6
generate_auth_url()
S
64 2 10
wppb_success_message_wrappers()
S
65 2 9
update_payment_form_field_publishable_key()
S
79 1 3
wppb_handle_failed_payment()
S
79 1 3
set_appinfo()
S
69 1 8