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.
Returns
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 10.9.4
public function payment_fields() {
if ( $this->supports( PaymentGatewayFeature::TOKENIZATION ) && is_checkout() ) {
$this->tokenization_script();
$this->saved_payment_methods();
$this->form();
$this->save_payment_method_checkbox();
} else {
$this->form();
}
}