-
Home
-
Payments Plugin and Checkout Plugin for WooCommerce: Stripe, PayPal, Square, Authorize.net
-
1.92.0
-
Code
-
Classes
- PeachPay_Square_Payment_Gateway
Total Complexity |
91 |
Dependencies |
9 |
Dependents |
0 |
Total lines |
504 |
Lines of code |
337 |
Logical lines of code |
202 |
Comment lines |
87 |
Methods |
15 |
Properties |
2 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
process_payment() |
D |
29 |
37 |
110 |
validate_fields() |
A |
49 |
12 |
28 |
process_refund() |
A |
43 |
8 |
48 |
process_subscription_renewal() |
A |
45 |
7 |
41 |
get_tokens() |
S |
60 |
5 |
12 |
__construct() |
S |
51 |
3 |
27 |
create_payment_token() |
S |
55 |
3 |
19 |
square_script_src() |
S |
69 |
4 |
7 |
prepare_payment_details() |
S |
60 |
3 |
14 |
action_needed_form() |
S |
64 |
2 |
12 |
is_available() |
S |
69 |
2 |
7 |
enqueue_checkout_scripts() |
S |
72 |
2 |
5 |
needs_setup() |
S |
80 |
1 |
3 |
enqueue_admin_scripts() |
S |
98 |
1 |
1 |
get_transaction_url() |
S |
80 |
1 |
3 |