OSCOMMERCE SUPPORT CALL 702-453-3332

 

Help - Search - Members - Calendar
Full Version: osCommerce PayPal IPN Module v1.0 For 2.2MS2
osCommerce Community Support Forums > osCommerce Online Merchant v2.x > Contributions / Add-Ons > Payment Modules > PayPal
wjgray
Hi! I am now using the module in the title (AKA http://addons.oscommerce.com/info/2679) and am having one issue after another. Obviously I am doing something wrong or missed an installation step. Latest issue, that I have yet to get by, is that when the user clicks the return button from the PayPal sandbox the return is made to the logon page. A logoff has obviously occured. On logging in again the cart is still in tact and the previous order has a status of "Preparing [PayPal IPN]". In other words, the loop is not closed. Does anyone have experience they would like to share with this?

BTW, I implemented the unique number workaround mentioned as I was getting the "payment already made" issue. This latest issue crept in right after I got around that.

So, should I even be using this module? Perhaps I should go back to the out-of-the-box version? I went to this in order to show line item detail in PayPal (web page and email).

Thanks in advance for any and all help!
wjgray
Update on this one... it seems that Paypal is calling checkout_process.php (as it should I imagine) when the user presses the "return to merchant" button. The session id (???) is on the URL. However, upon reaching checkout_process it appears the !tep_session_is_registered('customer_id') is returning true (meaning the user is not logged in. This redirects to the login page.

So, now the question has changed to "Why is my session being invalidated on return when using the IPN module described above?"


Anyone????


Thanks in advance!
wjgray
update... the entire $_SESSIONS array is null...

$_SESSION = array[5] {
cart => (null)
language => (null)
languages_id => (null)
currency => (null)
navigation => (null)
}

The URL that PayPal responded to is (personal stuff x'ed out):

http://xxxxxxxxxxx/catalog/checkout_process.php?
mc_gross=7.37
&invoice=P35
&address_status=confirmed
&item_number1=111177
&payer_id=JR4CV273D4G2W
&tax=0.18
&address_street=xxxxxxxxxxxx
&payment_date=13%3A38%3A24+Jun+11%2C+2008+PDT
&payment_status=Completed
&charset=windows-1252
&mc_tax1=0.18
&address_zip=xxxxx
&mc_shipping=5.00
&mc_handling=0.00
&first_name=bill
&mc_fee=0.51
&address_country_code=US
&address_name=xxx+xxx
&notify_version=2.4
&custom=3
&payer_status=unverified
&business=wjgray@xxxxxxxxx.com
&address_country=United+States
&num_cart_items=1
&mc_handling1=0.00
&address_city=xxxxxxxx
&payer_email=wjgray@xxxxl.com
&verify_sign=AoRpHlYBcLf9HzPPYpro3EYpEZnqAxh86W57UV2e7JU2MrRvcK-7hIG7
&mc_shipping1=5.00
&tax1=0.18
&payment_type=instant
&txn_id=7AE93533YK8914900
&last_name=gray
&receiver_email=wjgray@xxx.com
&item_name1=111177
&address_state=xx
&payment_fee=0.51
&quantity1=1
&receiver_id=QHLYZFU8VRG6E
&txn_type=cart
&mc_currency=USD
&mc_gross_1=7.19
&residence_country=US
&receipt_id=xxxx-xxxx-xxxx-5997
&test_ipn=1
&payment_gross=7.37
&merchant_return_link=Complete+your+Order+Confirmation
&form_charset=UTF-8


Any help for anybody?????
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.