Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9240201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:08:56+00:00 2026-06-18T08:08:56+00:00

I have set up a simple IPN using the code https://github.com/Quixotix/PHP-PayPal-IPN However when I

  • 0

I have set up a simple IPN using the code https://github.com/Quixotix/PHP-PayPal-IPN

However when I run the following

<?php
    include('ipnlistener.php');

    $listener = new IpnListener();
    $listener->use_sandbox = true;

    try {
        $verified = $listener->processIpn();
    } catch (Exception $e) {
        // fatal error trying to process IPN.
        exit(0);
    }

if ($verified) {

    if ($verified) {


     mail('myemail@gmail.com', 'Verified IPN', $listener->getTextReport()); 
    }
    else {
    /*
    An Invalid IPN *may* be caused by a fraudulent transaction attempt. It's
    a good idea to have a developer or sys admin manually investigate any 
    invalid IPN.
    */
    mail('myemail@gmail.com', 'Invalid IPN', $listener->getTextReport());
    }
}
?>

I am not getting any mail from my server saying it got the IPN from Paypal

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T08:08:57+00:00Added an answer on June 18, 2026 at 8:08 am

    You need to debug in detail, one way is to write the log after each line into file and then check which step is causing the problem, also you can directly browse IPN URL and check if email for invalid IPN is wokring or not. There may be an issue with mail server configuration.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have set up a very simple code snippet: $string = 'Some random words.
hi i am using django app engine patch i have set up a simple
I have a simple update set php sql function on my site where I
I have set up a simple php proxy $proxy = 'tcp://127.0.0.1:8080'; $context = array(
I have a set of simple shapes (see following figure), and I want to
I have a simple page with two lists. Using jQuery I have set the
I have set up a pretty simple RedisStore using connect-redis and redis packages. I
I am using Simple Modal with asp.net MVC. I have set it up using
I have a set of relatively simple electrical circuits. Small ones involving just resistors,
I have set up a few models in a simple django project. When I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.