Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

wppnewb

Archived
  • Posts

    37
  • Joined

  • Last visited

Profile Information

  • Real Name
    Amit

wppnewb's Achievements

  1. You will need the Paypal WPP contribution. Once installed, I believe you can restrict it to only accept Visa and mastercard. However, you will need to change the code to the payment page to show only Visa and Mastercard in the Card Type drop box.
  2. Are you using sandbox account or real account? Verify that you signature path is correct. Also, you can enable logging of all Paypal transacations. That way, you can look at exactly what data was sent to Paypal and why it was rejected. Amit
  3. Hi I am using the Paypal WPP pro contrib by dynamoeffects. It works beautifully for everything except Express Checkout. I see from my Paypal logs that the transaction was successfull, but the money was never transferred in to my Paypal account. Also, no order was created in oscommerce for this transaction. Any help will be much appreciated. I have posted below a snippet of the log. Please assist me. One other thing, I noticed that I have disabled Express Checkout button placement in my module configuration. But the button still appears and obviously it is being used by my customers. Jul 09 06:43:31 <<my paypal API username>> [debug] Response XML: HTTP/1.1 200 OK Date: Sun, 09 Jul 2006 13:43:30 GMT Server: Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7e Connection: close Content-Length: 3294 Content-Type: text/xml; charset=utf-8 <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cc="urn:ebay:apis:CoreComponentTypes" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:market="urn:ebay:apis:Market" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ns="urn:ebay:api:PayPalAPI"><SOAP-ENV:Header><Security xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext" xsi:type="wsse:SecurityType"></Security><RequesterCredentials xmlns="urn:ebay:api:PayPalAPI" xsi:type="ebl:CustomSecurityHeaderType"><Credentials xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:UserIdPasswordType">***</Username><Password xsi:type="xs:string"></Password><Subject xsi:type="xs:string"></Subject></Credentials></RequesterCredentials></SOAP-ENV:Header><SOAP-ENV:Body id="_0"><GetExpressCheckoutDetailsResponse xmlns="urn:ebay:api:PayPalAPI"><Timestamp xmlns="urn:ebay:apis:eBLBaseComponents">2006-07-09T13:43:31Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">Success</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">97e8d99fdaa34</CorrelationID><Version xmlns="urn:ebay:apis:eBLBaseComponents">2.000000</Version><Build xmlns="urn:ebay:apis:eBLBaseComponents">1.0006</Build><GetExpressCheckoutDetailsResponseDetails xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:GetExpressCheckoutDetailsResponseDetailsType"><Token xsi:type="ebl:ExpressCheckoutTokenType">EC-9L639031E2590851H</Token><PayerInfo xsi:type="ebl:PayerInfoType"><Payer xsi:type="ebl:EmailAddressType">********************</Payer><PayerID xsi:type="ebl:UserIDType">************</PayerID><PayerStatus xsi:type="ebl:PayPalUserStatusCodeType">unverified</PayerStatus><PayerName xsi:type="ebl:PersonNameType"><Salutation xmlns="urn:ebay:apis:eBLBaseComponents"></Salutation><FirstName xmlns="urn:ebay:apis:eBLBaseComponents">****</FirstName><MiddleName xmlns="urn:ebay:apis:eBLBaseComponents"></MiddleName><LastName xmlns="urn:ebay:apis:eBLBaseComponents">****</LastName><Suffix xmlns="urn:ebay:apis:eBLBaseComponents"></Suffix></PayerName><PayerBusiness xsi:type="xs:string"></PayerBusiness><Address xsi:type="ebl:AddressType"><Name xsi:type="xs:string">****</Name><Street1 xsi:type="xs:string">****</Street1><Street2 xsi:type="xs:string"></Street2><CityName xsi:type="xs:string">****</CityName><StateOrProvince xsi:type="xs:string">**</StateOrProvince><Country xsi:type="ebl:CountryCodeType">US</Country><CountryName>United States</CountryName><PostalCode xsi:type="xs:string">******</PostalCode><AddressOwner xsi:type="ebl:AddressOwnerCodeType">PayPal</AddressOwner><AddressStatus xsi:type="ebl:AddressStatusCodeType">Confirmed</AddressStatus></Address></PayerInfo><ContactPhone xsi:type="xs:string">***-***-****</ContactPhone></GetExpressCheckoutDetailsResponseDetails></GetExpressCheckoutDetailsResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> Jul 09 06:43:31 <<my paypal API username>> [info] GetExpressCheckoutDetails, Elapsed: 845ms, Ack: Success
  4. Yes, that is the correct version. That is the latest one. Let me know if you run into any problems during the setup. Amit
  5. That function is defined in the PEAR folder. Specifically, it is in: ....../pear/Services/PayPal/Type/DoDirectPaymentRequestDetailsType.php So open that file and verify that the file and function does exist. My suggestion, re-upload the entire Pear directory. Some FTP clients have issues when transferring files that have long names. I always use FileZilla. It is fast, secure and free, available for download at : http://filezilla.sourceforge.net My suspicion is that the particular file, DoDirectPaymentRequestDetailsType.php and/or other files may have been corrupted or never uploaded in the first place. So re-uploading will fix the issue. Do let me know what you find. I have other things you can try if it still does not work. -Amit
  6. Are you using the live or sandbox certificate? Also, is your setup enabled for live or sandbox? Any mismatch could potentially result in this error. Also, do you have any Paypal logs I could look at to determine more specifically the reason for failure?
  7. Do you have Paypal logging enabled? That way, it will store a log of every Paypal transaction on a folder on your site. It helps to find out what was sent to the Paypal server. Amit
  8. My guess is this is a typo. Try replacing "setpaymentaction" with "setPaymentAction". Notice the change in case for the starting letters "P"ayment and "A"ction. These are Paypal-specific routines. Basically, the routine is being invoked but PHP can not find any definition for it, so it is complaining. Let me know what you find out. I hope this helps. Feel free to send me a note. If possible, please include a snippet of the code from the paypal_dp.php file. Amit
  9. Have you tried using this? http://www.oscommerce.com/community/contributions,1333 Do let me know if this works for you. -Amit
  10. Fellow OSCers No reason to be concerned. I have verified with USPS that we do not need to change anything. i.e. this contrib is unaffected by this USPS server secure connection change. After several emails with [email protected], I was informed that this change will not affect the rate API that we all use in this contrib. I hope this clarifies the confusion. -Amit
  11. Dennisra Looks like your google base feed does not contain any values for the price column. Have you manually checked your google-base feed text file? Is there any prices there? If not, then just try disabling the "Price for Logged-in Users Only" contribution and then run the froogle and google-base feed. Once you have uploaded the feeds, you can turn on the "Price for Logged-in Users Only" contrib back on. Looks like that contrib hides the price even from this script. Hope this helps.
  12. Brian You are 100% correct. After I posted this last night, I searched on google for this error and amazingly enough, found the answer here in this thread, on page 12. Once I fixed the proxy settings, everything worked fine. I was able to complete a live transaction. Kudos for this excellent contrib. Great work. And to top it off, you have established a great thread that contains all the answers. Thanks again for a job well done. Amit
  13. Hi Brian and Team I recently ( couple of days ago) installed this contrib. I am perplexed why I keep getting this error with every card I use : Your credit card was declined. Please try another card or contact your bank for more info. () As you can see the, area between the parenthesis (that should hold the error code) is empty. I do not understand why. I have tried both the live and sandbox modes. I get the same error, regardless. Also, I modified the $timeout to be 60, 120 and even 300. That did not change anything, except that I had to wait longer before the error msg popped up. I have verified everything, API username, password, location of cert file. I did use the correct cert file for both live and sandbox modes. I called Paypal today and tried to do a live transaction. They told me they do not even see my account being pinged. At which point, I checked to see if the code is correctly sending the API username and pwd etc. I verified that the database has the correct information for those fields as well. I was hoping to get the email that contained the error details, but that did not happen either (even though I changed the enableDebugging to 1. Out of desperation, I inserted the var_dump($final_req) inside the error string. Here are the first few lines of the output I get : object(soap_fault)(8) { ["error_message_prefix"]=> string(0) "" ["mode"]=> int(1) ["level"]=> int(1024) ["code"]=> string(4) "HTTP" ["message"]=> string(39) "curl_exec error 28 connect() timed out!" ["userinfo"]=> string(0) "" ["backtrace"]=> array(10) { [0]=> array(6) { ["file"]=> string(75) "/home/content/v/r/t/vrtack/html/catalog/pear/Services/PayPal/SOAP/Fault.php" ["line"]=> int(48) ["function"]=> string(10) "pear_error" ["class"]=> string(10) "pear_error" ["type"]=> string(2) "::" ["args"]=> array(5) { [0]=> string(39) "curl_exec error 28 connect() timed out!" [1]=> string(4) "HTTP" [2]=> NULL [3]=> NULL [4]=> string(0) "" } } [1]=> array(6) { ["file"]=> string(74) "/home/content/v/r/t/vrtack/html/catalog/pear/Services/PayPal/SOAP/Base.php" ["line"]=> int(208) ["function"]=> string(10) "soap_fault" ["class"]=> string(10) "soap_fault" ["type"]=> string(2) "->" ["args"]=> array(6) { [0]=> string(39) "curl_exec error 28 connect() timed out!" [1]=> string(4) "HTTP" [2]=> string(0) "" [3]=> string(0) "" [4]=> NULL [5]=> NULL } } [2]=> array(6) { ["file"]=> string(84) "/home/content/v/r/t/vrtack/html/catalog/pear/Services/PayPal/SOAP/Transport/HTTP.php" ["line"]=> int(605) ["function"]=> string(15) "_raisesoapfault" ["class"]=> string(19) "soap_transport_http" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(39) "curl_exec error 28 connect() timed out!" } } [3]=> array(6) { ["file"]=> string(84) "/home/content/v/r/t/vrtack/html/catalog/pear/Services/PayPal/SOAP/Transport/HTTP.php" ["line"]=> int(154) ["function"]=> string(10) "_sendhttps" ["class"]=> string(19) "soap_transport_http" ["type"]=> string(2) "->" ["args"]=> array(2) I noticed the curl_exec error 28 connect() timed out! in the big chunk of text above. Does anyone know what that means??? If you can suggest anything, that will be much appreciated. I do not know what else to do. The credit card number, expiration, billing address all look correct in the var_dump() output. I hope someone has some tips or pointers. I have been fighting with this for over 2 days straight now. Thanks, Amit
×
×
  • Create New...