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.
   
 
Checkout Issues - PHP errors
Posted: 09 March 2011 04:19 AM   [ Ignore ]
Is a Really Great Dancer
Avatar
RankRank
Total Posts:  72
Joined  2010-03-05

I’m getting a bunch of PHP errors when a users decides to complete their purchase.

Checkout code looks like this:

{exp:cartthrob:checkout_form 
    id
="checkout_form"
    
failed_redirect="cart/failed"
    
declined_redirect="cart/declined"
    
authorized_redirect="cart/authorized"}
    
                                
<input type="text" name="first_name" value="{first_name}" />
                                <
input type="text" name="last_name" value="{last_name}" />
                                <
input type="text" name="address" value="{address}" />
                                <
input type="text" name="address2" value="{address2}" />
                                <
input type="text" name="city" value="{city}" />
                                <
input type="text" name="state" value="{state}" />
                                <
input type="text" name="zip" value="{zip}" />
                                <
input type="text" name="phone" value="{phone}" />
                                <
input type="text" name="email_address" value="{email_address}" />

    <
div class="full">
        <
label for="credit_card_number">Credit Card Number</label>
        <
input type="text" name="credit_card_number" value="" />
    </
div>
    
    <
div class="half">
    <
label for="expiration_month">Expiration Year</label>
    <
select name="expiration_month"
          <
option selected>Choose Month</option
          <
option value="01">January</option
          <
option value="02">February</option
          <
option value="03">March</option
          <
option value="04">April</option
          <
option value="05">May</option
          <
option value="06">June</option
          <
option value="07">July</option
          <
option value="08">August</option
          <
option value="09">September</option
          <
option value="10">October</option
          <
option value="11">November</option
          <
option value="12">December</option
        </
select>
    </
div>
    
    <
div class="half">
        <
label for="expiration_year">Expiration Year</label>
        
{exp:cartthrob:year_select name="expiration_year" selected="{expiration_year} years="6"}
    </div>    
    
    <input type="
submit" value="Compleate My Order">
    {/exp:cartthrob:checkout_form} 

The orders is saved as a Failed order in the Orders Channel - but none of the billing information is saved - and the payment fails because I’m developing localy without an SSL cert.

FAILED: Could not connect to the specified payment gateway SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

[ Edited: 11 March 2011 08:00 PM by Rob Sanchez ]
 Signature 

philipzaengle.com

Profile
 
 
Posted: 09 March 2011 04:20 AM   [ Ignore ]   [ # 1 ]
Is a Really Great Dancer
Avatar
RankRank
Total Posts:  72
Joined  2010-03-05

Errors:

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 680

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 680

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 681

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 683

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 687

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 687

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 687

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 687

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 688

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 688

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 688

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 688

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 689

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 690

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 691

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 692

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 693

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 694

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 695

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 696

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 697

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: customer_info

Filename: cartthrob/mod.cartthrob.php

Line Number: 698

A PHP Error was encountered

Severity: Warning

Message: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /Sites/secret.dev/httpdocs/secret/codeigniter/system/core/Exceptions.php:170)

Filename: libraries/Cartthrob_session.php

Line Number: 461

A PHP Error was encountered

Severity: Warning

Message: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /Sites/secret.dev/httpdocs/secret/codeigniter/system/core/Exceptions.php:170)

Filename: libraries/Cartthrob_session.php

Line Number: 461

A PHP Error was encountered

Severity: Warning

Message: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /Sites/secret.dev/httpdocs/secret/codeigniter/system/core/Exceptions.php:170)

Filename: libraries/Cartthrob_session.php

Line Number: 461

A PHP Error was encountered

Severity: Warning

Message: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /Sites/secret.dev/httpdocs/secret/codeigniter/system/core/Exceptions.php:170)

Filename: libraries/Cartthrob_session.php

Line Number: 461

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /Sites/secret.dev/httpdocs/secret/codeigniter/system/core/Exceptions.php:170)

Filename: libraries/Functions.php

Line Number: 749

A PHP Error was encountered

Severity: Warning

Message: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /Sites/secret.dev/httpdocs/secret/codeigniter/system/core/Exceptions.php:170)

Filename: libraries/Cartthrob_session.php

Line Number: 461

A PHP Error was encountered

Severity: Warning

Message: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /Sites/secret.dev/httpdocs/secret/codeigniter/system/core/Exceptions.php:170)

Filename: libraries/Cartthrob_session.php

Line Number: 461

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /Sites/secret.dev/httpdocs/secret/codeigniter/system/core/Exceptions.php:170)

Filename: libraries/Functions.php

Line Number: 387

 Signature 

philipzaengle.com

Profile
 
 
Posted: 09 March 2011 10:25 PM   [ Ignore ]   [ # 2 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  10369
Joined  2008-09-29

I fixed that in the latest release. Since that release ALSO includes the sessions thing that’s driving you crazy, it might not help much. But…. it HAS been fixed.

 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: 09 March 2011 10:28 PM   [ Ignore ]   [ # 3 ]
Is a Really Great Dancer
Avatar
RankRank
Total Posts:  72
Joined  2010-03-05

Thanks Chris - Good luck on the sessions class rewrite - I’ve been really impressed with the lack of bugs in ct2, not nearly as buggy as other betas I’ve been a part of.

 Signature 

philipzaengle.com

Profile
 
 
Posted: 11 March 2011 03:44 PM   [ Ignore ]   [ # 4 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  10369
Joined  2008-09-29

Good to hear man. Now if we could just get to the point where people say “DAMN your docs are GOOOOOD”. But that’ll never happen.

 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