CardConnectPaymentGateway D

Total Complexity 147
Dependencies 7
Dependents 0
Total lines 1,433
Lines of code 887
Logical lines of code 301
Comment lines 307
Methods 31
Properties 19

Methods 31

Method Rating Maintainability Complexity Lines of code
process_payment()
D
28
34 120
init_form_fields()
B
26
5 219
generate_settings_html()
A
39 14 62
load_options()
A
46 12 31
payment_fields()
A
43 7 47
admin_options()
S
43 4 67
get_user_defined_form_fields()
S
53 7 22
__construct()
S
44 5 46
get_cc_client()
S
66 8 7
handleVerificationError()
S
50 5 27
get_custom_fields_mapping_options()
S
55 5 18
getCardConnectCurrencyCode()
S
42 2 59
verify_customer_data()
S
60 5 13
process_refund()
S
50 3 26
get_card_alias()
S
62 3 11
handleAuthorizationResponse_Declined()
S
61 2 11
handleAuthorizationResponse_Retry()
S
61 2 11
get_checkout_form_data()
S
58 1 15
get_profile_id()
S
75 2 4
get_token()
S
74 2 4
get_store_new_card()
S
74 2 4
get_card_name()
S
74 2 4
get_saved_card_id()
S
74 2 4
get_expiry()
S
73 2 4
get_cvv2()
S
74 2 4
handleCheckoutFormDataError()
S
65 2 9
handleNoCardConnectConnection()
S
64 2 10
handleAuthorizationResponse_NoResponse()
S
63 2 10
get_order_total_formatted()
S
70 1 6
handleAuthorizationResponse_DefaultError()
S
68 1 7
register_scripts()
S
71 1 5