close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PayPal verification may be the reason?

Thread began 4/16/2010 8:12 pm by rmtoelle346587 | Last modified 4/19/2010 4:06 pm by Eric Mittman | 2303 views | 7 replies |

rmtoelle346587

PayPal verification may be the reason?

I am still setting up and testing things on my server. When I try to make a test purchase I get the message
Transaction Not Completed
We're sorry Your PayPal transaction could not be completed. Please return to checkout and try again.
It that because I still need to verify my PayPal account or is there another problem, items show up in the cart like they are supposed to, but when I click the PayPal pay now button, I get the above error. After this part of the testing its time to test the Federal Express shipping options, which I have already put all the account info in the admin pages, but don't see anything that gives customers the options to ship anything from the store, no buttons, no other popups, nothing, any ideas?
Thanks for any help

Sign in to reply to this post

Jason ByrnesWebAssist

to be able to tell the reason for the failure, we need to know the full response from the gateway. add the following code to your failure page to output the full request and full response from the gateway, this will help us in determining the cause ofthe problem:

php:
<?php  
 
if(!session_id()) session_start(); 
 if(
$WAGLOBAL_Gateway == ) { 
     echo 
"<p>Direct Pay: <br />"
     echo 
"Full Request: ".(isset($_SESSION["PP_DirectPayment_postedValues"])?htmlentities($_SESSION["PP_DirectPayment_postedValues"]):"n/a")."<br />";  
     echo 
"Full Response: ".(isset($_SESSION["PP_DirectPayment"])?htmlentities($_SESSION["PP_DirectPayment"]):"n/a")."<br /></p>";  
     echo 
"<p>Express Authorize <br />"
     echo 
"Full Request: ".(isset($_SESSION["ECO_Auth_Request"])?htmlentities($_SESSION["ECO_Auth_Request"]):"n/a")."<br />"
     echo 
"Full Response: ".(isset($_SESSION["ECO_Auth_Result"])?htmlentities($_SESSION["ECO_Auth_Result"]):"n/a")."<br />"
     echo 
"<p>Express Process: <br />"
     echo 
"Full Request: ".(isset($_SESSION["ECO_Process_Request"])?htmlentities($_SESSION["ECO_Process_Request"]):"n/a")."<br />"
     echo 
"Full Response: ".(isset($_SESSION["ECO_Process_Result"])?htmlentities($_SESSION["ECO_Process_Result"]):"n/a")."<br /></p>"
 } 
  
 if(
$WAGLOBAL_Gateway == 2) { 
     echo 
"<p>Auth Net: <br />"
     echo 
"Full Request: ".(isset($_SESSION['WAAuthNet_postedValues'])?htmlentities($_SESSION['WAAuthNet_postedValues']):"n/a")."<br />"
     echo 
"Full Response: ".(isset($_SESSION['WAAuthNet'])?htmlentities($_SESSION['WAAuthNet']):"n/a")."<br /></p>"
 } 
  
  if(
$WAGLOBAL_Gateway == ) { 
     echo 
"<p>Express Authorize: <br />"
     echo 
"Full Request: ".(isset($_SESSION["ECO_Auth_Request"])?htmlentities($_SESSION["ECO_Auth_Request"]):"n/a")."<br />"
     echo 
"Full Response: ".(isset($_SESSION["ECO_Auth_Result"])?htmlentities($_SESSION["ECO_Auth_Result"]):"n/a")."<br /></p>"
     echo 
"<p>Express Process: <br />"
     echo 
"Full Request: ".(isset($_SESSION["ECO_Process_Request"])?htmlentities($_SESSION["ECO_Process_Request"]):"n/a")."<br />"
     echo 
"Full Response: ".(isset($_SESSION["ECO_Process_Result"])?htmlentities($_SESSION["ECO_Process_Result"]):"n/a")."<br /></p>"
  } 
   
 if(
$WAGLOBAL_Shipping == 1) { 
     echo 
"<p>UPS: <br />"
     echo 
"Full Request: ".(isset($_SESSION["WA_Store_Cart_UPS_FullRequest"])?htmlentities($_SESSION["WA_Store_Cart_UPS_FullRequest"]):"n/a")."<br />";  
     echo 
"Full Response: ".(isset($_SESSION["WA_Store_Cart_UPS_FullResponse"])?htmlentities($_SESSION["WA_Store_Cart_UPS_FullResponse"]):"n/a")."<br /></p>";  
 } 
 if(
$WAGLOBAL_Shipping == 2) { 
     echo 
"<p>FedEX: <br />"
     echo 
"Full Request: ".(isset($_SESSION["WA_Store_Cart_FedEx_FullRequest"])?htmlentities($_SESSION["WA_Store_Cart_FedEx_FullRequest"]):"n/a")."<br />";  
     echo 
"Full Response: ".(isset($_SESSION["WA_Store_Cart_FedEx_FullResponse"])?htmlentities($_SESSION["WA_Store_Cart_FedEx_FullResponse"]):"n/a")."<br /></p>";  
 } 
 if(
$WAGLOBAL_Shipping == 3) { 
     echo 
"<p>USPS: <br />"
     echo 
"Full Request: ".(isset($_SESSION["WA_Store_Cart_USPS_FullRequest"])?htmlentities($_SESSION["WA_Store_Cart_USPS_FullRequest"]):"n/a")."<br />";  
     echo 
"Full Response: ".(isset($_SESSION["WA_Store_Cart_USPS_FullResponse"])?htmlentities($_SESSION["WA_Store_Cart_USPS_FullResponse"]):"n/a")."<br /></p>";  
 } 
