-
Home
-
PeachPay — Payments & Express Checkout for WooCommerce (supports Stripe, PayPal, Square, Authorize.net)
-
1.96.0
-
Code
-
Classes
- PeachPay_Stripe_Payment_Gateway
| Total Complexity |
78 |
| Dependencies |
9 |
| Dependents |
0 |
| Total lines |
584 |
| Lines of code |
385 |
| Logical lines of code |
153 |
| Comment lines |
111 |
| Methods |
20 |
| Properties |
7 |
Methods 20
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| process_payment() |
C |
32 |
25 |
95 |
| process_subscription_renewal() |
A |
38 |
6 |
71 |
| validate_fields() |
A |
53 |
9 |
20 |
| process_refund() |
S |
50 |
6 |
28 |
| process_zero_total_payment() |
S |
47 |
4 |
37 |
| handle_payment_method_title_filter() |
S |
60 |
4 |
14 |
| get_stripe_customer() |
S |
60 |
4 |
14 |
| action_needed_form() |
S |
54 |
3 |
25 |
| __construct() |
S |
53 |
3 |
23 |
| get_transaction_url() |
S |
63 |
2 |
12 |
| capture_method_setting() |
S |
58 |
1 |
17 |
| is_available() |
S |
69 |
2 |
7 |
| needs_setup() |
S |
77 |
2 |
3 |
| get_callback_url() |
S |
79 |
1 |
3 |
| create_payment_token() |
S |
98 |
1 |
1 |
| set_payment_method_title() |
S |
95 |
1 |
1 |
| confirm_payment() |
S |
82 |
1 |
3 |
| setup_future_usage() |
S |
82 |
1 |
3 |
| mandate_data() |
S |
82 |
1 |
3 |
| intent_metadata() |
S |
74 |
1 |
5 |