close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

eCart Checkout Wizard - not asking for a delivery address?

Thread began 8/11/2015 9:43 am by Nathon Jones Web Design | Last modified 8/12/2015 1:45 pm by Ray Borduin | 608 views | 6 replies |

Nathon Jones Web Design

eCart Checkout Wizard - not asking for a delivery address?

Jeez. So I took the plunge and ran the eCart Checkout Wizard, albeit I had no hopes of it working!
Sure enough, it's asking for a billing address but it doesn't ask for a delivery address. :(

Here's how to replicate this. Go to the following page and add this item to basket:
http://www.nathonjoneswebdesign.co.uk/whiskybroker/buy-whisky-online-Scotland.php?wbid=3

Then return to the home page (http://www.nathonjoneswebdesign.co.uk/whiskybroker/) and click the "Checkout" button in the quick cart (top right). Enter your billing address (it doesn't allow you to enter a UK telephone number) and when you click continue you are simply asked to then submit payment. It doesn't ask for any delivery address information which makes calculating the shipping rate impossible.

Hope you can help. Thank you.
NJ

EDIT: I should add that we are able to submit the Billing Address, for all the good it will do, to Sage Pay but after initially receiving an error on the URLwhich eCart Checkout Wizard installs by default - https://test.sagepay.com/Simulator/VSPFormGateway.asp - we contacted Sage Pay and they told us that the URL should actually be https://test.sagepay.com/gateway/service/vspdirect-register.vsp

After fixing that and submitting we get the following error:
VPSProtocol=2.23 Status=MALFORMED StatusDetail=3055 : The CardType field is required.

CardType? We're not asking the customer to enter their card details.

There is also the issue, though, of eCart not installing the Delivery Address form. It's all extremely odd and we'd appreciate some clarification on it.

Thank you.

Sign in to reply to this post

Ray BorduinWebAssist

There is a checkbox in the checkout wizard for "Include shipping fields on checkout page"

It should always create the shipping fields as long as that checkbox is checked, the checkout form you have seems to be what would result if that checkbox was not checked.

The url they gave you is for direct pay api, which requires the card details to be passed in.

Looking through their documentation, it appears the original url the eCart used was correct, but you might try:
https://test.sagepay.com/gateway/service/vspform-register.vsp

The url should definitely not be the vspdirect version if you aren't asking for credit card details from your site.

Sign in to reply to this post

Nathon Jones Web Design

Originally Said By: Ray Borduin
  There is a checkbox in the checkout wizard for "Include shipping fields on checkout page"

It should always create the shipping fields as long as that checkbox is checked, the checkout form you have seems to be what would result if that checkbox was not checked.  



I'll double check that. I don't recall that checkbox but I don't doubt it's there!

Originally Said By: Ray Borduin
  Looking through their documentation, it appears the original url the eCart used was correct...  


SagePay have confirmed that the original URL the eCart used, https://test.sagepay.com/Simulator/VSPFormGateway.asp, is no longer in use.

Originally Said By: Ray Borduin
  ...but you might try:
https://test.sagepay.com/gateway/service/vspform-register.vsp  



HTTP Status Code: 500
HTTP Status Message: The request was unsuccessful due to an unexpected condition encountered by the server.
Error Code : 3098
Error Description : The VPSProtocol value is not supported by the system in use.

I'll contact Sage Pay again and find out which URL is correct.
Thank you.
NJ

Sign in to reply to this post

Nathon Jones Web Design

I've double checked with Sage Pay and now have the correct URL for their test server. We've run a successful test transaction to Sage Pay albeit we can't get a Shipping charge applied (which we're discussing in another post so I won't reiterate that any further here).

Getting back to the billing and delivery address sections though...

I've re-run the eCart Checkout Wizard and ticked the "Include shipping fields on checkout page". I now have a billing and delivery form but there are problems with it...
http://www.nathonjoneswebdesign.co.uk/whiskybroker/buy-whisky-online-Scotland.php?wbid=25

If you add the above item to basket and proceed to checkout, enter your billing details the first problem is that if you untick the "Same as billing" checkbox it doesn't remove the billing address information. Should it?

Second issue is the formatting of the telephone number. Phone numbers could be from all over the world so trying to restrict it to a US format doesn't make a lot of sense to us. How do we edit/remove the validation for each field?

Third issue, if you have previously filled in a form in your browser and it makes a suggestion when you're trying to fill in the WebAssist forms, when you select a value from the drop down list of options that appear below the form field, and it's inserted into the field as your value, the jQuery validation pops up!

Hope you can help. Thank you.
NJ

Sign in to reply to this post

Ray BorduinWebAssist

The checkbox is not supposed to clear the shipping or billing information when unchecked, so it is functioning as designed.

You can remove the formatting code from the phone number fields directly on the checkout page, just remove the pattern="" portion and the onblur events that do formatting.

I'll look into the suggestion issue filling forms. What browser did that happen in? I'm doing that now and don't see the validation messages.

Sign in to reply to this post

Nathon Jones Web Design

Ok, I assumed unticking the box would remove the details.

Is there a way to edit the formatting code rather than just manually removing the pattern portion? For example, I need a telephone number to be entered so there need to be some kind of validation on it.

It was Microsoft Edge.

Thank you.
NJ

Sign in to reply to this post

Ray BorduinWebAssist

It will still require the field, just won't force a US format if you remove the pattern. With all of the variations on phone numbers across the world it would be difficult to find a pattern to encompass them all, but you can look on a site like: http://www.regexlib.com

That sounds like it may be a bug in Microsoft Edge. Microsoft Edge is still basically in a beta stage and can have issues that Microsoft will be resolving before the formal release when it eventually replaces IE.

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