close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

checkout_failure.php all the time for paypal

Thread began 3/11/2010 3:00 pm by Miguel | Last modified 3/15/2010 9:30 pm by Eric Mittman | 14566 views | 15 replies |

Miguel

checkout_failure.php all the time for paypal

Hello im getting this error msg no matter what settings i use, im using ecart4 latest version, i used the wizard filled with a test account that i opened with the paypal sand box also i change the settings to the real account but none work after i add items in the cart and checkout it ask for the info i add my real info and also the test account info i opened in the paypal sandbox both for buyer and seller no matter what i change after i get ask in the confirm page it always send me to the failure page i also have setted the ssl well with godaddy directly they seted the ssl for me just in case it was looking for ssl, but no matter what it keeps failing, what can i do now help please webassist its really urgent!!!.



Transaction Not Completed

We're sorry

Your transaction could not be completed.

Sign in to reply to this post

Miguel

i have also try this to see what could be the problem

For Direct Payment add these into the checkout_failure.php
PHP Code:

<?php echo(PP_DirectPayment_Result("Full Request")) ?>
<br/><br/>
<?php echo(PP_DirectPayment_Result("Full Response")) ?>



For Express Checkout add these into the pp_checkout_failure.php
PHP Code:

<?php echo $WA_PP_ECO_DoResult->fullRequest; ?>
<br/><br/>
<?php echo $WA_PP_ECO_DoResult->fullResponse; ?>



When you test the checkout after applying this you will get the full request that was sent and the response. In the response you should see all the information about the error message.

and since i added thos lines im getting:

Fatal error: Call to undefined function PP_DirectPayment_Result() in /home/content/xx/xxxxxxx/html/checkout_failure.php on line 107

Sign in to reply to this post

Eric Mittman

You should try this again with this set of debug code:

php:
<?php
 
if(!session_id()) session_start();
     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>";   ?>



This relies on the session variables so you will not need to worry about any include files.

Sign in to reply to this post

Miguel

where do i put that code on wich pages and what spot?

Sign in to reply to this post

Eric Mittman

I wanted to update this ticket in case you subscribed to it, I had to edit the debug code that was originally posted. You should use the code that is listed in the post currently.

Sign in to reply to this post

Eric Mittman

You will put this code on the page you are getting to in the end, probably the checkout failure page. You can insert this code directly into the code on the page wherever you would like to see it.

Sign in to reply to this post

Miguel

ok placing it on the failure page i guess not sure where to copy and past the code

Sign in to reply to this post

Miguel

Thanks for the reply eric this is what im getting:



Direct Pay:
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>lsades_1268001825_biz_api1.yahoo.com</Username><Password>1268001831</Password><Signature>AhOQQx1ueQpbQqqtd5BEElYUmQYIAO5bxYhf7fi.FcVSa2mCaDvyVwwb</Signature><Subject/></Credentials></RequesterCredentials></soap:Header><soap:Body><DoDirectPaymentReq xmlns="urn:ebay:api:PayPalAPI"><DoDirectPaymentRequest><Version xmlns="urn:ebay:apis:eBLBaseComponents">2.20</Version><DoDirectPaymentRequestDetails xmlns="urn:ebay:apis:eBLBaseComponents"><PaymentAction>Sale</PaymentAction><PaymentDetails><OrderTotal currencyID="USD">455.55</OrderTotal><ShippingTotal currencyID="USD">103.7</ShippingTotal><ItemTotal currencyID="USD">300</ItemTotal><TaxTotal currencyID="USD">51.85</TaxTotal><ButtonSource>WebAssist.eCartPHP.Pro.DP</ButtonSource><PaymentDetailsItem><Name>productII</Name><Amount currencyID="USD">100</Amount><Quantity>3</Quantity><Number>20</Number></PaymentDetailsItem><PaymentDetailsItem><Name>productII</Name><Amount currencyID="USD">100</Amount><Quantity>3</Quantity><Number>20</Number></PaymentDetailsItem><ShipToAddress><Name>Test</Name><Street1>1 Main St</Street1><CityName>San Jose</CityName><StateOrProvince>CA</StateOrProvince><PostalCode>95131</PostalCode><Country>US</Country><Phone>408-678-0945</Phone></ShipToAddress></PaymentDetails><CreditCard><CreditCardType>Visa</CreditCardType><CreditCardNumber>4244897774436114</CreditCardNumber><ExpMonth>03</ExpMonth><ExpYear>2015</ExpYear><CardOwner><PayerStatus>verified</PayerStatus><PayerName><FirstName>Test</FirstName><LastName>User</LastName></PayerName><Payer>lsades_1268001737_per@yahoo.com</Payer><PayerCountry>US</PayerCountry><Address><Street1>1 Main St</Street1><CityName>San Jose</CityName><StateOrProvince>CA</StateOrProvince><Country>US</Country><CountryName>US</CountryName><PostalCode>95131</PostalCode><Phone>408-678-0945</Phone></Address></CardOwner><CVV2>069</CVV2></CreditCard><IPAddress>190.37.36.250</IPAddress><MerchantSessionId>jaar4jk5ke1bsupdv4pq1prjc6</MerchantSessionId></DoDirectPaymentRequestDetails></DoDirectPaymentRequest></DoDirectPaymentReq></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">AhOQQx1ueQpbQqqtd5BEElYUmQYIAO5bxYhf7fi.FcVSa2mCaDvyVwwb</Signature><Subject xsi:type="xs:string"></Subject></Credentials></RequesterCredentials></SOAP-ENV:Header><SOAP-ENV:Body id="_0"><DoDirectPaymentResponse xmlns="urn:ebay:api:PayPalAPI"><Timestamp xmlns="urn:ebay:apis:eBLBaseComponents">2010-03-11T22:29:49Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">FailureWithWarning</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">e042409d67003</CorrelationID><Errors xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:ErrorType"><ShortMessage xsi:type="xs:string">Invalid Data</ShortMessage><LongMessage xsi:type="xs:string">This transaction has been completed, but the total of items in the cart did not match the total of all items.</LongMessage><ErrorCode xsi:type="xs:token">15008</ErrorCode><SeverityCode xmlns="urn:ebay:apis:eBLBaseComponents">Warning</SeverityCode></Errors><Errors xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:ErrorType"><ShortMessage xsi:type="xs:string">Invalid Configuration</ShortMessage><LongMessage xsi:type="xs:string">This transaction cannot be processed due to an invalid merchant configuration.</LongMessage><ErrorCode xsi:type="xs:token">10501</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">1224319</Build><Amount xsi:type="cc:BasicAmountType" currencyID="USD">455.55</Amount></DoDirectPaymentResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

Express Authorize
Full Request: n/a
Full Response: n/a

Express Process:
Full Request: n/a
Full Response: n/a

Sign in to reply to this post

Miguel

ok what should i do now? i see it says

  This transaction has been completed, but the total of items in the cart did not match the total of all items.  



For this i dunno what is wrong why would it not match.

and also

  This transaction cannot be processed due to an invalid merchant configuration.  



i have tested with the sandbox aco**** for testing and also the real one none have worked so far yet dunno what else to change or do.

Sign in to reply to this post

Miguel

Any tech around yet? really need help on this, sorry to insist so much but kind of really needing your help webassist :)

Sign in to reply to this post
loading

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