Mangopay / mangopay2-ruby-sdk

Ruby Gem for MANGOPAY
https://rubygems.org/gems/mangopay
MIT License
42 stars 38 forks source link

Need a link from Card_ID to card registration #30

Closed augnustin closed 9 years ago

augnustin commented 9 years ago

I can fetch a Card Registration : MangoPay::CardRegistration.fetch(<ID>), from a User, I can find a Card, but from a card I can't reach the Card Registration to analyse why the card is in state INVALID.

That would be very useful (I'm aware this is API related, and not SDK, but that's my interface to make tech feedbacks).

hobailey commented 9 years ago

Hi @aug-riedinger, the Card will be INVALID because of a failed payment attempt - if there was a problem at the registration stage, you wouldn't have received a CardId :-)

augnustin commented 9 years ago

Makes sense. I need to investigate further then.