Jump to content

strider34

Members
  • Content count

    8
  • Joined

  • Last visited

Profile Information

  • Real Name
    Peter Longley
  1. strider34

    PayPal Express Checkout IPN Payment Module

    Thanks to Gorf the answer is: Just use the session.php files (catalog and admin) from the 2.2rc2a download (along with what was already installed from this contribution) and everything looks good. Pete
  2. strider34

    [Contribution] Register globals easy

    You are a star! It worked. I will keep monitoring and let you know what happens Thanks Pete
  3. strider34

    [Contribution] Register globals easy

    Hi I have installed this contribution and all worked well apart from I cannot paypal express to work - the session is getting lost. The only cluse I can find is that I have lots of: [Fri Jun 13 06:49:29 2008] [error] [client 67.195.51.180] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/includes/functions/sessions.php on line 110 in the httpd log file. This is in one of the modified areas: // Register Globals MOD - http://www.magic-seo-url.com function tep_session_close() { foreach($_SESSION as $key => $value) { global $$key; $_SESSION[$key] = $$key; } } Any ideas what I have done wrong? Is this relevant to my paypal problem? Thanks Pete
  4. strider34

    PayPal Express Checkout IPN Payment Module

    Hi Alex I really appreciate your help but I am struggling! I have set force cookies on. Sessions appear to be working but I am not sure what to check. The reason for installing your module is because the server got upgraded at the weekend to php5 and so on Monday morning I had to fix various things to get the site running. Amongst other things the server now has register globals off so I have added php_flag register_globals on to the .htaccess files in /var/www/html and /var/www/html/includes. I also modded files according to the contrib "Register Globals Off Workaround for PHP4 and PHP5". That seemed to get everything going except that the paypal module (unknown origin, I did not create site) happily took money but returned no information about what they had bought. I then installed the paypal official express checkout which worked fine apart from overriding the shipping which was no good. Then I tried another module which fell over. So after much more research found your contribution which looked good and well supported. Any more suggestions please? Best Regards Pete
  5. strider34

    PayPal Express Checkout IPN Payment Module

    Hi Alex I am guessing I have the setup right for error dump because I set it to send every transaction which is working. Here is the success email when going to paypal: In function: pre_confirmation_check() Response from PayPal: [security] = N/A [RequesterCredentials] [0] [Credentials] [0] [username] = N/A [Password] = N/A [subject] = N/A [setExpressCheckoutResponse] [0] [Timestamp] = 2008-06-12T07:42:15Z [Ack] = Success [CorrelationID] = e7caeca3dc58d [Version] = 2.000000 [build] = 600904 [Token] = EC-5X8203055P4376052 >From this request: (WARNING!!) DO NOT expose your API Username/Password to the public!! [?xml version="1.0" encoding="utf-8"?] [soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema] [soap:Header] [RequesterCredentials xmlns=urn:ebay:api:PayPalAPI] [Credentials xmlns=urn:ebay:apis:eBLBaseComponents] [username]xxxxxxxxxxx[/username] [Password]xxxxxxxx[/Password] [subject][/subject] [/Credentials] [/RequesterCredentials] [/soap:Header] [soap:Body] [setExpressCheckoutReq xmlns=urn:ebay:api:PayPalAPI] [setExpressCheckoutRequest] [Version xmlns=urn:ebay:apis:eBLBaseComponents]2.0[/Version] [setExpressCheckoutRequestDetails xmlns=urn:ebay:apis:eBLBaseComponents] [OrderTotal currencyID=GBP]3.85[/OrderTotal] [ReturnURL]http://www.xxxxx.co.uk/express_checkout.php[/ReturnURL] [CancelURL]http://www.xxxxxx.co.uk/checkout_payment.php?payment_error=paypal_ec[/CancelURL] [ReqConfirmShipping]1[/ReqConfirmShipping] [NoShipping]0[/NoShipping] [AddressOverride]0[/AddressOverride] [LocaleCode]US[/LocaleCode] [PageStyle]PayPal[/PageStyle] [Address] [Name]xxxxxxx/Name] [street1]xxxxx[/street1] [street2][/street2] [CityName]xxxxxxx[/CityName] [stateOrProvince]xxxxxxxx[/stateOrProvince] [PostalCode]xxxxxxxx[/PostalCode] [Country]GB[/Country] [Phone]xxxxxxxx[/Phone] [/Address] [buyerEmail]xxxxxxxxx[/buyerEmail] [/setExpressCheckoutRequestDetails] [/setExpressCheckoutRequest] [/setExpressCheckoutReq] [/soap:Body] [/soap:Envelope]
  6. strider34

    PayPal Express Checkout IPN Payment Module

    Hi Alex Yes but: 1. I get 404 if I try running it as https://xxxxx.co.uk/ec_diagnostics.php 2 just running at as xxxxxx.co.uk/ec_diagnostics.php Success except for store does not have an SSL certificate installed Pete
  7. strider34

    PayPal Express Checkout IPN Payment Module

    Hi Alex I do not get an error dump email ( there is a success on the way to paypal). Where do I find Paypal error code/messages? nothing is displayed. Pete
  8. strider34

    PayPal Express Checkout IPN Payment Module

    Hi I would like some help please. I have just installed this module and am getting the following. Select item go to checkout select delivery details (which includes shipping charge) order confirmation - select paypal (get success dump email) Login to paypal select continue (get success dump email) returns to delivery details! confirm again paypal again back to shop displays payment information screen with "PayPal returned invalid or incomplete data to complete your order. Please try again or select an alternate payment method." Any ideas? Thanks
×