-
Home
-
PeachPay — Payments & Express Checkout for WooCommerce (supports Stripe, PayPal, Square, Authorize.net)
-
1.117.7
-
Code
-
Classes
- PeachPay_Stripe
| Total Complexity |
79 |
| Dependencies |
9 |
| Dependents |
8 |
| Total lines |
804 |
| Lines of code |
448 |
| Logical lines of code |
185 |
| Comment lines |
115 |
| Methods |
14 |
| Properties |
0 |
Methods 14
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| calculate_payment_state() |
C |
35 |
27 |
74 |
| refund_payment() |
A |
40 |
6 |
66 |
| create_payment() |
S |
43 |
5 |
50 |
| setup_payment() |
S |
45 |
5 |
45 |
| capture_payment() |
S |
44 |
4 |
51 |
| void_payment() |
S |
44 |
4 |
51 |
| handle_dispute_created() |
S |
52 |
5 |
22 |
| handle_dispute_closed() |
S |
55 |
5 |
18 |
| get_customer() |
S |
57 |
5 |
16 |
| dashboard_url() |
S |
58 |
4 |
15 |
| set_customer() |
S |
57 |
3 |
18 |
| display_amount() |
S |
68 |
2 |
7 |
| format_descriptor() |
S |
66 |
2 |
8 |
| format_amount() |
S |
68 |
2 |
7 |