Search code examples
iosswiftdelegatesviewcontrollercard.io

Card.io not conforming with protocol CardIOPaymentViewControllerDelegate


I started to set up the code to use Card.io and am already getting this error, any advice on how to get through this issue?

https://i.sstatic.net/v8qx4.png


Solution

  • You are getting this error because you have not implemented all the delegate methods of CardIOPaymentViewControllerDelegate

    Implement this required methods in your controller

    userDidCancelPaymentViewController
    

    And

    userDidProvideCreditCardInfo