Post by bobmartinusa » Wed Sep 11, 2013 4:27 am

Hi,

I have installation of 1.5.5.1 and am getting following error when customer checks out as a guest he is unable to checkout because he is getting error


E-Mail Address does not appear to be valid!
Telephone must be between 3 and 32 characters!

even if buyer is putting correct details.

Same problem is not repeated if buyer chooses register acccount option.

Following is details from error logs

2013-09-10 19:43:09 - PHP Notice: Undefined index: email in /home/store503/public_html/catalog/controller/checkout/guest.php on line 193
2013-09-10 19:43:09 - PHP Notice: Undefined index: telephone in /home/store503/public_html/catalog/controller/checkout/guest.php on line 197

Any help would be welcome, since the site is live currently I have disabled guest checkout option because of this problem

New member

Posts

Joined
Sat Mar 16, 2013 5:39 pm

Post by rph » Wed Sep 11, 2013 4:52 am

It's likely a template issue.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by bobmartinusa » Wed Sep 11, 2013 7:16 am

will you be able to point out how I can resolve the error

New member

Posts

Joined
Sat Mar 16, 2013 5:39 pm

Post by rph » Wed Sep 11, 2013 11:48 pm

Let the person know who created the template.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by DWWD » Fri Sep 27, 2013 3:04 pm

Had a similar problem (with email).

Short answer: was because email now used type=email not type=text

Long answer: http://forum.opencart.com/viewtopic.php?f=20&t=108834

If phone number is sing type=tel, you'd get a similar problem.

User avatar
New member

Posts

Joined
Fri Nov 14, 2008 9:58 pm
Location - Moulton, Spalding

Post by krcok » Mon Nov 11, 2013 5:01 pm

Hi,
I have exactly same issue.
I could fix the problem of email error, but not telephone...
Did you solve out?

Newbie

Posts

Joined
Mon Nov 11, 2013 12:02 am

Post by bunnybooboo » Mon Nov 18, 2013 12:00 am

I can reproduce this same error in 1.5.6 using the default template. The only way I can fix it is through system > settings > edit > option > guest checkout = no ..to force the customer to register.

This is not ideal. As a customer of other stores myself I can account for how frustrating having to jump through registration hoops is when you just wish to purchase.

Anyone got a fix to correct the guest purchase route?

Newbie

Posts

Joined
Thu Aug 22, 2013 3:33 pm

Post by Cue4cheap » Mon Nov 18, 2013 12:34 am

bunnybooboo wrote:I can reproduce this same error in 1.5.6 using the default template. The only way I can fix it is through system > settings > edit > option > guest checkout = no ..to force the customer to register.

This is not ideal. As a customer of other stores myself I can account for how frustrating having to jump through registration hoops is when you just wish to purchase.

Anyone got a fix to correct the guest purchase route?
Was this a fresh install of 1.5.6 or an upgrade? With my fresh install of 1.5.6 I can't reproduce this. Also if there is something specific that you do to reproduce that would be great to know.
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by bunnybooboo » Mon Nov 18, 2013 1:29 am

Cue4cheap wrote:Was this a fresh install of 1.5.6 or an upgrade? With my fresh install of 1.5.6 I can't reproduce this. Also if there is something specific that you do to reproduce that would be great to know.
Mike
Actually I don't rightly know. I've been working on this startup so long I feel my brain is merging with this computer screen haha. POSSIBLY an upgrade but I'd need some help working out how to find that info.

Newbie

Posts

Joined
Thu Aug 22, 2013 3:33 pm

Post by Cue4cheap » Mon Nov 18, 2013 1:42 am

bunnybooboo wrote:
Cue4cheap wrote:Was this a fresh install of 1.5.6 or an upgrade? With my fresh install of 1.5.6 I can't reproduce this. Also if there is something specific that you do to reproduce that would be great to know.
Mike
Actually I don't rightly know. I've been working on this startup so long I feel my brain is merging with this computer screen haha. POSSIBLY an upgrade but I'd need some help working out how to find that info.
Only you or the one who either installed fresh 1.5.6 or did an upgrade from another version would know. I don't know of any residuals that would give you a breadcrumb that you could follow and tell you if it was an upgrade.
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by DWWD » Mon Nov 18, 2013 1:44 am

I fixed it by modifying checkout.tpl.

In the Ajax calls of $('#button-guest').live('click', ... and $('#button-guest-shipping').live('click', ...

And where you see selectors for input[type=\'text\'] add input[type=\'email\'] and input[type=\'tel\'] for 'data:' parameters.

User avatar
New member

Posts

Joined
Fri Nov 14, 2008 9:58 pm
Location - Moulton, Spalding

Post by bunnybooboo » Mon Nov 18, 2013 4:20 am

Thanks for jumping in and helping out, the both of you.

Wow that worked brilliantly. Went to the thread you referenced a few posts above as you explained in slightly more detail there. Sorry I didn't initially flag it in my brain as being an answer. Works a treat.

The perfectionist in me can spot the fields aren't highlighted blue like the rest of the fields for address. Nothing major I guess but where would I correct that?

Newbie

Posts

Joined
Thu Aug 22, 2013 3:33 pm

Post by DWWD » Mon Nov 18, 2013 4:37 am

Not quite sure what you mean. Can you post a screenshot?

User avatar
New member

Posts

Joined
Fri Nov 14, 2008 9:58 pm
Location - Moulton, Spalding

Post by alfredosimoes » Tue Aug 12, 2014 9:37 am

HELP !!!

After installing this extension my checkout is not working if the client ads a product to the basket and checkout as a NEW client.

It gives the following errors:

- E-Mail Address does not appear to be valid!
- Telephone must be between 3 and 32 characters!

I already tried to implement the solution above in checkout.tpl but it does not work for me. May be i am doing sometinh wrong or the problem is different.

Anybody can help, please.

Thanks in advance.

Newbie

Posts

Joined
Tue Aug 12, 2014 9:33 am

Post by alfredosimoes » Tue Aug 12, 2014 10:08 am

2014-08-12 2:06:15 - PHP Notice: Undefined index: email in /home/ascmico/public_html/upload/catalog/controller/checkout/register.php on line 142
2014-08-12 2:06:15 - PHP Notice: Undefined index: email in /home/ascmico/public_html/upload/catalog/controller/checkout/register.php on line 142
2014-08-12 2:06:15 - PHP Notice: Undefined index: email in /home/ascmico/public_html/upload/catalog/controller/checkout/register.php on line 146
2014-08-12 2:06:15 - PHP Notice: Undefined index: telephone in /home/ascmico/public_html/upload/catalog/controller/checkout/register.php on line 150

Newbie

Posts

Joined
Tue Aug 12, 2014 9:33 am

Post by alfredosimoes » Tue Aug 12, 2014 5:40 pm

SOLVED

ADD #payment-address input[type=\'email\'], #payment-address input[type=\'tel\'], TO SECTION

// Register
$('#button-register').live('click', function() {

AFTER
type: 'post',

data: $('#payment-address input[type=\'text\'], #payment-address input[type=\'email\'], #payment-address input[type=\'tel\'], #payment-address input[type=\'password\'], #payment-address input[type=\'checkbox\']:checked, #payment-address input[type=\'radio\']:checked, #payment-address input[type=\'hidden\'], #payment-address select'),
dataType: 'json',

Newbie

Posts

Joined
Tue Aug 12, 2014 9:33 am
Who is online

Users browsing this forum: No registered users and 70 guests