i am using the facebook credits example and everything works but this:
if ($_GET['order_id'] && $_GET['status']) {
$html = "Transaction Completed! </br></br>"
."Data returned from Facebookkkkkk: </br>"
."<b>Order ID: </b>" . $_GET['order_id'] . "</br>"
."<b>Status: </b>" . $_GET['status'];
} elseif ($_GET['error_code'] && $_GET['error_message']) {
$html = "Transaction Failed! </br></br>"
."Error message returned from Facebook:</br>"
.$_GET['error_message'];
}
looks like $order_id and $status are not passed back.
what i actually need is to get the vars from the form passed back into php so i can put them into a database.
any ideas?
thanks
To get these you generally need to this: