• Resolved franz12

    (@franz12)


    Hello Noor Alam,
    thanks for the great plugin, but I have a problem: I installed the subscription button and it works correctly, as payment is passed to PayPal and user is redirected to specified success page and if the checkout is interrupted user goes back to specified error page, but order list remains empty. I enabled debug option, but there is also no entry. I use the actual WordPress installation and your actual plugin. No other plugins are used. Would be great, if you could help me to solve my problem.
    Thanks in advance, Franz

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Noor Alam

    (@naa986)

    @franz12, Can you please check your PayPal account to see if IPN (Instant Payment Notification) is enabled?

    Thread Starter franz12

    (@franz12)

    Many thanks for your quick reply.
    PayPal account shows, that IPN is enabled. Maybe I do not use the correct URL.
    Is this URL “https://……/wp-content/plugins/wp-paypal/paypal-ipn.php”
    the correct one, or do I have to create an own IPN Listener file?

    Plugin Author Noor Alam

    (@naa986)

    @franz12, The plugin will tell PayPal exactly where to send it. You can just enter your homepage URL if PayPal doesn’t let you keep the field empty.

    If IPN is enabled and the log file is still empty, It’s possible that PayPal is not being able to send it to your site. You can use the test IPN functionality in your PayPal developer account to check it.

    Thread Starter franz12

    (@franz12)

    Hello Noor,
    unfortunately, I’m not able to use sandbox mode: “Things don’t appear to be working at the moment. Please try again later.”
    Using normal account with your plugin, I see that the correct IPN Messaage is shown in PayPal, but nothing will be delivered to my homepage URL.
    Therefore I tried a completely new installation of WordPress and your plugin (using a new webspace and new database). After installation, I was not able to fill PayPal-E-Mail-Address in plugin’s settings. Every time I click save changes, a html file is created in my client’s download directory showing: <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>
    <html><head>
    <title>503 Service Unavailable</title>
    </head><body>
    <h1>Service Unavailable</h1>
    <p>The server is temporarily unable to service your
    request due to maintenance downtime or capacity
    problems. Please try again later.</p>
    </body></html>
    I would really like to use your plugin, therefore do you have any idea to solve my curious problem?

    Plugin Author Noor Alam

    (@naa986)

    @franz12, There is a test IPN functionality in your PayPal developer account that allows you a send a test IPN to any URL (you won’t need sandbox for it). If you have a page with a button in it I can show where you need to send it to test it.

    I can’t help with the 503 error unfortunately. This is clearly a server issue.

    Thread Starter franz12

    (@franz12)

    Hello Noor,
    thanks again for your help. I tested IPN functionality with PayPal developer account.
    I saw, that the specified URL was contacted by PayPal, but I did not receive the IPN content.
    I guess it’s a problem of my web hoster, therefore I choose a new web hoster and installed WordPress and your plugin there, using your subscription button.
    Things are getting better now, but not really perfect:
    When doing an order via subscription button, I receive an entry in my order list, now
    Order: order
    Date: 3 minutes ago published
    but all other fields like Transaction ID, Name, Total and Payment Status are empty.
    Hope you can give me a hint one more time. Many thanks again.

    Plugin Author Noor Alam

    (@naa986)

    @franz12, You can’t just send the test IPN to any URL. There is a specific URL to which the plugin is listening. That’s why I asked for the page URL where you have the button (so I can investigate and give you the actual URL).

    Try sending it to https://yoursite.com/?wp_paypal_ipn=1 (replace yoursite.com with your actual domain. If no SSL use http instead) and see if there is anything in the debug log file.

    Please make sure to reset the log file before running this test. You should see a log reset message if the file is writable.

    Thread Starter franz12

    (@franz12)

    Same result as before in the order list. Log file was resetted and also empty.
    Here is the site with the subscribe button:
    https://www.mfsplayer.de/mfsplayer_abo/
    Is this what you asked for?

    Plugin Author Noor Alam

    (@naa986)

    @franz12, Thanks. It looks like your WordPress is installed in a sub-directory. So the IPN URL in this case is: https://www.mfsplayer.de/mfsplayer_abo/?wp_paypal_ipn=1. Have you tried this URL?

    Thread Starter franz12

    (@franz12)

    yes, I did.
    Do you think it’s a problem using WP in a sub-directory?

    Plugin Author Noor Alam

    (@naa986)

    @franz12, I don’t think so. I just checked your log file. It’s still empty. That means the plugin didn’t receive anything. So the only explanation is that your server is somehow blocking it.

    If you directly go to the IPN URL you will see that the plugin is listening to it.

    Thread Starter franz12

    (@franz12)

    Okay, so I will have to conatact my provider and ask him kindly to solve this “blocking- problem”. I’ll come back to you, when there are (hopefully) some news.
    Best regards, Franz

    Thread Starter franz12

    (@franz12)

    Hello Noor, maybe one step further: There are no entries in server logfiles regarding blocking something. So I started a new subscription, today. I noticed a file ‘log.txt’ in directory ‘..wp-content/plugins/wp-paypal/’
    This file contains the complete IPN message from my subscription, but orderlist is still empty.

    Plugin Author Noor Alam

    (@naa986)

    @franz12, I can see that the IPN was received. And the plugin was able to process it. But the post order could not be updated (possibly because wp_insert_post/wp_update_post failed).

    I can add some custom code to the plugin on your site to see exactly why it’s happening. if you are interested feel free to contact me: https://wphowto.net/contact

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘OrderList is empty’ is closed to new replies.