-
Home
-
WooCommerce Canada Wechat Payment
-
2.1.10 (latest)
-
Code
-
Classes
- CXHWechatWCPaymentGateway
Total Complexity |
45 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
323 |
Lines of code |
240 |
Logical lines of code |
131 |
Comment lines |
41 |
Methods |
15 |
Properties |
0 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
check_wechatpay_response() |
A |
45 |
11 |
42 |
receipt_page() |
A |
39 |
5 |
61 |
get_order_title() |
S |
55 |
6 |
17 |
process_refund() |
S |
52 |
5 |
21 |
wp_enqueue_scripts() |
S |
60 |
5 |
11 |
init_form_fields() |
S |
51 |
1 |
31 |
get_order_status() |
S |
63 |
3 |
10 |
wplog() |
S |
73 |
2 |
4 |
__construct() |
S |
61 |
1 |
12 |
process_payment() |
S |
69 |
1 |
7 |
woocommerce_wechatpay_add_gateway() |
S |
77 |
1 |
4 |
do_post_request() |
S |
72 |
1 |
5 |
create_uuid() |
S |
66 |
1 |
7 |
wc_get_order_id_by_ott_id() |
S |
72 |
1 |
5 |
get_ott_id() |
S |
79 |
1 |
3 |