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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

11812 paypal error

Thread began 2/19/2015 1:09 am by mycalidesigns | Last modified 2/19/2015 11:59 am by Jason Byrnes | 738 views | 1 replies |

mycalidesigns

11812 paypal error

please help i tried to revert back to standard payments and i keep getting this issue.

Direct Pay:
Express Authorize
<?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>boxwoodnursery_api1.gmail.com</Username><Password>M8KFRP5CY9YN55RW</Password><Signature>AFcWxV21C7fd0v3bYYYRCpSSRl31AFiJWsE84l0laZvuLtSPFxdtSEGU</Signature><Subject/></Credentials></RequesterCredentials></soap:Header><soap:Body><SetExpressCheckoutReq xmlns="urn:ebay:api:PayPalAPI"><SetExpressCheckoutRequest><Version xmlns="urn:ebay:apis:eBLBaseComponents">63.0</Version><SetExpressCheckoutRequestDetails xmlns="urn:ebay:apis:eBLBaseComponents"><ReturnURL>http://www.bwnursery.com/pp_confirm3.php</ReturnURL><CancelURL>http://www.bwnursery.com/store/store-view-cart.php?ppcancel=1</CancelURL><SolutionType>Sole</SolutionType><LandingPage>Billing</LandingPage><PaymentAction>Sale</PaymentAction><OrderTotal currencyID="USD">1.08</OrderTotal><PaymentDetails><ItemTotal currencyID="USD">1</ItemTotal><TaxTotal currencyID="USD">0.08</TaxTotal><PaymentDetailsItem><Name>Trapp Candles</Name><Description>7 ounce long burning candle. Trapp Promises a bottle of Perfume in every candle, yet does not over power a room. Packaging gives the product a lovely gift presentation. Orange Vanilla: sweet, crisp, and our best seller. Lemongrass Verbena: soft, spa-like and inspiring. Water: clean notes of fresh air and fresh laundry. </Description><Amount currencyID="USD">1</Amount><Quantity>1</Quantity><Number>14</Number></PaymentDetailsItem></PaymentDetails><PaymentAction>Sale</PaymentAction></SetExpressCheckoutRequestDetails></SetExpressCheckoutRequest></SetExpressCheckoutReq></soap:Body></soap:Envelope><?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">2015-02-19T06:07:02Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">SuccessWithWarning</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">c297a4649818b</CorrelationID><Errors xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:ErrorType"><ShortMessage xsi:type="xs:string">Invalid Data</ShortMessage><LongMessage xsi:type="xs:string">The value of Description parameter has been truncated.</LongMessage><ErrorCode xsi:type="xs:token">11812</ErrorCode><SeverityCode xmlns="urn:ebay:apis:eBLBaseComponents">Warning</SeverityCode></Errors><Version xmlns="urn:ebay:apis:eBLBaseComponents">63.0</Version><Build xmlns="urn:ebay:apis:eBLBaseComponents">15295733</Build><Token xsi:type="ebl:ExpressCheckoutTokenType">EC-49K486600L730950N</Token></SetExpressCheckoutResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>Express Process:
<?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>boxwoodnursery_api1.gmail.com</Username><Password>M8KFRP5CY9YN55RW</Password><Signature>AFcWxV21C7fd0v3bYYYRCpSSRl31AFiJWsE84l0laZvuLtSPFxdtSEGU</Signature><Subject/></Credentials></RequesterCredentials></soap:Header><soap:Body><DoExpressCheckoutPaymentReq xmlns="urn:ebay:api:PayPalAPI"><DoExpressCheckoutPaymentRequest><Version xmlns="urn:ebay:apis:eBLBaseComponents">63.0</Version><DoExpressCheckoutPaymentRequestDetails xmlns="urn:ebay:apis:eBLBaseComponents"><Token>EC-49K486600L730950N</Token><PaymentAction>Sale</PaymentAction><PayerID></PayerID><PaymentDetails><OrderTotal currencyID="USD">1.08</OrderTotal><ItemTotal currencyID="USD">1</ItemTotal><TaxTotal currencyID="USD">0.08</TaxTotal><ButtonSource>WebAssist.eCartPHP.Pro.ECO</ButtonSource><PaymentDetailsItem><Name>Trapp Candles</Name><Amount currencyID="USD">1</Amount><Quantity>1</Quantity><Number>14</Number><Description>7 ounce long burning candle. Trapp Promises a bottle of Perfume in every candle, yet does not over power a room. Packaging gives the product a lovely gift presentation. Orange Vanilla: sweet, crisp, and our best seller. Lemongrass Verbena: soft, spa-like and inspiring. Water: clean notes of fresh air and fresh laundry. </Description></PaymentDetailsItem></PaymentDetails></DoExpressCheckoutPaymentRequestDetails></DoExpressCheckoutPaymentRequest></DoExpressCheckoutPaymentReq></soap:Body></soap:Envelope><?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"><DoExpressCheckoutPaymentResponse xmlns="urn:ebay:api:PayPalAPI"><Timestamp xmlns="urn:ebay:apis:eBLBaseComponents">2015-02-19T06:07:33Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">Failure</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">da8d869936b6f</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">63.0</Version><Build xmlns="urn:ebay:apis:eBLBaseComponents">15295733</Build><DoExpressCheckoutPaymentResponseDetails xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:DoExpressCheckoutPaymentResponseDetailsType"></DoExpressCheckoutPaymentResponseDetails></DoExpressCheckoutPaymentResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
Transaction Not Completed

We're sorry

Your transaction could not be completed.

Sign in to reply to this post

Jason ByrnesWebAssist

The error cause is in the long message

<Errors xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:ErrorType">
<ShortMessage xsi:type="xs:string">Invalid Data</ShortMessage>
<LongMessage xsi:type="xs:string">The value of Description parameter has been truncated.</LongMessage>
<ErrorCode xsi:type="xs:token">11812</ErrorCode>
<SeverityCode xmlns="urn:ebay:apis:eBLBaseComponents">Warning</SeverityCode>
</Errors>

"The value of Description parameter has been truncated."

the Description being passed to paypal is too long. paypal has a character restriction of 127 characters for the description.

the description you are passing:

<Description>7 ounce long burning candle. Trapp Promises a bottle of Perfume in every candle, yet does not over power a room. Packaging gives the product a lovely gift presentation. Orange Vanilla: sweet, crisp, and our best seller. Lemongrass Verbena: soft, spa-like and inspiring. Water: clean notes of fresh air and fresh laundry. </Description>

is 322 characters. see the following page for more details:
https://developer.paypal.com/docs/classic/api/merchant/DoDirectPayment_API_Operation_NVP/

the Payment Details Item Fields section has details on character limits for item information fields.

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