- 
		Home
	
 
	- 
WP BASE Booking of Appointments, Services and Events
 
- 
3.7.4
 
- 
Code
 
- 
Classes
 
-  WpB_Gateway_API 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											117 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											728 | 
										
																			
											| Lines of code | 
											481 | 
										
																			
											| Logical lines of code | 
											194 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											140 | 
										
																			
											| Methods | 
											34 | 
										
																			
											| Properties | 
											12 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 34
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| do_success() | 
									B  | 
																	37 | 
													18 | 
													67 | 
							
					
				| _get_card_type() | 
									A  | 
																	54 | 
													16 | 
													16 | 
							
					
				| _print_month_dropdown() | 
									A  | 
																	53 | 
													13 | 
													16 | 
							
					
				| add_fee() | 
									A  | 
																	55 | 
													9 | 
													16 | 
							
					
				| standard_billing_form() | 
									A  | 
																	35 | 
													3 | 
													104 | 
							
					
				| template_redirect() | 
									A  | 
																	54 | 
													8 | 
													18 | 
							
					
				| do_error() | 
									S  | 
																	55 | 
													5 | 
													18 | 
							
					
				| _print_year_dropdown() | 
									S  | 
																	56 | 
													5 | 
													16 | 
							
					
				| standard_cc_form() | 
									S  | 
																	44 | 
													2 | 
													47 | 
							
					
				| return_url() | 
									S  | 
																	59 | 
													4 | 
													14 | 
							
					
				| get_value() | 
									S  | 
																	64 | 
													4 | 
													9 | 
							
					
				| common_settings() | 
									S  | 
																	47 | 
													1 | 
													43 | 
							
					
				| __construct() | 
									S  | 
																	54 | 
													2 | 
													19 | 
							
					
				| find_app_id() | 
									S  | 
																	69 | 
													3 | 
													6 | 
							
					
				| curl_check() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| check_wpb_version() | 
									S  | 
																	67 | 
													2 | 
													7 | 
							
					
				| settings_link() | 
									S  | 
																	72 | 
													2 | 
													4 | 
							
					
				| is_conf_page() | 
									S  | 
																	73 | 
													2 | 
													5 | 
							
					
				| apply_settings() | 
									S  | 
																	59 | 
													1 | 
													12 | 
							
					
				| on_creation() | 
									S  | 
																	100 | 
													1 | 
													2 | 
							
					
				| _payment_form_wrapper() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| payment_form() | 
									S  | 
																	100 | 
													1 | 
													2 | 
							
					
				| process_payment_form() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| confirm_payment_form() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| process_payment() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| order_confirmation() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| gateway_settings_box() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| process_gateway_settings() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| process_ipn_return() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| _generate_ipn_url() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_checkout_error() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_checkout_error() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| zero_decimal_currency() | 
									S  | 
																	75 | 
													1 | 
													3 | 
							
					
				| delete_session() | 
									S  | 
																	91 | 
													1 | 
													2 |