close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Submitting Order before Payment

Thread began 8/27/2013 2:28 am by Paolo R | Last modified 8/29/2013 6:38 am by Jason Byrnes | 1302 views | 7 replies |

Paolo R

Submitting Order before Payment

Hi All,

This is the first eCommerce system I have built using eCart - While it's working great there are one or two problems I am having and I am wondering if anyone can help.

First of all, and probably the most important is that eCart is submitting the order to the database before going to my merchant (WorldPay). This means that the order would still get processed even if they were to cancel on the WorldPay website. Is there a way of fixing this?

Second of all, Once I continue on WorldPay and do a test transaction, it completes it fine but there are two problems there. 1) It is not adding on the flat shipping rate I have set in my eCart Object, and 2) it will not return me to my website afterwards where I can ensure they cookie for the cart is killed enabling the user to order more items.

Has anyone else come accros this before?
The website for anyone that can help is;

http://vivogate.co.uk/Clients/Cottswold/index.php

Thanks in advance for your help.
Paolo

Sign in to reply to this post

Jason ByrnesWebAssist

World pay is a Remote payment gateway meaning that the payment is processed on their site.

because of this, the order must be stored when the checkout page posts to the confirm page.

Using a remote payment gateway, you should not rely on the database for the order status, you shouldcheck for orders by logging into your world pay account.

As for the redirect on success, the world pay system will redirect to a page on their servers, you would need to customize that page to add a return perameter to return to your site.

see the following documentation:
http://www.worldpay.com/support/kb/bg/customisingadvanced/custa.html

in the:
Customizing your service -> customizing your payment service -> HTML Payment Service Pages -> Structure of the Result Pages

For the shipping, how is the shipping configured?

Sign in to reply to this post

Paolo R

Thanks Jason.

The shipping is configured in the eCart object for a flat rate of £40. Any idea why it's not working?
Also, the price it sends through to worldpay is different to the price on the website too!

Thanks,
Paolo

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

Paolo R

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

i am teting adding an item to the cart and going through to the confirm page.

on the confirm page, i see the shipping added to the cart.

seer the attached screen shot,. the item is £249 and there is a £40 shipping charge added. this looks to be working properly top me?

Sign in to reply to this post

Paolo R

asdasd

Sign in to reply to this post

Jason ByrnesWebAssist

that was not clear from your post.


on the confirm page, there is a hidden element that sets the currency being used:
<input type="hidden" name="currency" id="currency" value="USD" />


change that to:
<input type="hidden" name="currency" id="currency" value="GBP" />

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