-
Home
-
Sunshine Photo Cart: Free Client Photo Galleries for Photographers
-
3.4.4
-
Code
-
Classes
- SPC_Payment_Method_Stripe
| Total Complexity |
168 |
| Dependencies |
4 |
| Dependents |
0 |
| Total lines |
1,137 |
| Lines of code |
871 |
| Logical lines of code |
414 |
| Comment lines |
73 |
| Methods |
38 |
| Properties |
9 |
Methods 38
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| setup_payment_intent() |
D |
24 |
33 |
189 |
| init_order() |
A |
34 |
10 |
104 |
| process_refund() |
A |
37 |
10 |
79 |
| process_payment() |
A |
41 |
9 |
56 |
| payment_return() |
A |
46 |
10 |
37 |
| stripe_connect_return() |
A |
51 |
10 |
22 |
| webhooks() |
A |
45 |
8 |
40 |
| options() |
S |
42 |
4 |
57 |
| enqueue_scripts() |
S |
53 |
6 |
21 |
| stripe_disconnect_return() |
S |
55 |
5 |
18 |
| get_transaction_url() |
S |
61 |
5 |
12 |
| checkout_validation() |
S |
66 |
5 |
7 |
| init() |
S |
49 |
3 |
28 |
| stripe_connect_display() |
S |
57 |
3 |
17 |
| get_application_fee_amount() |
S |
57 |
3 |
17 |
| setup() |
S |
64 |
4 |
10 |
| get_order_by_payment_intent() |
S |
58 |
2 |
17 |
| get_fields() |
S |
59 |
2 |
16 |
| init_setup() |
S |
69 |
3 |
7 |
| get_publishable_key() |
S |
76 |
3 |
3 |
| get_secret_key() |
S |
76 |
3 |
3 |
| get_account_id() |
S |
76 |
3 |
3 |
| mode() |
S |
70 |
3 |
6 |
| admin_order_tab_content_stripe() |
S |
59 |
2 |
13 |
| order_actions_options() |
S |
57 |
1 |
26 |
| is_allowed() |
S |
68 |
2 |
7 |
| create_order_status() |
S |
71 |
2 |
6 |
| order_notify() |
S |
71 |
2 |
6 |
| admin_order_tab() |
S |
70 |
2 |
6 |
| order_actions() |
S |
67 |
2 |
7 |
| get_webhook_url() |
S |
65 |
1 |
10 |
| get_mode() |
S |
80 |
1 |
3 |
| get_payment_intent_id() |
S |
82 |
1 |
3 |
| get_client_secret() |
S |
82 |
1 |
3 |
| get_stripe_customer_id() |
S |
81 |
1 |
3 |
| set_stripe_customer_id() |
S |
80 |
1 |
3 |
| get_application_fee_percent() |
S |
79 |
1 |
3 |
| get_transaction_id() |
S |
80 |
1 |
3 |