-
Home
-
Payments Plugin and Checkout Plugin for WooCommerce: Stripe, PayPal, Square, Authorize.net
-
1.90.0
-
Code
-
Classes
- PeachPay_Square_Payment_Gateway
Total Complexity |
85 |
Dependencies |
8 |
Dependents |
0 |
Total lines |
449 |
Lines of code |
290 |
Logical lines of code |
179 |
Comment lines |
86 |
Methods |
15 |
Properties |
2 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
process_payment() |
D |
31 |
35 |
94 |
validate_fields() |
A |
49 |
12 |
28 |
process_refund() |
S |
48 |
6 |
32 |
process_subscription_renewal() |
S |
49 |
6 |
28 |
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 |
needs_setup() |
S |
80 |
1 |
3 |
enqueue_checkout_scripts() |
S |
78 |
1 |
3 |
enqueue_admin_scripts() |
S |
98 |
1 |
1 |
get_transaction_url() |
S |
80 |
1 |
3 |