Paypal - session logged out - please sign in again
Hi
I am having problems with Paypal modules.
1. Trying to use Paypal IPN which seems to work okay if you already have an account set up - but if you want to pay by card you get the following error:
"Your session has timed out, please log in again"
Initially I never followed all the instruction and missed out the bit about amending the shop account. Hving done that I still have the same error message and I can not see what is wrong - any ideas?
2. Having got annoyed with PayPal IPN - I tried Paypal express and installed it as per the instructions. This now gets to the very end and says it is unable to completed the transaction. I ran the debug script and as far as I can see this is the fault:
Quote:
Request Headers: array (
0 => 'Content-Type: text/namevalue',
1 => 'X-VPS-Timeout: 45',
2 => 'X-VPS-VIT-Client-Type: PHP/cURL',
3 => 'X-VPS-VIT-Integration-Product: PHP::Zen Cart WPP-NVP',
4 => 'X-VPS-VIT-Integration-Version: 0.1',
)
Request Parameters: array (
'ITEMAMT' => '0.01',
'SHIPPINGAMT' => '0.84',
'AMT' => '0.85',
'L_NUMBER0' => '0',
'L_QTY0' => '1',
'L_NAME0' => 'A Widget for Testing',
'L_AMT0' => '0.01',
'L_TAXAMT0' => '0.00',
'SHIPTONAME' => 'John White',
'SHIPTOSTREET' => '16 Mill Hill Close',
'SHIPTOSTREET2' => '',
'SHIPTOCITY' => 'Shoreham by Sea',
'SHIPTOSTATE' => 'West Sussex',
'SHIPTOZIP' => 'BN43 5TP',
'SHIPTOCOUNTRY' => '',
'BUTTONSOURCE' => 'ZenCart-EC_us',
'TOKEN' => 'EC-25U4802********',
'PAYERID' => '5NUH7*********',
'PAYMENTACTION' => 'Sale',
'NOTIFYURL' => 'http://ttlntl.co.uk/shop/ipn_main_handler.php',
'METHOD' => 'DoExpressCheckoutPayment',
'CURRENCYCODE' => 'GBP',
'USER' => 'john_api1.ttlshop.co.uk',
'PWD' => '****************',
'VERSION' => '2.3',
'SIGNATURE' => '****************************************************RmhD',
)
Response: array (
'ACK' => 'Failure',
'L_ERRORCODE0' => '81210',
'L_SHORTMESSAGE0' => 'Invalid Parameter',
'L_LONGMESSAGE0' => 'Country : Invalid Parameter',
'L_SEVERITYCODE0' => 'Error',
Which I read as a fault in the country selection but that is correct as UK - anyone got any ideas ?
Failing that is there someone who could have a quick look at it for if I pm all the necessary details?
John
Re: Paypal - session logged out - please sign in again
1. I would recommend starting by patching it with the latest updates:
http://www.zen-cart.com/forum/showthread.php?t=56216
2. Then for the IPN mode I'd be checking configuration settings:
http://www.zen-cart.com/wiki/index.php/PayPal
Re: Paypal - session logged out - please sign in again
Okay I have updated the cart as suggested above and I have improvement.
1. The Paypal IPN still refuses to play - the order appears to go through, the money is taken, the success email is sent but I do not receive an email with the order on it, nor does the order show up in the database.
So, I removed that mod and focused on the Paypal express.
2. Success, customer can order, can pay, gets notification and I get notification of payment and also order details BUT ....
I also get an email with the following:
Quote:
IPN FATAL ERROR::Could not establish fsockopen. Host Details = www.paypal.com:80 (0) Failed to parse address ""
but everything is working fine.
So, I removed Paypay IPN from the cart, which is where I last saw this message, I unchecked the IPN button within paypal and still I am receiving this message - any ideas??
Re: Paypal - session logged out - please sign in again
The express checkout module also triggers incoming IPN notices from PayPal. In many cases these are ignored for express checkout transactions ; however, in the case of delayed transactions such as echecks etc they are important for completing orders.
The IPN payment module itself relies on IPNs exclusively for order completion.
Your problem appears to be related to restrictions in your hosting configuration. I suspect that the error message you reported is caused by one or more of three conditions:
a) your server's SSL configuration isn't complete and thus your fsockopen() function calls are failing; or
b) your server has a block on external communications via fsockopen(); or
c) your server cannot successfully resolve DNS names to IP addresses during fsockopen() function calls.
You'll likely need to have your hosting company deal with this.
Re: Paypal - session logged out - please sign in again
Hi
Been in touch with my hosting company and this was the reply - that
A - you do not need an SSL as PayPal handles this.
B - fsockopen is not disabled
C - The server DNS works fine.
Must admit this means nothing to me
Have you any other ideas?
Re: Paypal - session logged out - please sign in again
In your Admin->Configuration->My Store settings, do you have CURL PROXY REQUIRED set to true ? If yes, why? What happens if you change it to false?
Who is your hosting company?
Re: Paypal - session logged out - please sign in again
Just had a customer try to use the cart - this is his email
[FONT=Courier New]John[/FONT]
[FONT=Courier New]I tried buying by Paypal once again tonight, but still get 'session timed [/FONT][FONT=Courier New]out'. I get a screen now showing my PayPal credit card details (with stars [/FONT][FONT=Courier New]aand the last 4 numbers). I thought I would try to 'chnage' the credit card [/FONT][FONT=Courier New]details (just to check it was still correct), and straight away I got [/FONT][FONT=Courier New]'session timed out' again. Went back to basics and went through the buying [/FONT][FONT=Courier New]again and this time clicked on 'buy with credit card' The next screen was[/FONT]
[FONT=Courier New]'order accepted', order number 00000012 etc. But it didn't give me a chance [/FONT][FONT=Courier New]to enter any crdeit card details![/FONT]
[FONT=Courier New]Alan[/FONT]
The order notification came through to me but showed as a cheque/money order purchase.
Does that assist in trying to sort this out?
Re: Paypal - session logged out - please sign in again
The hosting company is UKHost4U.com.
The Curl Proxy was enabled - I disabled it and ran a test purchase and it seems okay
I wonder if I could ask you to do a test purchase - there is a test purchase widget for 1p and a flat rate postage for 1p.
Of course I'll refund it back to you via paypal if it works.
site is www.ttlshop.co.uk
THanks
John
Re: Paypal - session logged out - please sign in again
If you could indulge this customer (or someone else) to repeat the process again and take screen-shots of all error messages, that would be a help.
It sounds like the timeout errors occurred on the PayPal pages ... which Zen Cart has no control over.
It also sounds like when they returned to your site to try another payment option, they selected "Check/Money Order" for payment; hence the order coming through as such.
I see no timeouts on your Zen Cart site. They must all be on the PayPal end. Screenshots will be a huge help.
Re: Paypal - session logged out - please sign in again
PayPal transaction completed without errors or difficulties.