includes/gateways/class-wc-payment-gateway-cc.php 1 location
|
@@ 20-29 (lines=10) @@
|
| 17 |
|
* in users, and the actual payment fields. |
| 18 |
|
* @since 2.6.0 |
| 19 |
|
*/ |
| 20 |
|
public function payment_fields() { |
| 21 |
|
if ( $this->supports( 'tokenization' ) && is_checkout() && is_user_logged_in() ) { |
| 22 |
|
$this->tokenization_script(); |
| 23 |
|
$this->saved_payment_methods(); |
| 24 |
|
$this->form(); |
| 25 |
|
$this->save_payment_method_checkbox(); |
| 26 |
|
} else { |
| 27 |
|
$this->form(); |
| 28 |
|
} |
| 29 |
|
} |
| 30 |
|
|
| 31 |
|
/** |
| 32 |
|
* Output field name HTML |
includes/gateways/class-wc-payment-gateway-echeck.php 1 location
|
@@ 20-29 (lines=10) @@
|
| 17 |
|
* in users, and the actual payment fields. |
| 18 |
|
* @since 2.6.0 |
| 19 |
|
*/ |
| 20 |
|
public function payment_fields() { |
| 21 |
|
if ( $this->supports( 'tokenization' ) && is_checkout() && is_user_logged_in() ) { |
| 22 |
|
$this->tokenization_script(); |
| 23 |
|
$this->saved_payment_methods(); |
| 24 |
|
$this->form(); |
| 25 |
|
$this->save_payment_method_checkbox(); |
| 26 |
|
} else { |
| 27 |
|
$this->form(); |
| 28 |
|
} |
| 29 |
|
} |
| 30 |
|
|
| 31 |
|
/** |
| 32 |
|
* Outputs fields for entering eCheck information. |