PeachPay_ConvesioPay_Unified_Gateway D

Total Complexity 194
Dependencies 4
Dependents 0
Total lines 1,190
Lines of code 710
Logical lines of code 390
Comment lines 288
Methods 24
Properties 11

Methods 24

Method Rating Maintainability Complexity Lines of code
detect_payment_method()
D
41 35 44
redirect_to_btcpay_gateway()
C
35 23 82
process_payment()
B
33 21 97
process_refund()
B
34 21 84
redirect_to_applepay_gateway()
A
42 12 50
get_transaction_id_from_request()
A
48 11 33
redirect_to_card_gateway()
A
45 10 42
extract_unified_payment_data()
A
55 9 20
get_payment_method_type_from_request()
A
55 8 19
is_available()
S
57 7 18
__construct()
S
48 5 31
enqueue_scripts()
S
42 3 59
hide_order_actions_on_thankyou()
S
51 4 32
hide_gateway_with_css()
S
60 5 14
find_payment_by_order_number()
S
55 4 19
get_transaction_url()
S
63 3 11
process_generic_payment()
S
54 2 20
override_test_mode_title()
S
71 3 6
get_title()
S
72 2 6
payment_fields()
S
72 2 6
init_form_fields()
S
81 1 3
get_convesiopay_config()
S
81 1 3
create_fallback_transaction_id()
S
70 1 6
set_peachpay_order_details()
S
73 1 5