- 
		Home
	
- 
Forminator Forms – Contact Form, Payment Form & Custom Form Builder
- 
1.20.1
- 
Code
- 
Classes
-  Forminator_PayPal_Express 
		
			
				
					
													
								
																			
											| Total Complexity | 55 | 
																			
											| Dependencies | 2 | 
																			
											| Dependents | 5 | 
																	
							 
													
								
																			
											| Total lines | 450 | 
																			
											| Lines of code | 165 | 
																			
											| Logical lines of code | 76 | 
																	
							 
													
								
																			
											| Comment lines | 196 | 
																			
											| Methods | 25 | 
																			
											| Properties | 12 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 25
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| api_request() | A | 45 | 12 | 39 | 
					
				| init_settings() | A | 54 | 10 | 18 | 
					
				| validate_id() | S | 52 | 4 | 24 | 
					
				| forminator_remove_ver_paypal() | S | 71 | 3 | 5 | 
					
				| get_api_url() | S | 72 | 2 | 6 | 
					
				| is_live_ready() | S | 78 | 2 | 3 | 
					
				| is_test_ready() | S | 78 | 2 | 3 | 
					
				| is_ready() | S | 72 | 2 | 6 | 
					
				| is_available() | S | 66 | 2 | 8 | 
					
				| get_sandbox_id() | S | 82 | 1 | 3 | 
					
				| get_sandbox_secret() | S | 82 | 1 | 3 | 
					
				| get_live_id() | S | 82 | 1 | 3 | 
					
				| get_live_secret() | S | 82 | 1 | 3 | 
					
				| get_default_currency() | S | 82 | 1 | 3 | 
					
				| is_live() | S | 82 | 1 | 3 | 
					
				| store_settings() | S | 79 | 1 | 3 | 
					
				| set_live() | S | 81 | 1 | 3 | 
					
				| handle_purchase() | S | 82 | 1 | 3 | 
					
				| gateway_footer_scripts() | S | 91 | 1 | 2 | 
					
				| render_buttons_script() | S | 91 | 1 | 2 | 
					
				| create_order() | S | 78 | 1 | 3 | 
					
				| get_order() | S | 78 | 1 | 3 | 
					
				| update_order() | S | 63 | 1 | 10 | 
					
				| authorize_order() | S | 77 | 1 | 3 | 
					
				| capture_order() | S | 77 | 1 | 3 |