-
Home
-
TriPay Payment Gateway
-
3.3.1
-
Code
-
Classes
- TripayPayment
| Total Complexity |
92 |
| Dependencies |
4 |
| Dependents |
2 |
| Total lines |
823 |
| Lines of code |
658 |
| Logical lines of code |
231 |
| Comment lines |
9 |
| Methods |
21 |
| Properties |
4 |
Methods 21
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| view_order_and_thankyou_page() |
B |
32 |
19 |
104 |
| gateways() |
A |
32 |
3 |
143 |
| wp_add_checkout_fees() |
A |
48 |
9 |
30 |
| tripay_settings_page() |
S |
44 |
5 |
52 |
| tripay_settings_fields() |
S |
35 |
1 |
111 |
| convertUsdToIdr() |
S |
54 |
6 |
19 |
| convertFromIdr() |
S |
55 |
6 |
18 |
| update_tripay_settings() |
S |
55 |
5 |
18 |
| get_checkout_url() |
S |
60 |
5 |
13 |
| get_qr_url() |
S |
60 |
5 |
13 |
| fee() |
S |
51 |
4 |
26 |
| get_instruction() |
S |
52 |
4 |
24 |
| getServerIp() |
S |
53 |
4 |
23 |
| buildApiUrl() |
S |
65 |
5 |
7 |
| get_fee() |
S |
58 |
4 |
15 |
| callback_url() |
S |
63 |
2 |
10 |
| wp_refresh_checkout_on_payment_methods_change() |
S |
71 |
1 |
13 |
| init() |
S |
61 |
1 |
11 |
| wp_encrypt() |
S |
89 |
1 |
2 |
| wp_decrypt() |
S |
89 |
1 |
2 |
| add_tripay_settings_tab() |
S |
74 |
1 |
4 |