cancel
Showing results for 
Search instead for 
Did you mean: 

Call to a member function getCardNumber()

Hi, I am trying to build an implimentation into the codeIgniter (3x) framework. I've built an 'Authorize_net' library and am successfully accessing the library. However, I am currently getting this error:

 

[03-Dec-2018 15:18:22 UTC] PHP Fatal error:  Call to a member function getCardNumber() on string in /home/<pathtosite>/vendor/jms/serializer/src/JMS/Serializer/Metadata/PropertyMetadata.php on line 104

 

Any pointers on how to resolve?

 

Thanks!

dbrooke1007
Member
1 REPLY 1

This is solved.

It was this that was set wrong (correction below):

$paymentOne->setCreditCard($creditCard);
dbrooke1007
Member