I'm developing a custom WooCommerce payment gateway plugin.
However, I'm having one issue in the http://website/my-account page.
The registered token payment methods is not listing properly all data in http://website/my-account/payment-methods page.
From the payment-methods.php I can see that in the code payment methods are listed based on the
However when I tried to echo the array, I don't see the payment method value of
last4 listed in it - even the actual size is one.
I'm trying to look for more documentation, however I haven't found the solution yet.
Is it something that I need to explicitly trigger when adding new payment-method / checkout using new payment method apart from saving the payment token?