I am using Github sample code for the Facebook Credits (callback.php and index.php) but its giving me the below error.. anybody have any solution???
"Order::update_order called with invalid state transition:3 -> 0"
Thanks..
I am using Github sample code for the Facebook Credits (callback.php and index.php) but its giving me the below error.. anybody have any solution???
"Order::update_order called with invalid state transition:3 -> 0"
Thanks..
Copyright © 2021 Jogjafile Inc.
Hard to answer without seeing the code you're using, but the response you send should look like this:
ORDER_ID
should be replaced by the order id sent from fB with the request.There were incorrect examples out there that showed:
but the second one doesn't work. Check to make sure you're not sending content as an array.