-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.5.7
-
Code
-
Classes
- LP_Gateway_Paypal
Total Complexity |
45 |
Dependencies |
8 |
Dependents |
0 |
Total lines |
449 |
Lines of code |
260 |
Logical lines of code |
126 |
Comment lines |
126 |
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 |
get_access_token() |
S |
50 |
4 |
28 |
init() |
S |
53 |
4 |
21 |
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 |