EE_SPCO_Reg_Step_Payment_Options D

Total Complexity 309
Dependencies 60
Dependents 0
Total lines 2,893
Lines of code 1,820
Logical lines of code 640
Comment lines 864
Methods 63
Properties 2

Methods 63

Method Rating Maintainability Complexity Lines of code
_create_attendee_from_request_data()
C
39 25 59
generate_reg_form()
B
32 20 116
_process_payment_status()
A
39 13 77
_validate_offsite_return()
A
45 14 42
find_registrations_that_lost_their_space()
A
44 12 47
_process_payment()
A
44 12 47
_setup_payment_options()
A
38 8 81
process_reg_step()
A
41 9 65
_billing_form_is_valid()
A
42 9 62
switch_payment_method()
A
42 9 60
_post_payment_processing()
A
45 9 42
_payment_method_billing_info()
A
43 8 52
get_billing_form_html_for_payment_method()
A
45 8 47
_verify_payment_method_is_set()
A
44 7 58
_last_second_ticket_verifications()
A
49 8 33
process_gateway_response()
A
50 8 31
get_transaction_details_for_gateways()
S
45 6 43
save_payer_details_via_ajax()
S
54 7 23
_get_payment_method_for_selected_method_of_payment()
S
46 5 46
_apply_registration_payments_to_amount_owing()
S
59 7 15
_capture_primary_registration_data_from_billing_form()
S
44 4 58
enqueue_styles_and_scripts()
S
56 6 18
_get_selected_method_of_payment()
S
50 5 32
_registrations_requiring_pre_approval()
S
47 4 39
initialize_reg_step()
S
56 5 19
_get_billing_form_for_payment_method()
S
50 4 33
_redirect_wayward_request()
S
50 4 33
_process_off_site_payment()
S
52 4 26
_insufficient_spaces_available()
S
47 3 39
add_spco_line_item_filters()
S
55 4 22
_get_return_url()
S
56 4 20
update_reg_step()
S
56 4 20
_get_available_payment_methods()
S
57 4 18
_setup_primary_registrant_prior_to_payment()
S
60 4 14
_sold_out_events()
S
47 2 42
_attempt_payment()
S
53 3 25
_validate_payment()
S
55 3 22
_process_cancelled_payments()
S
65 4 9
_maybe_set_completed()
S
66 4 10
remove_ejected_registrations()
S
61 3 13
_reset_selected_method_of_payment()
S
63 3 11
_display_payment_options()
S
49 1 38
set_hooks()
S
51 1 33
_no_payment_required()
S
53 1 26
_extra_hidden_inputs()
S
53 1 26
_available_payment_method_inputs()
S
56 1 20
_handle_payment_processor_exception()
S
59 1 18
_save_selected_method_of_payment()
S
68 2 8
_hide_reg_step_submit_button_if_revisit()
S
74 2 5
translate_js_strings()
S
62 1 14
__construct()
S
61 1 13
line_item_display()
S
82 1 3
save_payer_details()
S
80 1 3
get_transaction_details()
S
80 1 3
bypass_recaptcha_for_load_payment_method()
S
69 1 7
_redirect_because_event_sold_out()
S
67 1 8
set_line_item_display()
S
81 1 3
handle_IPN_in_this_request()
S
82 1 3
set_handle_IPN_in_this_request()
S
79 1 3
switch_spco_billing_form()
S
80 1 3
_adjust_registration_status_if_event_old_sold()
S
91 1 2
redirect_form()
S
66 1 9
__sleep()
S
77 1 3