[eluser]Jesse Schutt[/eluser]
This code is in the "Success" view of the Paypal_lib. It is not displaying any information regarding the _POST information. Actually, it isn't displaying anything at all other than the "Success, Your Payment was received..." Any ideas?
Code:
<h2>Success!</h2>
<p>Your payment was received using Paypal.</p>
<?php if($this->input->post()): ?>
<p>Here's its information:</p>
<p><code>
<?php
foreach ($this->input->post() as $key => $value)
echo '<strong>$key</strong>: $value <br/>';
?>
</code></p>
<?php endif; ?>
If I insert the following, I can see results, so I am pretty sure that there is _POST data.
Code:
<?php
if (isset($_POST))
{
print "<pre>". htmlspecialchars(print_r($_POST, TRUE)) ."</pre>";
}
else
{
print '$_POST not set!';
}
?>
Jesse