close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Transaction Not Completed

Thread begun 3/24/2010 9:47 am by admin18255 | Last modified 3/26/2010 2:00 pm by Ray Borduin | 1625 views | 5 replies |

admin18255

Transaction Not Completed

On the checkout_failure.php I am getting a Transaction Not Completed. I am using PHP, Ecart5, and Sandbox.

The testing code returns:

Transaction Not Completed

We're sorry

Your transaction could not be completed.
Direct Pay:
Full Request: n/a
Full Response: n/a

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>Username</Username><Password>Password</Password><Signature>Signature</Signature><Subject/></Credentials></RequesterCredentials></soap:Header><soap:Body><SetExpressCheckoutReq xmlns="urn:ebay:api:PayPalAPI"><SetExpressCheckoutRequest><Version xmlns="urn:ebay:apis:eBLBaseComponents">60.0</Version><SetExpressCheckoutRequestDetails xmlns="urn:ebay:apis:eBLBaseComponents"><ReturnURL>http://bigshowcombine.com/pp_confirm.php</ReturnURL><CancelURL>http://bigshowcombine.com/pp_cancel.php</CancelURL><PaymentAction>Authorization</PaymentAction><PaymentDetails><OrderTotal currencyID="USD">100.00</OrderTotal></PaymentDetails></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">AMcIB04gA2PEaE6oJtPeVI2XuEP1AY0pTgPVJbBtqJlfKViZZf2ZI8M6</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-03-24T16:38:33Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">Success</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">8a118528ab00c</CorrelationID><Version xmlns="urn:ebay:apis:eBLBaseComponents">60.0</Version><Build xmlns="urn:ebay:apis:eBLBaseComponents">1241022</Build><Token xsi:type="ebl:ExpressCheckoutTokenType">EC-4LL44067KK0315740</Token></SetExpressCheckoutResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

Express Process:
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>Username</Username><Password>Password</Password><Signature>Signature</Signature><Subject/></Credentials></RequesterCredentials></soap:Header><soap:Body><DoExpressCheckoutPaymentReq xmlns="urn:ebay:api:PayPalAPI"><DoExpressCheckoutPaymentRequest><Version xmlns="urn:ebay:apis:eBLBaseComponents">60.0</Version><DoExpressCheckoutPaymentRequestDetails xmlns="urn:ebay:apis:eBLBaseComponents"><Token>EC-4LL44067KK0315740</Token><PaymentAction>Sale</PaymentAction><PayerID></PayerID><PaymentDetails><OrderTotal currencyID="USD">100.00</OrderTotal><ItemTotal currencyID="USD">100</ItemTotal><ButtonSource>WebAssist.eCartPHP.Pro.ECO</ButtonSource><PaymentDetailsItem><Name>North Carolina Spring</Name><Amount currencyID="USD">100</Amount><Quantity>1</Quantity><Number>1</Number></PaymentDetailsItem></PaymentDetails></DoExpressCheckoutPaymentRequestDetails></DoExpressCheckoutPaymentRequest></DoExpressCheckoutPaymentReq></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">trolley39</Signature><Subject xsi:type="xs:string"></Subject></Credentials></RequesterCredentials></SOAP-ENV:Header><SOAP-ENV:Body id="_0"><DoExpressCheckoutPaymentResponse xmlns="urn:ebay:api:PayPalAPI"><Timestamp xmlns="urn:ebay:apis:eBLBaseComponents">2010-03-24T16:39:19Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">Failure</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">65901d5e6e723</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">60.0</Version><Build xmlns="urn:ebay:apis:eBLBaseComponents">1241022</Build><DoExpressCheckoutPaymentResponseDetails xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:DoExpressCheckoutPaymentResponseDetailsType"></DoExpressCheckoutPaymentResponseDetails></DoExpressCheckoutPaymentResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>




Need help figuring out what is going on here.

Sean

Sign in to reply to this post

Dani Chankhour

Looking at the response, it seems you are getting error 10002, which according to paypal:

e_howto_api_nvp_errorcodes

it indicates that you have the incorrect credentials specified. This could also mean that you are using your test credentials but you are posting to the live api. Make sure to have the sand box check box checked in eCart if you are using the sand box test credentials and ensure that the credentials are inserted correctly.

Sign in to reply to this post

admin18255

Sandbox

I have to sandbox checked off. I double checked it the Authentication for Paypal Express checkout behavior. Is there any other place I need to check?

Sign in to reply to this post

Dani Chankhour

The problem could be that you are using your live credentials. Did you create testing credentials or are you using the same credentials you got from Paypal.

Sign in to reply to this post

admin18255

and fiscals

I am using the business user created in Sandbox. The user name password and sig that Paypal created.

Sign in to reply to this post

Ray BorduinWebAssist

What is the full response from paypal at the time it fails?

Is it failing after the checkout page, the confirm page, or the pp_confirm page?

The full results should give error details including why it failed.

Sign in to reply to this post
Did this help? Tips are appreciated...

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...