close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

eCart 4 version - Local response stopped showing

Thread began 8/02/2011 10:48 am by ccdantas101117 | Last modified 8/03/2011 2:07 pm by Jason Byrnes | 1108 views | 3 replies |

ccdantas101117

eCart 4 version - Local response stopped showing

I have a failure page where I have the local response for direct payment (I'm using PayPal Payment Pro

The page stopped showing the error message and code. Also the API are correct because I can run transactions using the cart and it goes trough. Can any one help on that.

ON SAFARI IT NEVER SHOWED and I don know why?

Below the full response requested(I have delited the API info for security):

PayPal Full Request :
sales_api1.xxxxxxxxxxx.comCTxxxxxxxxxxxxxxx.ma8E-CxxxxxxxxxxxxWebAssist.eCartPHP.Pro.DPiPhone 4 Digitizer + LCD Assembly Black AT&T53.95134iPhone 4 Charging Port Complete with Loud Speaker10.951587Jason1315 Cordova St #201AnchorageAK99501US907-279-1931MasterCard545312345678999052017verifiedJasonBlakejandtblake@yahoo.comUS
1315 Cordova St #201AnchorageAKUSUS99501907-279-1931
46366.229.28.2176h7sj94tmij6tt1f6fv40j5o0Paypal Full Response :
sales_api1.xxxxxxxxxxxxx.comCTxxxxxxxxxxxxxxxxxxx.ma8E-xxxxxxxxxxxxxxxxxxxxxSOAP-ENV:ClientXML syntax error

Thanks

BTW: You guys are the best.

Sign in to reply to this post

Jason ByrnesWebAssist

no clue why it would have stopped showing in safari.


most likely the issue is with an html tag in the name or description for the products being passed to paypal.


try using this code to get the full request and response instead, it will show the xml tags and the data a little clearer:

php:
<?php

@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>"
?>
Sign in to reply to this post

ccdantas101117

Thanks Jason

I'll post the code and get the full response. Now one customer send the failure page with some response, but the wired part is showing the success for the status, but inside the failure page and no charges were processed through PayPal (thank for that). Attached is the customers print screen.

We're sorry

Your transaction could not be completed. | To Go Back to Cart and start checkout process (CLICK HERE)

Failure10527This transaction cannot be processed. Please enter a valid credit card number and type.

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>XXXXXXXXXXXXXXXXXXXX</Username><Password>XXXXXXXX</Password><Signature>XXXXXXXXXXXXXXXX</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">7.35</OrderTotal><ShippingTotal currencyID="USD">2.4</ShippingTotal><ItemTotal currencyID="USD">4.95</ItemTotal><ButtonSource>WebAssist.eCartPHP.Pro.DP</ButtonSource><PaymentDetailsItem><Name>iPhone 3 in 1 Charger</Name><Amount currencyID="USD">4.95</Amount><Quantity>1</Quantity><Number>330</Number></PaymentDetailsItem><ShipToAddress><Name>Carlos</Name><Street1>7901 NW 3rd Street</Street1><Street2>APT 23-206</Street2><CityName>Pembroke Pines</CityName><StateOrProvince>FL</StateOrProvince><PostalCode>33024</PostalCode><Country>US</Country><Phone>954-483-8178</Phone></ShipToAddress></PaymentDetails><CreditCard><CreditCardType>MasterCard</CreditCardType><CreditCardNumber>XXXXXXXXXXXXXX</CreditCardNumber><ExpMonth>07</ExpMonth><ExpYear>2013</ExpYear><CardOwner><PayerStatus>verified</PayerStatus><PayerName><FirstName>Carlos</FirstName><LastName>Dantas</LastName></PayerName><Payer>info@ccdantaswebdesign.com</Payer><PayerCountry>US</PayerCountry><Address><Street1>7901 NW 3rd Street</Street1><Street2>APT 23-206</Street2><CityName>Pembroke Pines</CityName><StateOrProvince>FL</StateOrProvince><Country>US</Country><CountryName>US</CountryName><PostalCode>33024</PostalCode><Phone>954-483-8178</Phone></Address></CardOwner><CVV2>858</CVV2></CreditCard><IPAddress>66.229.28.21</IPAddress><MerchantSessionId>7110ef8ehjgcvps41thlfum676</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: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:ed="urn:ebay:apis:EnhancedDataTypes" 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"></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">2011-08-02T19:21:25Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">Failure</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">a6cc73796b000</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 cannot be processed. Please enter a valid credit card number and type.</LongMessage><ErrorCode xsi:type="xs:token">10527</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">2031893</Build><Amount xsi:type="cc:BasicAmountType" currencyID="USD">7.35</Amount></DoDirectPaymentResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

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>XXXXXXXXXXXXXX</Username><Password>XXXXXXXXXXX</Password><Signature>XXXXXXXXX</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">4.95</OrderTotal><ReturnURL>http://www.wirelesspartswholesale.com/pp_confirm.php</ReturnURL><CancelURL>http://www.wirelesspartswholesale.com/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: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:ed="urn:ebay:apis:EnhancedDataTypes" 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"></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">2011-08-02T19:18:43Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">Success</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">ba2f593ededca</CorrelationID><Version xmlns="urn:ebay:apis:eBLBaseComponents">2.20</Version><Build xmlns="urn:ebay:apis:eBLBaseComponents">2020243</Build><Token xsi:type="ebl:ExpressCheckoutTokenType">EC-32X356882M0936723</Token></SetExpressCheckoutResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

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

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

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