Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

didScanCard method does not called #28

Closed
erdemgc opened this issue Dec 23, 2013 · 3 comments
Closed

didScanCard method does not called #28

erdemgc opened this issue Dec 23, 2013 · 3 comments

Comments

@erdemgc
Copy link

erdemgc commented Dec 23, 2013

When I add CardIOViewDelegate, didScanCard method does not called.

@dgoldman-pdx
Copy link
Member

@erdemgc we'll need more details to help you figure out what's going wrong.

Are you creating a CardIOView or a CardIOPaymentViewController?

After creating a CardIOView, and before presenting it, did you set view.delegate to your delegate object?

What is your flow: are you successfully scanning a card, manually entering card information, or canceling out of card.io?

Are there any messages written to the console log?

@erdemgc
Copy link
Author

erdemgc commented Dec 24, 2013

@dgoldman-ebay
I have created UIViewController in my storyboard. I have set its class to my custom view controller which implements CardIO. I am not adding CardIOView programmatically.

There is no message written in the console.

@dgoldman-pdx
Copy link
Member

@erdemgc have you set the CardIOView's delegate and appToken properties? (See our sample code for an example of doing this in your view controller's viewDidLoad method.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants