Tokens: Get cards on any screen

This commit is contained in:
Mike Jolley 2016-05-09 17:36:40 +01:00
parent 3db3f3796e
commit 167df8acce
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ abstract class WC_Payment_Gateway extends WC_Settings_API {
return $this->tokens;
}
if ( is_user_logged_in() && $this->supports( 'tokenization' ) && is_checkout() ) {
if ( is_user_logged_in() && $this->supports( 'tokenization' ) ) {
$this->tokens = WC_Payment_Tokens::get_customer_tokens( get_current_user_id(), $this->id );
}