Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Greetings,

Great module, works perfectly. I would like to be able to pass the text attribute (created with Text Attributes Mod v1.2) to PayPal and confirm email. In testing, it does not record in the Admin orders or email. Will I need to add the following code (mod in check_process.php from aboce contrib) to both the paypal_ipn.php in includes/modules as well as /languages? If anyone has these 2 contribs, would appreciate the knowledge share.

 

// denuz text attr

 

$attr_q = tep_db_query("select * from customers_basket_text_attributes where session_id = '$osCsid' and products_id = " . tep_get_prid($order->products[$i]['id']));

while ($attr = tep_db_fetch_array($attr_q)) {

tep_db_query("insert into orders_text_attributes values ($insert_id, " . tep_get_prid($order->products[$i]['id']) . ", " . $attr['products_text_attributes_id'] . ", '" . $attr['products_text_attributes_text'] . "')");

}

tep_db_query("delete from customers_basket_text_attributes where products_id = " . tep_get_prid($order->products[$i]['id']) . " and session_id = '" . $osCsid . "'");

 

// eof denuz text attr

 

 

 

Thanks in advance..

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...