Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

paypal and checkout_process.php


Recommended Posts

Posted

I am having problems after the payment is made througth paypal...when i return to the website i get a page with this on it...

 

Parse error: parse error, unexpected T_STRING, expecting T_VARIABLE or '$' in

/home/opry2005/public_html/catalog/checkout_process.php on Line 226

 

Any clues? Do I need paypal IPN activated?

 

Also, is there anyway to test my downloads without making an actual purchase.

 

Thanks in advance.

 

Fred Earls

www.palmlakeopry.com

Posted

This is an update in hopes of getting some help. I have an error on about line 226, evidently. Here is some code beginning on line 218.

 

($attributes_values['products_attributes_filename'])) {

$sql_data_array = array('orders_id' => $insert_id,

'orders_products_id' => $order_products_id,

'orders_products_filename' => $attributes_values['products_attributes_filename'],

'download_maxdays' => $attributes_values['products_attributes_maxdays'],

'download_count' => $attributes_values['products_attributes_maxcount']);

tep_db_perform(TABLE_ORDERS_PRODUCTS_DOWNLOAD, $sql_data_array);

}

(LINE 226) $products_ordered_attributes .= "\n\t" . $attributes_values['products_options_name'] . ' ' . $attributes_values['products_options_values_name'];

}

}

//------insert customer choosen option eof ----

$total_weight += ($order->products[$i]['qty'] * $order->products[$i]['weight']);

$total_tax += tep_calculate_tax($total_products_price, $products_tax) * $order->products[$i]['qty'];

$total_cost += $total_products_price;

 

Eror:parse error, unexpected T_STRING, expecting T_VARIABLE or '$' in /home/opry2205/public_html/catalog/checkout_process.php on line 226

 

 

Thanks in advance.

 

Fred Earls

www.palmlakeopry.com

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...