close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Can't run the checkout Wizard

Thread began 7/11/2012 4:34 pm by Rune Brynestad | Last modified 7/12/2012 4:39 pm by Jason Byrnes | 1593 views | 9 replies |

Rune Brynestad

Can't run the checkout Wizard

I get the attached Javascript Error when I try to run the Checkout Wizzard. See picture.

I have deleted the Winfile cache

I have deleted the config folder and started with eCart as the only extension installed

I'm using Dreamweaver CS5 on a Windows 7 64 bits system

I'm using eCart version 5.0.6

I'm attaching the eCartDesignObject.js file and my cart.php file. The file WA eCart CheckoutWizard.htm is not located on my computer.

Regards
Rune

Attached Files
New folder.zip
Sign in to reply to this post

Jason ByrnesWebAssist

in the WA_eCart folder of your site, delete the WA_DMCFG.xml file

Sign in to reply to this post

Rune Brynestad

I have deleted the WA_DMCFG.xml file in the WA_eCart folder of my site. The javascript error disappear, but a Dreamweaver warning shows up.

"Please insert an eCart Display at least once in the site before using the wizard" See attached picture.

I have a shopping cart in my site and I'm standing on the cart.php page when I try to run the wizard.

I'm attaching a copy of my cart.php page.

Regards
Rune

Attached Files
cart.zip
Sign in to reply to this post

Jason ByrnesWebAssist

Try creating a new cart display on a new page to the WA_DMCFG.xml file

Sign in to reply to this post

Rune Brynestad

Thanks. It looks like it's working now.

I'm planning to use the recomended PayPal Express Checkout service this time instead of PayPal Standard, but I can't find that option in the wizard. I only see PayPal Proffessional and PayPal Standard. Am I missing something ?

Regards
Rune

Sign in to reply to this post

Jason ByrnesWebAssist

PayPal express is a part of PayPal Pro.

Select to use Paypal pro, then delete the checkout form from the checkout page leaving only the express checkout button

Sign in to reply to this post

Rune Brynestad

Not surprising, it did not work on my first test.

The error being reported is:

The totals of the cart item amounts do not match order amounts.

Here's the full request and full response:


<p class="eC_OrderInfo"><strong>Full Response</strong></p>
<p class="eC_OrderInfo"><?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">2012-07-12T19:45:09Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">Failure</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">dd91a8f940f61</CorrelationID><Errors xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:ErrorType"><ShortMessage xsi:type="xs:string">Transaction refused because of an invalid argument. See additional error messages for details.</ShortMessage><LongMessage xsi:type="xs:string">The totals of the cart item amounts do not match order amounts.</LongMessage><ErrorCode xsi:type="xs:token">10413</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">3255948</Build></SetExpressCheckoutResponse></SOAP-ENV:Body></SOAP-ENV:Envelope></p>
<p class="eC_OrderInfo"><strong>Full Request</strong></p>
<p class="eC_OrderInfo"><?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>post_api1.tcacarcare.com</Username><Password>RFASUK9HSQBDWQ4W</Password><Signature>Apr4UEcEZ1I8Xhv8HFt4zmmQL4whAOsvt3JMR-PtOPExSw1nHNuAzfBw</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.tcacarcare.com/pp_confirm.php</ReturnURL><CancelURL>http://www.tcacarcare.com/pp_cancel.php</CancelURL><SolutionType>Sole</SolutionType><LandingPage>Billing</LandingPage><PaymentAction>Authorization</PaymentAction><OrderTotal currencyID="NOK">93.00</OrderTotal><PaymentDetails><ItemTotal currencyID="NOK">24.00</ItemTotal><PaymentDetailsItem><Name>X-1 PLUSS NANO MICROFIBER 40cm x 40cm</Name><Amount currencyID="NOK">24.00</Amount><Quantity>1</Quantity><Number>6</Number></PaymentDetailsItem></PaymentDetails><PaymentAction>Authorization</PaymentAction></SetExpressCheckoutRequestDetails></SetExpressCheckoutRequest></SetExpressCheckoutReq></soap:Body></soap:Envelope></p>

The error is currently live so you can see:

www.tcacarcare.com/

Regards
Rune

Sign in to reply to this post

Jason ByrnesWebAssist

The problem is caused by using Option that effect price,

when using options that effect price, like on the cart display page, where you had to trade out the Price binding for the True price binding, the same needs to happen in the paypal code that passes the cart information.

on the Checkout page, double click the Authorize transaction for payPal Express server behavior, and bind the price variable to the true price column of the cart.

Sign in to reply to this post

Rune Brynestad

Sorry, did not work.

Here's an udpated Full Response and Full Request.

<p class="eC_OrderInfo"><strong>Full Response</strong></p>
<p class="eC_OrderInfo"><?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">2012-07-12T20:24:33Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">Failure</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">59741db5193e0</CorrelationID><Errors xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:ErrorType"><ShortMessage xsi:type="xs:string">Transaction refused because of an invalid argument. See additional error messages for details.</ShortMessage><LongMessage xsi:type="xs:string">The totals of the cart item amounts do not match order amounts.</LongMessage><ErrorCode xsi:type="xs:token">10413</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">3255948</Build></SetExpressCheckoutResponse></SOAP-ENV:Body></SOAP-ENV:Envelope></p>
<p class="eC_OrderInfo"><strong>Full Request</strong></p>
<p class="eC_OrderInfo"><?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>post_api1.tcacarcare.com</Username><Password>RFASUK9HSQBDWQ4W</Password><Signature>Apr4UEcEZ1I8Xhv8HFt4zmmQL4whAOsvt3JMR-PtOPExSw1nHNuAzfBw</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.tcacarcare.com/pp_confirm.php</ReturnURL><CancelURL>http://www.tcacarcare.com/pp_cancel.php</CancelURL><SolutionType>Sole</SolutionType><LandingPage>Billing</LandingPage><PaymentAction>Authorization</PaymentAction><OrderTotal currencyID="NOK">93.00</OrderTotal><PaymentDetails><ItemTotal currencyID="NOK">24.00</ItemTotal><PaymentDetailsItem><Name>X-1 PLUSS NANO MICROFIBER 40cm x 40cm</Name><Amount currencyID="NOK">24.00</Amount><Quantity>1</Quantity><Number>6</Number></PaymentDetailsItem></PaymentDetails><PaymentAction>Authorization</PaymentAction></SetExpressCheckoutRequestDetails></SetExpressCheckoutRequest></SetExpressCheckoutReq></soap:Body></soap:Envelope></p>

Also attaching my checkout page.

The error is still live so you can see:

www.tcacarcare.com/

Regards
Rune

Attached Files
checkout.zip
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
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...