?>



NOTE:

The full request and full response will contain sensitive information like credit card number or paypal credentials, please block these values out before posting.

Sign in to reply to this post

rmtoelle346587

Dude, Im not a programmer, what page

I know enough about putting websites together to be dangerous, I am a novice, newbie, rookie, whatever... when you say put the code in the page, do you mean copy and paste it to the index somewhere? I don't have a clue what page you mean.

Sign in to reply to this post

Jason ByrnesWebAssist

ad that code after the <body> tag on the checkout failure page.

Sign in to reply to this post

rmtoelle346587

PayPal Error Checkout failure

I added the code to the page, re-ran the process, and it generated this code:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\XAMPP\htdocs\PowerStore3\checkout_failure.php:1) in C:\XAMPP\htdocs\PowerStore3\WA_eCart\WA_eCart_Definition_PHP.php on line 480

Express Authorize:
Full Request: <?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>xxxxxxxxxxx</Password><Signature>xxxxxxxxxxx</Signature><Subject/></Credentials></RequesterCredentials></soap:Header><soap:Body><SetExpressCheckoutReq xmlns="urn:ebay:api:PayPalAPI"><SetExpressCheckoutRequest><Version xmlns="urn:ebay:apis:eBLBaseComponents">2.20</Version><SetExpressCheckoutRequestDetails xmlns="urn:ebay:apis:eBLBaseComponents"><OrderTotal currencyID="USD">6.50</OrderTotal><ReturnURL>http://localhost/PowerStore3/pp_confirm.php</ReturnURL><CancelURL>http://localhost/PowerStore3/pp_cancel.php</CancelURL><PaymentAction>Authorization</PaymentAction></SetExpressCheckoutRequestDetails></SetExpressCheckoutRequest></SetExpressCheckoutReq></soap:Body></soap:Envelope>
Full Response: <?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:ed="urn:ebay:apis:EnhancedDataTypes" 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: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 xsi:type="xs:string"></Username><Password xsi:type="xs:string"></Password><Signature xsi:type="xs:string">michaelfetzer</Signature><Subject xsi:type="xs:string"></Subject></Credentials></RequesterCredentials></SOAP-ENV:Header><SOAP-ENV:Body id="_0"><SetExpressCheckoutResponse xmlns="urn:ebay:api:PayPalAPI"><Timestamp xmlns="urn:ebay:apis:eBLBaseComponents">2010-04-19T15:39:27Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">Failure</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">8cee76c2c172d</CorrelationID><Errors xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:ErrorType"><ShortMessage xsi:type="xs:string">Security error</ShortMessage><LongMessage xsi:type="xs:string">Security header is not valid</LongMessage><ErrorCode xsi:type="xs:token">10002</ErrorCode><SeverityCode xmlns="urn:ebay:apis:eBLBaseComponents">Error</SeverityCode></Errors><Version xmlns="urn:ebay:apis:eBLBaseComponents">2.20</Version><Build xmlns="urn:ebay:apis:eBLBaseComponents">1252565</Build></SetExpressCheckoutResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

