WPbooking Submit Form Gateway

Class WPBooking_SubmitForm_Gateway is offline payment gateway. Inherited from the WPBooking_Abstract_Payment_Gateway class to serve booking payments. Here are the action and filter that the class uses! Added options Submit Form in Setting Gateways:  $this->settings=array(...); Add description for payment gateway in checkout page:  add_action('wpbooking_gateway_desc_'.$this->gateway_id,array($this,'_show_bank_account')); Add Setting Submit Form

Function _show_bank_account() – Displays the description of the payment gateway

[…]

Read More

WPbooking Paypal Gateway

Class WPBooking_Paypal_Gateway is the Paypal payment gateway. Inherited from the WPBooking_Abstract_Payment_Gateway class to serve booking payments. Here is the action and filter that the class uses! Add Paypal options in Setting Gateways: $this->settings=array(...); Check Payment is not complete:  add_action('wpbooking_before_order_information_table',array($this,'_show_paynow_button')); Note*: Gateway must be inited after init wordpress hook We use Omnipay Library for Paypal Example Gateway […]

Read More

WPbooking Base Gateways

Class WPBooking_Abstract_Payment_Gateway is used for booking payments on various payment gateways. Here are the action and filter that the class uses! Add payment gateway:  add_filter('wpbooking_payment_gateways', array($this, '_register_gateway')); Add Settings Payment for Wpbooking:  add_filter('wpbooking_payment_settings_sections', array($this, '_add_setting_section')); Function: _register_gateway() – Hook callback for register Gateway Sections

Function: _add_setting_section() – Hook Callback for Create Setting Section

Function: get_settings_fields() – Get add settings Output Array settings […]

Read More