close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

problems checkout wizard

Thread began 5/06/2019 11:03 am by paulshoe379536 | Last modified 5/20/2019 9:17 am by Ray Borduin | 934 views | 14 replies |

paulshoe379536

problems checkout wizard

I've been trying to create checkout pages using eCart 6.1.3. I have removed and reinstalled the extension so I must be doing something wrong. I've reprocessed the checkout wizard multiple times. I want to use the PayPal method which is like the old PayPal standard that I used in previous versions of eCart so I have selected "Express Checkout" and added my PayPal credentials for my sandbox. eCart creates the pages but I get these results:

Add Item to shopping cart.
Select "Checkout" in cart
Fill in shipping information on the checkout page and press continue
Directed to PayPal where I log in to my sandbox buyer account (attached screen capture)
Below the PayPal "Continue" button it states that I will be able to review my order before I complete my purchase
When I press "Continue" I end up on a blank page with this URL: http://www.myTestSite.com/pp_confirm.php?token=EC-2GH90930K59283004&PayerID=8BMRQSTDWQZSS.

Your help appreciated,
Paul

Sign in to reply to this post

Ray BorduinWebAssist

Add this to the top of your pp_confirm.php page:

php:
<?php

ini_set
("display_errors",1);
?>



That may allow you to see an error instead of a blank page and help lead you to a solution.

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

paulshoe379536

Added the code but still just a blank page. Should it display something on the web page?

Sign in to reply to this post

Ray BorduinWebAssist

Can I get FTP access and a URL to reproduce? I can try to debug it.

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

paulshoe379536

answer in private

Sign in to reply to this post

Ray BorduinWebAssist

It looks like Dreamweaver wasn't able to connect to your database when the checkout wizard ran. That caused the insert into the database code to be incomplete on the pp_confirm.php page. I've removed the save in database code and the page now works properly.

You will either have to run the wizard again (make sure the database connection works before running) or you could just apply the two server behaviors "Store Cart Summary in Database" and "Store Cart Details in Database" on the pp_confirm.php page, since those are the missing elements.

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

paulshoe379536

Thanks Ray!
I'm about at the end of my day but I'll start on this again tomorrow. I'm not sure why the database would not connect but I think I can take care of updating the database manually.

Sign in to reply to this post

paulshoe379536

Here's what I'm finding today:

Clicking either the "Clear Cart" or "Update" button at the bottom of the shopping cart page sends me directly to PayPal - I don't think this should happen

"Continue Shopping" and "Checkout" work as expected

Selecting "Checkout" goes to the checkout page and then redirects to PayPal.
After logging in to PayPal, I get to a PayPal screen that looks like the screen capture that I sent previously.
This screen displays the total amount to be charged but text below the "Continue" button states "You’ll be able to review your order before you complete your purchase."
After selecting "Continue", I get a PayPal splash screen that states "We are sending you back to the merchant to complete this purchase." and then I'm sent to "checkout_success.php" where there is a summary of my purchase. The PayPal accounts are updating correctly but there was no final opportunity to confirm/complete my purchase as stated by PayPal.

Is eCart sending me to the wrong PayPal gateway or is there something that I've overlooked in my setup? My intent is that this is used like the old standard PayPal free business account.

Sign in to reply to this post

Ray BorduinWebAssist

I updated the trigger for your paypal code so that it won't submit when other buttons are clicked.

The eCart checkout skips the confirm message when no shipping charges are changed. If you want that you would have to add the confirm page content to the pp_confirm.php page including a submit button and form with a blank action. Then update the trigger for the Process Transaction server behavior to use the button click event instead of the "Before Page Load" trigger it uses by default.

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

paulshoe379536

Hi Ray,
Thanks for all the help. I have added confirm.php to pp_confirm.php and I am able to either cancel or confirm the order with buttons on that page. The only trouble I seem to be having is when I confirm the order, it will save the order to PayPal but then it loops back to PayPal and will charge again if you allow it. How do I redirect to checkout_success.php after confirming the order?

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