Express Process:
Full Request: n/a
Full Response: n/a
Full Request: <?xml version="1.0"?><FDXRateRequest xmlns:api="http://www.fedex.com/fsmapi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FDXRateRequest.xsd"><RequestHeader><AccountNumber>267491429</AccountNumber><MeterNumber>0592521</MeterNumber><CarrierCode>FDXG</CarrierCode></RequestHeader><Service>FEDEX2DAY</Service><Packaging>YOURPACKAGING</Packaging><WeightUnits>LBS</WeightUnits><Weight>1.0</Weight><OriginAddress><StateOrProvinceCode>OR</StateOrProvinceCode><PostalCode>97217</PostalCode><CountryCode>US</CountryCode></OriginAddress><DestinationAddress><StateOrProvinceCode>OR</StateOrProvinceCode><PostalCode>97266</PostalCode><CountryCode>US</CountryCode></DestinationAddress><Payment><PayorType>SENDER</PayorType></Payment><Dimensions><Length>12</Length><Width>12</Width><Height>12</Height><Units>IN</Units></Dimensions><DeclaredValue><Value>6.50</Value><CurrencyCode>USD</CurrencyCode></DeclaredValue><PackageCount>1</PackageCount></FDXRateRequest>
Full Response: <?xml version="1.0" encoding="UTF-8"?><FDXRateReply xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FDXRateReply.xsd"><ReplyHeader></ReplyHeader><Error><Code>F821</Code><Message>Ground Service Type must be Ground Home Delivery or FedEx Ground</Message></Error></FDXRateReply>

I hope this makes sense to you, cause it sure doesnt to me.

Sign in to reply to this post

rmtoelle346587

PayPal Error Checkout failure

I went back and checked the box to take it out of Sandbox mode, and got this error


Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\XAMPP\htdocs\PowerStore3\checkout_failure.php:1) in C:\XAMPP\htdocs\PowerStore3\WA_eCart\WA_eCart_Definition_PHP.php on line 480

Sign in to reply to this post

rmtoelle346587

Reply to my post??? PayPal Not working

I posted this morning and received two responses back, both have not accomplished anything to help me figure out why my PayPal does not complete a transaction, the time that it takes to get a response back is very frustrating, I bought this product a week ago and just want to get it all configured and running smoothly, I know there are alot of people using this support forum and we all need to share, but maybe Webassist should hire more support people so we don't end up waiting days to get a response and solution.
Someone was going to review my Checkout error message after I installed some code to get detailed information on the error, I have not seen a response as of yet, its been 3 hours now. Please help!!!

Sign in to reply to this post

Eric Mittman

The error you are getting is in the last part of the Express Checkout response. It says:

Security Header is not valid

This means that the API Username and/or password are not correct and need to be updated. After turning off the sandbox option the error you are getting is on the checkout failure page so it seems that you might not have the correct credentials there. The headers already sent message is coming from line 1 of the checkout failure page. Make sure that you don't have any spaces outside of the php blocks on the page.

You will need to ensure that you login to your PayPal merchant account and obtain the correct values for your API username password and signature. When testing with the sandbox you will need a separate set of credentials that is specific to the sandbox. You can get these by logging into the developer area and setting up your test account.

As far as the response time goes getting several responses in a day is well within the specified response time listed at the top of the forum under hours and policy.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...