osCmax v2.5 User Manual
Results 1 to 2 of 2

osCommerce PayPal IPN Module v1.0 For 2.2MS2

This is a discussion on osCommerce PayPal IPN Module v1.0 For 2.2MS2 within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Fixes for Data not returning from Paypal and Email Confirmation all jumbled Up. Our order was not returning data back ...

      
  1. #1
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Post osCommerce PayPal IPN Module v1.0 For 2.2MS2

    Fixes for Data not returning from Paypal and Email Confirmation all jumbled Up.

    Our order was not returning data back from paypal due to the php.ini file not being present in the
    catalog/ext/modules/payment/paypal_ipn folder with Register_Globals = On

    Full Package Included.


    More...
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  2. #2
    osCMax Testing Team wkdwich's Avatar
    Join Date
    Jul 2007
    Posts
    305
    Rep Power
    11


    Default Re: osCommerce PayPal IPN Module v1.0 For 2.2MS2

    Michael I desperately need your help here..

    the host is register_globals OFF I have a php.ini in the public root, admin & /public_html/ext/modules/payment/paypal_ipn The cart is in the public root, not /catalog/
    register_globals = On

    running
    /public_html/includes/modules/payment/paypal_ipn.php

    Code:
     
    $Id: paypal_ipn.php,v 2.3.3.0 11/17/2007 11:15:28 alexstudio Exp $
      Copyright (c) 2004 osCommerce
      Released under the GNU General Public License
     
      Original Authors: Harald Ponce de Leon, Mark Evans 
      Updates by PandA.nl, Navyhost, Zoeticlight, David, gravyface, AlexStudio, windfjf and Terra
      v2.3 Updated by AlexStudio
    which I updated with :
    Code:
     
    //tep_session_register('cart_PayPal_IPN_ID');
    // Terra register globals fix
    //$_SESSION['cart_PayPal_IPN_ID'] = $cartID . '-' . $insert_id;
    // FS start
    $GLOBALS['cart_PayPal_IPN_ID'] = $cartID . '-' . $insert_id;
    // FS stop 
    tep_session_register('cart_PayPal_IPN_ID');
    // FS start
    // Terra register globals fix
    //$_SESSION['cart_PayPal_IPN_ID'] = $cartID . '-' . $insert_id;
    // FS stop
    /public_html/ext/modules/payment/paypal_ipn/ipn.php
    Code:
     
      $Id: paypal_ipn.php,v 2.3.0.0 10/09/2007 11:58:21 alexstudio Exp $
      Copyright (c) 2004 osCommerce
      Released under the GNU General Public License
     
      Original Authors: Harald Ponce de Leon, Mark Evans 
      Updates by PandA.nl, Navyhost, Zoeticlight, David, gravyface, AlexStudio, windfjf, Monika in Germany and Terra
      v2.3 updated by AlexStudio
    =================================
    as well as the proper language file is being used..
    =================================
    IPN settings:

    PayPal IPN v2.3.3
    Enable PayPal IPN Module
    True
    Gateway Server
    Live
    E-Mail Address
    siteowner@aol.com
    Sort order of display.
    0
    Transaction Currency
    Selected Currency
    Payment Zone
    --none--
    Set Preparing Order Status
    Preparing [PayPal IPN]
    Set PayPal Acknowledged Order Status
    default
    Set PayPal Completed Order Status
    default
    Transaction Type
    Aggregate
    Move tax to total amount
    True
    Page Style
    Debug E-Mail Address
    siteowner@aol.com
    cURL Proxy server
    Enable Encrypted Web Payments
    False
    Your Private Key
    Your Public Certificate
    PayPals Public Certificate
    Your PayPal Public Certificate ID
    Working Directory
    /admin/tmp
    OpenSSL Location
    /usr/bin/openssl
    =================================

    So what happens is the cart accepts and deducts the coupon code.. when the transaction moves to paypal, it is not deducted there.. I checked the order in the ADMIN, the order was marked there: Preparing [PayPal IPN]. ok so I proceeded to pay at paypal anyway.. After I did pay (the non-coupon deducted amount) the order was updated to Pending as it should.. but the rest of the communication from paypal was incomplete:
    Pending PayPal IPN Invalid [Completed]
    He does receive a payment notice from Paypal, but also a debugg notice..
    $_POST:
    mc_gross=84.90
    invoice=4070
    protection_eligibility=Eligible
    address_status=confirmed
    payer_id=HM3ZKUH265XX
    tax=0.00
    address_street=1033 Any Drive
    payment_date=17:00:18 Jan 28, 2009 PST
    payment_status=Completed
    charset=windows-1252
    address_zip=36XXX
    first_name=Melissa
    mc_fee=2.42
    address_country_code=US
    address_name=Melissa Smith
    notify_version=2.6
    custom=13
    payer_status=verified
    business=siteowner@aol.com
    address_country=United States
    address_city=Any Drive
    quantity=1
    verify_sign=Ai1PaghZh5FmBLCDCTQpwG8jB264Avut6KV7BT Prj95.13e6Dq29XXX
    payer_email=customer@aol.com
    txn_id=45W84477TV266XXX
    payment_type=instant
    last_name=Smith
    address_state=TX
    receiver_email=siteowner@aol.com
    payment_fee=2.42
    receiver_id=TM59LCUS7TXXX
    txn_type=web_accept
    item_name=My Store
    mc_currency=USD
    item_number=
    residence_country=US
    handling_amount=0.00
    transaction_subject=13
    payment_gross=84.90
    shipping=0.00

    $_GET:
    I am at a total loss now how to make this work for my client.. he's being very patient.. please lend me a hand

    thanks...
    Debbie D
    NY & VA

Similar Threads

  1. osCommerce PayPal IPN Module v1.0 For 2.2MS2
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 10-22-2007, 08:11 AM
  2. osCommerce PayPal IPN Module v1.0 For 2.2MS2
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-17-2007, 05:50 AM
  3. osCommerce PayPal IPN Module v1.0 For 2.2MS2
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-24-2007, 07:51 PM
  4. osCommerce PayPal IPN Module v1.0 For 2.2MS2
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-14-2007, 06:00 AM
  5. osCommerce PayPal IPN Module v1.0 For 2.2MS2
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-13-2007, 10:00 AM

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
  •