Facebook Credits Demo Application Errors |
[eluser]JohnnyAction[/eluser]
Facebook has provided some sample code to create a demo credits page found here: https://github.com/facebook/credits-api-sample I've taken the facebook files and set them up as autoloaded plugins, then turned their index.php view into a view. I created a controller that loads up and launches the view. This part seems great. When I load the page, everything seems to work. I can buy credits, and it comes back successful. The only problem is that when the page first loads, I get these 3 error messages: Quote:A PHP Error was encountered The errors come from this part of the code: Code: <?php As far as I understand it, the errors are related to the 'order_id','error_code' and 'html' variables. What I don't understand is why. Haven't I read somewhere that CI has a problem with $_GET commands from Facbeook? Is that the issue? If so, how do I get around it? As I said, this doesn't seem to change the functionality of the credit purchase. If I comment out that whole block, it still works fine. I just don't know what problems that might cause. I know this code is pretty new, and I've very new to this stuff. Any help would be appreciated. |
Welcome Guest, Not a member yet? Register Sign In |