close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

ecart 6 Go checkout php instead directly Paypal Express

Thread begun 5/08/2020 5:05 am by georgina_barrett_187762 | Last modified 5/26/2020 1:32 pm by Ray Borduin | 2231 views | 20 replies |

georgina_barrett_187762

ecart 6 Go checkout php instead directly Paypal Express

I have the cart set up and it all works. When you click the Checkout button on the cart.php page it goes directly to Paypal. This was fine, however I now need it to redirect to the checkout.php page before going to Paypal so I can get them to enter their shipping details before being redirected.

I actually did this the other way around - when I first set up the shop it did direct to that page - and I removed a redirect so it went directly to Paypal but I can't remember where/how I did it.

Sign in to reply to this post

Ray BorduinWebAssist

I think the code is actually on the confirm.php page. Please attach that page and I'll take a look.

Sign in to reply to this post
Did this help? Tips are appreciated...

georgina_barrett_187762

Thank you - I have attached it.

Sign in to reply to this post

Ray BorduinWebAssist

I think you just have to change line 27 from:
if ("" === "") {

to:
if (isset($_POST["CheckoutWizard_submit"])) {

Sign in to reply to this post
Did this help? Tips are appreciated...

georgina_barrett_187762

Thank you, I have done that and it does redirect tot he checkout.php page, however the shipping form is hidden. I can briefly see the shipping form fields when the page loads but then they are hidden and the order confirmation information is displayed even though it hasn't gone to Paypal.

Sign in to reply to this post

Ray BorduinWebAssist

Can I get a url and FTP access? I'll need to debug it live to keep track of what is going on.

Sign in to reply to this post
Did this help? Tips are appreciated...

georgina_barrett_187762

I have private messaged.

Sign in to reply to this post

Ray BorduinWebAssist

There was some leftover code on the checkout page that was causing it to hide the shipping form. I've removed that and it seems to be showing properly now.

Sign in to reply to this post
Did this help? Tips are appreciated...

georgina_barrett_187762

Perfect thanks. The only problem is the shipping details aren't getting passed to Paypal. I have tested it with a paypal account and without but nothing is there.

Sign in to reply to this post

Ray BorduinWebAssist

I added the express checkout shipping by following the solution found here:

http://www.webassist.com/forums/posts.php?id=37540

Sign in to reply to this post
Did this help? Tips are appreciated...
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...