Your account is limited to posting only in the Pre-Sales Questions forum.
Support forum access is limited to members with a purchase history.

If you are working on behalf of another member, please contact us with the name of the license holder and we will upgrade your account.
   
 
First name is required last name is required on checkout
Posted: 03 May 2012 01:52 AM   [ Ignore ]
Is a Really Great Dancer
RankRank
Total Posts:  72
Joined  2011-07-18

Hi,

I’m running into an issue that seems a bug to me. After upgrading to 2.1.2 I can’t checkout without the error

The First Name field is required.
The Last Name field is required.

Even if they are filled (I checked the CartThrob Debugging Profiler Data) and I’ve emptied the ‘required’ parameter in the exp:cartthrob:save_customer_info_form.

To be sure I’ve brought the template back to just

{exp:cartthrob:checkout_form }
<input  type="submit" value="checkout" />
{/exp:cartthrob:checkout_form} 

But that didn’t help either.

I also get the following php errors:

A PHP Error was encountered
Severity: Notice
Message: Use of undefined constant URL_THIRD_THEMES - assumed ‘URL_THIRD_THEMES’
Filename: libraries/Cartthrob_payments.php
Line Number: 667
A PHP Error was encountered
Severity: Notice
Message: Use of undefined constant URL_THIRD_THEMES - assumed ‘URL_THIRD_THEMES’
Filename: libraries/Cartthrob_payments.php
Line Number: 667
A PHP Error was encountered
Severity: Notice
Message: Use of undefined constant URL_THIRD_THEMES - assumed ‘URL_THIRD_THEMES’
Filename: libraries/Cartthrob_payments.php
Line Number: 667
A PHP Error was encountered
Severity: Notice
Message: Use of undefined constant URL_THIRD_THEMES - assumed ‘URL_THIRD_THEMES’
Filename: libraries/Cartthrob_payments.php
Line Number: 667
A PHP Error was encountered
Severity: Notice
Message: Use of undefined constant URL_THIRD_THEMES - assumed ‘URL_THIRD_THEMES’
Filename: libraries/Cartthrob_payments.php
Line Number: 667
A PHP Error was encountered
Severity: Notice
Message: Use of undefined constant URL_THIRD_THEMES - assumed ‘URL_THIRD_THEMES’
Filename: english/cartthrob_realex_remote_lang.php
Line Number: 6

Php version is 5.3.8
Thanks for your help!

Profile
 
 
Posted: 03 May 2012 10:13 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  10218
Joined  2008-09-29

Don’t forget to add the actual fields (gateway_fields) if you’re doing a basic test.

{exp:cartthrob:checkout_form }
{gateway_fields}
<input type=“submit” value=“checkout” />
{/exp:cartthrob:checkout_form}

Also, that error is a know error that’s been fixed for the next release. In the meantime, you can do the following to correct it yourself.

in Cartthrob_payments.php add the following in the __construct function

include_once PATH_THIRD.'cartthrob/config.php'
 Signature 

We’re moving away from the forums, though not entirely and not immediately. Lack of support lately is coincidental to that. Unfortunately we’ve had a bad month with it, but we do not forsee that we will have any continued problems with support through our portal going forward, or on forums while we’re still transitioning. We will send out a newsletter and make additional notifications through twitter and other outlets over the coming weeks.

Moving forward; things returning to normal.

Profile
 
 
Posted: 04 May 2012 01:37 AM   [ Ignore ]   [ # 2 ]
Is a Really Great Dancer
RankRank
Total Posts:  72
Joined  2011-07-18

Ah, it’s asking for the gateway fields! confused

I’m using the super simple Ideal plugin which had no need for those fields. As far as I can tell these are stored in the php field itself.

While upgrading I lost the Ideal plugin, restoring it solved the issue, thanks!

Profile