Having successfully created a token for a card, I can successfully access attributes like:
token.card.id # => "card_1E4YHkEyZ1SEBQHCiMrFatPq"
token.card.brand # => "Visa"
token.card.name # => "Jenny Rosen"
However, this fails:
token.card.fingerprint # => undefined
Any ideas why? Has anyone else had this problem?
The token.card.fingerprint property is only accessible with your Secret Key for security reasons. If you want to make use of this property, you should:
tok_xxyyyzz) to your back-end.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With