Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2008
    Posts
    28
    Plugin Contributions
    0

    Default Instant Payment Notification Preferences

    Curious... I am troubleshooting why the product names are not showing up in either PayPal or in the admin section after a product purchase has been completed. In research/review of the postings on this topic, I noted that in my ZC admin, the suggested Instant Payment Notification URL provided after installing the PayPal IPN Module was an https:// domain location. The provided Automatic Return URL is also an https:// domain location.

    Any ideas?

    I'm using version ZC 1.3.8a

    Thanks in advance!! - Les

  2. #2
    Join Date
    Jan 2008
    Posts
    28
    Plugin Contributions
    0

    Default PayPal IPN Installation - SSL?

    I using only one form of payment on my site, that being PayPal IPN - Website Payments Standard. After installation, ZC provided the following:
    Code:
    Instant Payment Notification Preferences URL to:
    https://"https server root"/"store"/ipn_main_handler.php.
    In addition, the Website Payments Preferences set my
    Code:
    Automatic Return URL to:
    https://"https server root"/"store"/index.php?main_page=checkout_process.
    The above is the information I inserted into my PayPal profile under IPN Preferences
    Code:
    [IPN is turned on] 
    Instant Payment Notification (IPN) URL: https://"https server root"/"store"/ipn_main_handler.php
    Website Payment Preferences:
    Code:
    Auto Return: On
    Return URL: https://"https server root"/"store"/index.php?main_page=checkout_process
    I'm running ZC 1.3.8a

    The end result is that neither PayPal or ZC Admin are logging the products being purchased.

    Why is ZC using my https server versus the http server? What am I missing or what might be mis-configured in install configuration? This appears out of synch with all the posts I have read on this topic.

  3. #3
    Join Date
    Jan 2008
    Posts
    28
    Plugin Contributions
    0

    Default Re: Instant Payment Notification Preferences

    This is what I discovered after a lot of trial / error.

    When setting your Instant Payment Notification Preferences in PayPal, the URL should not point to a secured server (https://). Stick with the direction provided in just about every post in this forum regarding setting up your ipn w/in your PayPal profile :: http://www.sitename.com/storename/ipn_main_handler.php.

    A second note. If you have your site password protected to lock out visitors during maintenance or development, your ipn will not process correctly. I was using a .htaccess login. After shutting this off, all orders processed as designed.

    In reading how ipn works, I was led to believe that the purchaser at the end of the PayPal purchase process needed to click the "return to site" link provided in the PayPal site. This step was necessary to complete the order w/in the Zen Cart admin section. This is not true. I tested several times w/out returning to my site and Zen Cart logged all the sales data regardless.

    Lastly :: if you're doing a lot of trail purchase during your development, I highly suggest that you set up a sandbox account in PayPal: https://developer.paypal.com/cgi-bin...login_access=0. You create two sandbox identities; a business account (seller) and a personal account (buyer). Use your sandbox business account information when completing the PayPal IPN section w/in the Payment Modules section in Zen Cart. For the mode, use www.sandbox.paypal.com/cgi-bin/webscr. This saves a ton of time backing out a bunch of .01 charges to your credit card. After you complete your developement, it is a good idea to run a real credit card through the process as a final check.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Instant Payment Notification Preferences

    Quote Originally Posted by lplatz View Post
    In reading how ipn works, I was led to believe that the purchaser at the end of the PayPal purchase process needed to click the "return to site" link provided in the PayPal site. This step was necessary to complete the order w/in the Zen Cart admin section. This is not true. I tested several times w/out returning to my site and Zen Cart logged all the sales data regardless.
    That's correct if you're working with a created PayPal account.
    But if you're attempting to do a purchase without having created a PayPal account, then you *will* have to click to return to the site, since PayPal will ask you whether or not you want to create an account, before sending the IPN to your store to release the order.

    At least, that's how it works at the present time. Whether they'll improve that in the future is uncertain.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Instant Payment Notification Preferences

    Quote Originally Posted by lplatz View Post
    A second note. If you have your site password protected to lock out visitors during maintenance or development, your ipn will not process correctly. I was using a .htaccess login. After shutting this off, all orders processed as designed.
    That's correct, which is why it's mentioned in the PayPal troubleshooting guide here: http://www.zen-cart.com/wiki/index.php/PayPal
    Things to check if it's not working

    These are the common configuration errors:

    1. If it "was" working, but stopped, make sure PayPal's services are running properly. PayPal Live Server Status
    2. Make sure your site is *not* in down-for-maintenance mode.
    3. Make sure your site does *not* have password-protection via .htaccess in order to get to the "store" area.
    ...
    For future readers, note that several additional detailed suggestions are in the same section of that article.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. PayPal Instant Payment Notification Warning
    By royaldave in forum Upgrading to 1.5.x
    Replies: 9
    Last Post: 8 Jul 2018, 09:33 PM
  2. PayPal Instant Payment Notification Warning
    By pramitha in forum General Questions
    Replies: 3
    Last Post: 23 Jul 2016, 01:04 PM
  3. v151 Strange value on set Instant Payment Notification Preferences URL to: ?
    By philip937 in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 27 Sep 2013, 07:23 PM
  4. Paypal Instant Payment Notification
    By enquirer66 in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 16 Aug 2012, 01:57 PM
  5. PayPal Instant Payment Notification Warning
    By inovermyhead in forum General Questions
    Replies: 4
    Last Post: 16 Nov 2007, 04:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR