PMS_Payment_Gateway_Stripe_Connect D

Total Complexity 422
Dependencies 9
Dependents 1
Total lines 2,295
Lines of code 1,245
Logical lines of code 842
Comment lines 306
Methods 45
Properties 9

Methods 45

Method Rating Maintainability Complexity Lines of code
process_payment()
D
18
61 214
process_webhooks()
D
24
54 142
update_subscription()
D
30 39 99
register_automatic_billing_info()
B
41 20 50
create_payment_intent()
B
40 16 52
update_customer_payment_method()
A
43 14 44
__construct()
A
43 13 42
webhooks_process_subscription()
A
46 13 35
log_error_data()
A
47 13 32
get_customer()
A
48 12 33
disable_trial_if_duplicate_card()
A
53 11 20
domain_is_registered()
A
50 10 28
create_setup_intent()
A
46 9 36
save_payment_method_expiration_data()
A
56 9 19
add_intent_metadata()
A
54 9 18
get_billing_details()
A
52 8 24
create_customer()
A
54 8 19
parse_intent_last_error()
A
56 8 17
create_initial_setup_intent()
S
51 7 26
is_failed_payment_request()
S
55 7 19
save_trial_card()
S
56 7 18
get_alternative_payment_method()
S
59 7 14
update_customer_information()
S
52 6 24
add_application_fee()
S
50 6 19
payment_response()
S
55 4 19
get_usermeta_billing_details()
S
56 4 18
register_domain()
S
59 4 15
output_form_field_stripe_placeholder()
S
60 4 12
set_account_country()
S
62 4 11
field_update_payment_method_nonce()
S
65 4 8
get_user_name()
S
66 4 8
register_form_sections()
S
59 3 13
register_form_fields()
S
57 2 16
reset_stripe_client()
S
67 3 7
field_publishable_key()
S
64 3 9
process_amount()
S
66 3 8
get_offsite_redirect_return_url()
S
66 2 8
generate_auth_url()
S
64 2 10
wppb_success_message_wrappers()
S
65 2 9
get_instance()
S
73 2 5
wppb_handle_failed_payment()
S
79 1 3
get_zero_decimal_currencies()
S
70 1 5
set_appinfo()
S
69 1 8
field_ajax_nonces()
S
70 1 6
update_payment_form_field_publishable_key()
S
79 1 3