OSCOMMERCE FAQ



Why am I getting Fatal error: Unknown function: curl_init()?
This error is a result of cURL not being enabled in PHP. If you are using a Windows server make sure uncomment the cURL extension in the php.ini file which is located in the following directory:
/usr/local/php5/lib/php.ini

Edit php.ini, look for the following code, and remove the semicolon at the beginning:
CODE
;extension=php_curl.dll



I keep getting "There has been an error processing your credit card".
This error can be caused by two things.
  1. Port 1129 may be blocked. Contact your web host and make sure port 1129 is not blocked.
  2. The PEM file is missing. Make sure you uploaded the PEM file into the following directory:
    catalog/includes/modules/payment/linkpoint_api

    You can download the PEM file from LinkPoint Central.
  3. After you login, click on Support at the top, then click on Download Center.
  4. Click on Download next to PEM and make sure to save the file to the desktop.


I don't see LinkPoint as an option during checkout?
You need to log into the administration for Oscommerce, the following is an example URL address:
http://www.website.com/catalog/admin/modules.php

Click on Modules
Click on LinkPoint Connect and click on the edit button.
Make sure payment zone is set to "None."


Why am I getting cURL errors?
More than likely you are using an old module for Oscommerce if you are receiving a cURL error. Log into the administration of Oscommerce and click on modules. You should see "LinkPoint API" as one of the options. If you don't, we suggest you download and install the "LinkPoint API" module from this site.


Why do my customers get a blank page at the end of the checkout process?
When using the Connect module and the customer has their Internet Explorer security settings set to the highest setting they will recieve a blank page at the end of the checkout process. The 2 options available are to either advise customers not to set their security settings to the highest level OR you might want to use the API module for Oscommerce instead.


Can I mark an order shipped from Oscommerce?
No. When using the preauth option in the LinkPoint module you must log into LinkPoint Central to change the order status to shipped and collect the funds.


I am not getting an email from Oscommerce?
Make sure you log into the adminstration for Oscommerce and enter your email address.
  1. Access the administration for OsCommerce, the following is an example URL address:
    http://www.website.com/catalog/admin/modules.php
  2. Click on Configuration
  3. Click on "Send extra Order emails to."


  4. Click on the Edit button and enter your email address


Why didn't my customer receive an email confirmation for their order?
The customer should receive an email as soon as the order is placed. If not, you can try changing the order status in Oscommerce to "processing."


Why don't my customer's receive an email if they are using AOL?
UNIX SERVER

You will need to make a change to the email.php file which is located in the following directory:
catalog/includes/classes

Do a search for "EMAIL_TRANSPORT" and look for the following code:
CODE
if (EMAIL_TRANSPORT == 'smtp') {
return mail($to_addr, $subject, $this->output, 'From: ' . $from . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this->lf, $xtra_headers));
} else {
return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers));


You will need to add , '-f' . $from_addr to the last line of the code:
CODE
} else {
return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers), '-f' . $from_addr);

WINDOWS SERVER

If your web site is hosted on a windows server you will need to make the following change instead.

Do a search for "EMAIL_TRANSPORT" and look for the following code:
CODE
if (EMAIL_TRANSPORT == 'smtp') {
return mail($to_addr, $subject, $this->output, 'From: ' . $from . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this->lf, $xtra_headers));
} else {
return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers));


Add the following line of code right before it (don't forget to replace you@yourwebsite.com with your actual email address):
CODE
ini_set("sendmail_from", "you@yourwebsite.com");


It should look like this:
CODE
ini_set("sendmail_from", "you@yourwebsite.com");
if (EMAIL_TRANSPORT == 'smtp') {
return mail($to_addr, $subject, $this->output, 'From: ' . $from . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this->lf, $xtra_headers));
} else {
return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers));