-
Home
-
Payments Plugin and Checkout Plugin for WooCommerce: Stripe, PayPal, Square, Authorize.net
-
1.113.0 (latest)
-
Code
-
Classes
- PeachPay_Square_Payment_Gateway
Total Complexity |
94 |
Dependencies |
10 |
Dependents |
0 |
Total lines |
545 |
Lines of code |
372 |
Logical lines of code |
204 |
Comment lines |
90 |
Methods |
15 |
Properties |
3 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
process_payment() |
D |
27 |
37 |
125 |
validate_fields() |
A |
47 |
13 |
32 |
process_refund() |
A |
41 |
9 |
55 |
process_subscription_renewal() |
A |
42 |
8 |
51 |
__construct() |
S |
50 |
4 |
30 |
get_tokens() |
S |
60 |
5 |
12 |
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 |
98 |
1 |
1 |
enqueue_admin_scripts() |
S |
98 |
1 |
1 |
get_transaction_url() |
S |
80 |
1 |
3 |