-
Home
-
Paystack WooCommerce Payment Gateway
-
5.7
-
Code
-
Classes
- WC_Gateway_Paystack
Total Complexity |
192 |
Dependencies |
5 |
Dependents |
0 |
Total lines |
1,774 |
Lines of code |
1,015 |
Logical lines of code |
518 |
Comment lines |
261 |
Methods |
24 |
Properties |
23 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
payment_scripts() |
C |
31 |
30 |
92 |
__construct() |
B |
37 |
18 |
67 |
process_token_payment() |
B |
34 |
15 |
85 |
get_custom_fields() |
B |
36 |
15 |
84 |
verify_paystack_transaction() |
B |
35 |
14 |
82 |
process_webhooks() |
A |
38 |
13 |
67 |
init_form_fields() |
A |
26 |
2 |
227 |
process_refund() |
A |
40 |
12 |
58 |
process_payment() |
A |
48 |
10 |
30 |
process_redirect_payment_option() |
A |
41 |
8 |
52 |
save_subscription_payment_token() |
A |
54 |
10 |
19 |
payment_fields() |
S |
60 |
7 |
13 |
save_card_details() |
S |
52 |
6 |
23 |
receipt_page() |
S |
55 |
4 |
17 |
admin_scripts() |
S |
61 |
4 |
11 |
admin_options() |
S |
53 |
3 |
25 |
admin_notices() |
S |
64 |
4 |
9 |
is_available() |
S |
66 |
4 |
9 |
get_icon() |
S |
61 |
3 |
11 |
get_gateway_payment_channels() |
S |
64 |
3 |
11 |
is_autocomplete_order_enabled() |
S |
64 |
3 |
9 |
is_valid_for_use() |
S |
66 |
2 |
7 |
add_payment_method() |
S |
75 |
1 |
4 |
is_wc_lt() |
S |
79 |
1 |
3 |