close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

ecart checkout and continue buttons

Thread began 3/30/2015 12:43 pm by Jamie | Last modified 6/25/2015 11:50 am by Ray Borduin | 5091 views | 41 replies |

Jamie

ecart checkout and continue buttons

Hey Jason

Ran the ecart wizard on a site earlier today and have been trying to get the 'continue shopping' and 'checkout' buttons working but they just redirect to the page that they are on. Have attached the cart.php page and the link to the live page is in the PM section

cheers

Jamie

Sign in to reply to this post

Jason ByrnesWebAssist

move this code block form line 73 - 80:

<?php
// WA eCart Redirect
if ($natashaCart->redirStr != "") {
if (function_exists("rel2abs")) $natashaCart->redirStr = rel2abs($natashaCart->redirStr,dirname(__FILE__));
header("Location: ".$natashaCart->redirStr);
die();
}
?>




so that it is just before the doctype tag.

Sign in to reply to this post

Jamie

got it - perfect thanks

on the same ecart installation, the checkout.php page (which i havent changed from the intial wizard run) is erroring and if you view source the error is

<input id="Company_Name" name="Company_Name" type="text" value="<br />
<b>Fatal error</b>: Call to undefined function WA_coalesce() in <b>/home/natashrb/public_html/checkout.php</b> on line <b>34</b><br />



why would that have been created like that in the wizard?

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the checkout page please

Sign in to reply to this post

Jamie

here you go

Sign in to reply to this post

Jason ByrnesWebAssist

looks like you may have a bad installation of eCart. all of the code that should be above the doc the tag is missing from the checkout page.

rename the users configuration folder, then open DW to recreate it, then open the extension manger, remove all the extensions and re install them.

after reinstalling the extensions, delete the existing checkout pages and rerun the checkout wizard.

Sign in to reply to this post

Jamie

Thanks Jason Thats worked fine.

On the checkout page, when I click 'confirm' it opens up the wrong address

instead of

https://www.paypal.com/checkoutnow?token


it opens up

http://www.domainname.com/https://www.paypal.com/checkoutnow?token



Have tried adjusting the PP_ECO_PHP.php page but no joy with that. What do I need to change to get the right path used please?

UPDATE: now the page redirects to the checkout_failure page.....

Sign in to reply to this post

Jason ByrnesWebAssist

on the failure page, add the following code to write the session contents:

<pre><?php @session_start(); var_dump($_SESSION); ?></pre>

the session contents will contain the response from the gateway with details on why the transaction is failing.

Sign in to reply to this post

Jamie

hmmm its not redirecting the the failure page now.....

its back to trying to take me to http://www.domainname.com/https://www.paypal.com/checkoutnow?token

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

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