Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.36 KB | None | 0 0
  1. if($PayPal->APICallSuccessful($PayPalResult['Ack']))
  2. {
  3.     // Write the contents of the response array to the screen for demo purposes.
  4.     //echo '<a href="' . $PayPalResult['RedirectURL'] . '">Click here to continue.</a><br /><br />';
  5.     header('Location: ' . $PayPalResult['RedirectURL']);
  6. }
  7. else
  8. {
  9.     $PayPal->DisplayErrors($PayPalResult['Errors']);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement