Skip to content
New issue

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

Support createCard #3

Open
adamjgriffith opened this issue Aug 22, 2019 · 3 comments
Open

Support createCard #3

adamjgriffith opened this issue Aug 22, 2019 · 3 comments
Labels
question Further information is requested

Comments

@adamjgriffith
Copy link

Is there a reason why createCard is not supported?

If I just want to generate a card token without authorising a payment what is the best way to achieve this?

@judgej
Copy link
Member

judgej commented Aug 23, 2019

It was just not implemented, but not for any particular reason. Pull requests are welcome if you have any code.

@judgej judgej added the question Further information is requested label Aug 23, 2019
@adamjgriffith
Copy link
Author

Ok I can maybe have a look at implementing it.

Is there any other way to just generate a card token?

@judgej
Copy link
Member

judgej commented Aug 23, 2019

I'm not sure, you will need to dig through the docs. Some gateways support a payment of zero to get a card token, so it is worth looking into that. Some gateways have specific endpoints to create card tokens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants