Results 101 to 104 of 104

Threaded View

  1. #1
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Paypal Sessions Viewer + pushorder

    Sometimes paypal IPN orders are not completed automatically (the customer has payed successfully, but the order does not appear in the admin and no
    order emails are sent).

    This contribution allows you to "push" these orders into your orders table. It is based on the Paypal Sessions Viewer by Dr. Byte + ShoeTick's update and pushorder addon.

    Last minute notes:

    - You need to check the payments yourself. The script does not do this for you.

    - Repeated IPN's sent by Paypal allow Zen Cart to complete the order, even if the initial IPN failed. So it's usually best to wait a while to see if the order is completed automatically after all.

    - The security of the pushorder feature has improved a lot compared to v2.0. But I still recommend to rename (or even remove) pushorder.php, especially when it's not in use.

    Version details:

    Version 3.01
    1- added possibility to add pushorder comments to the order comments (defined in configure file)

    2- added notify checkbox (send order emails or not)

    3- added a link to the customer details page

    4- some other small modifications

    Version 3.0
    1- fixed PHP5 issue with viewer (I hope)

    - Added pagination
    Now 20 sessions are listed per page (in older versions all sessions were listed)

    2- improved security
    added ip address check, and fixed the (was not working in 2.0 !?) pushorder password protection

    3- added confirmation form to pushorder.php

    4- fixed link to pushorder.php

    5- defined pushorder.php filename
    Makes it easier to rename the file (to improve security)

    6- added two configure files

    admin/includes/extra_configures/pushorder.php
    pushorder password

    and:
    includes/extra_configures/pushorder.php
    pushorder password (this and the admin pushorder password must match)
    ip-address setting (enter the ip address of the admin that is allowed to push the paypal orders)

    7- removed the redirection back to the admin
    your admin should not reside at www.yourdomain.nl/admin anyway, but at a secret location!

    8- added email notification
    PAYPAL_PUSHORDER_SEND_EMAIL true/false

    Known issues:
    - pushorders are not saved to the "PayPal Instant Payment Notifications" table.
    - The pushorder do not follow the "normal code flow". So several zen notifiers will probably be skipped by it.

    v 2.0

    This is a the stuck paypal orders script by DrByte but with some major improvements.

    Firstly, Instead of using $_SESSION to store the data I am using a variable name.
    This fixes the bug that makes DrByte's version log you out of admin when you use it.

    Secondly, You can push the order into your orders database so that you can keep track
    of inventory and orders.
    Available for download from the addons area: http://www.zen-cart.com/index.php?ma...products_id=84
    Last edited by paulm; 14 Aug 2008 at 06:58 PM.

 

 

Similar Threads

  1. Paypal Sessions Viewer
    By findl16 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 12 Apr 2009, 11:03 PM
  2. PayPal Sessions Viewer 2.0
    By Spinner in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 12 Jun 2008, 05:01 PM
  3. Paypal Sessions viewer
    By keystonewebworks in forum General Questions
    Replies: 0
    Last Post: 16 Mar 2008, 05:05 AM
  4. Paypal Sessions Viewer???
    By BDCreations in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 1 Dec 2007, 07:10 AM
  5. Paypal Sessions Viewer
    By digidiva-kathy in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 3 Dec 2006, 09:43 AM

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