-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.6.9.1
-
Code
-
Classes
- LP_Gateway_Paypal
Total Complexity |
45 |
Dependencies |
8 |
Dependents |
0 |
Total lines |
462 |
Lines of code |
268 |
Logical lines of code |
126 |
Comment lines |
130 |
Methods |
12 |
Properties |
14 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
check_webhook_callback() |
A |
48 |
9 |
33 |
create_payment_url() |
A |
47 |
8 |
35 |
capture_payment_for_order() |
S |
50 |
5 |
26 |
validate_ipn() |
S |
54 |
5 |
19 |
init() |
S |
50 |
4 |
29 |
get_access_token() |
S |
50 |
4 |
28 |
get_paypal_args() |
S |
48 |
3 |
33 |
get_order_args() |
S |
49 |
2 |
33 |
process_payment() |
S |
59 |
2 |
14 |
__construct() |
S |
60 |
1 |
12 |
paypal_available() |
S |
82 |
1 |
3 |
get_settings() |
S |
79 |
1 |
3 |