WC_Payment_Gateway_ECheck::payment_fields()
Builds our payment fields area - including tokenization fields for logged in users, and the actual payment fields.
Method of the class: WC_Payment_Gateway_ECheck{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Payment_Gateway_ECheck = new WC_Payment_Gateway_ECheck(); $WC_Payment_Gateway_ECheck->payment_fields();
Changelog
Since 2.6.0 | Introduced. |
WC_Payment_Gateway_ECheck::payment_fields() WC Payment Gateway ECheck::payment fields code WC 8.7.0
public function payment_fields() { if ( $this->supports( 'tokenization' ) && is_checkout() ) { $this->tokenization_script(); $this->saved_payment_methods(); $this->form(); $this->save_payment_method_checkbox(); } else { $this->form(); } }