/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Send POST for data response // Log response // Parse response foreach ($lines as $line) { } if ($processed && $keyarray['payment_status'] == 'Completed') { echo "OK"; } else { echo "Something went wrong.<br /> PayPal response: <br />".$res; }
Comments
