Jump to content
Larry Ullman's Book Forums

jaceybennett

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About jaceybennett

  • Rank
    Newbie
  1. Error location: Chapter 7, page 205 Incorrect text: } else { //Development (print the error) Corrected text: } else { //Production (email the error)
  2. Teeny tiny typo: Figure 7.5 shows "mysq.inc.php" instead of "mysql.inc.php".
  3. On page 172, number 9, I had to change 'payment_status', 'receiver_email' and 'mc_gross' from === to == because the IPN would not work. // Check for the right values: if ( isset($_POST['payment_status']) && ($_POST['payment_status'] == 'Completed') && ($_POST['receiver_email'] == 'treasurer@nmsc.org') && ($_POST['mc_gross'] == 40.00) && ($_POST['mc_currency'] === 'USD') && (!empty($_POST['txn_id'])) Because ipn.php is not a page you can test normally (like, with echo statements), how I
  4. This error has not been added to the ERRATA page for this book. I looked for it there first, then decided to check the forums and found it here.
  5. Once you've created your test accounts, you need to type "sandbox.paypal.com" into your address bar to get to the sandbox login. Otherwise, you're trying to log in to your regular PayPal account with your sandbox credentials, which clearly won't work.
×
×
  • Create New...