We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, it returns an AttachedObject, while I think it should return a Card
AttachedObject
Card
The text was updated successfully, but these errors were encountered:
I now have to do this:
public function getCard(string $token) : Card { $token = Token::retrieve($token); return Util::convertToStripeObject($token->card->__toArray(), null); }
and that looks very ugly :D
Sorry, something went wrong.
Hi @ruudk. This is a known issue described here. We have a fix pending in #396 but it's turning out to be slightly more complex than anticipated.
We're still going to fix this, but OOC, why do you need the card property to be a card object?
card
Successfully merging a pull request may close this issue.
Currently, it returns an
AttachedObject
, while I think it should return aCard
The text was updated successfully, but these errors were encountered: