Column 'DetailOrderID' cannot be null -can you please help me find the issue?
My changes have broken the correct submitting of information. Upon submission I get this "Column 'DetailOrderID' cannot be null".
I used eCart 6 to customize a PowerStore. My client no longer wanted their customers to need login credentials or access to a profile, orders, or the view download page. I used the eCart checkout wizard to set up the ajax checkout experience (one page) as well as removing the customer's need to access anything through a login. (FYI: Customer receives a link to the product in an email. They may be using the product themselves, or they may have purchased it for someone else. Once that link is clicked, THEN the user will need to register to get access to the online product.)
Don't know if this is related at all, but I'm also noticing 2 different submits in the code. Payment_submit and CheckoutWizard_submit.
Is one incorrect?
Here's one related to the database:
if ((isset($_POST["Payment_submit"]) || isset($_POST["Payment_submit_x"]))) {
Here's the other:
<input class="formButton" name="CheckoutWizard_submit" type="submit" id="CheckoutWizard_submit" value="Continue" onClick="clearAllServerErrors('CheckoutWizard_NewFromBlank_Default')" tabindex="12">
Additionally, the AJAX checkout experience on a PC is acting funky by submitting the first part of the form prematurely - before any "Continue" button was pressed. Perhaps things are conflicting - needs debugging.