PeachPay_ConvesioPay_Unified_Gateway D

Total Complexity 257
Dependencies 5
Dependents 0
Total lines 1,482
Lines of code 901
Logical lines of code 499
Comment lines 357
Methods 25
Properties 11

Methods 25

Method Rating Maintainability Complexity Lines of code
detect_payment_method()
D
37 42 57
extract_unified_payment_data()
D
34 37 80
redirect_to_btcpay_gateway()
D
32 33 94
process_payment()
C
32 23 105
process_refund()
B
34 21 84
redirect_to_applepay_gateway()
B
39 16 60
get_active_payment_methods()
A
48 13 35
get_transaction_id_from_request()
A
48 11 33
redirect_to_card_gateway()
A
45 10 42
is_available()
A
45 8 47
get_payment_method_type_from_request()
A
55 8 19
__construct()
S
48 5 31
enqueue_scripts()
S
38 1 83
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