Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mintpeel

Archived
  • Posts

    154
  • Joined

  • Last visited

Profile Information

mintpeel's Achievements

  1. this error seems proliffic and here is the fix if anyway comes across it A brilliant contribution! http://www.oscommerce.com/community/contri...rch,held+orders
  2. Hi, i really need some urgetn help! i have a problem with my paypal ipn module after installing wolfen featured sets v 1.0 basically the order processes fine and paypal notify me of the order, the order is also recorded in the shop e.g. the stock ammount is reduced by 1, the item is added to the best sellers list etc. BUT the order does not showup in the admin/orders or in the customers order history. I have checked my database and the are not recorded in the orders there either. however orders made using different payment methods such as cheque are recorded in all areas fine. Im sure this must just be a conflict somewhere but i dont know where to start, any adivce woul be greatly appreciated :D
  3. Hey 241 Finally got the featured sets working thanks for your hard work developing this mod!!! :D :D :D
  4. mintpeel

    Paypal IPN

    Thanks satish! I think I will add this information to the contrib listing for other people in the future. :D
  5. mintpeel

    Paypal IPN

    I have installed the oscommerce pay pal ipn but i have two issues, do i need to turn ipn in my paypal settings(at the paypal site). I read elsewhere that you dont need to but that sounds strange so i need confirmation. And what is the url for recieving ipn posts "the URL at which you will receive the payment notifications below. This URL should be a URL which you own and at which you receive HTML posts." Please could someone who knows ( i bet loads of yu use paypalipn!) help me out on this one, i cannot find the answer. Thankyou :(
  6. Im wanting to add paypal as a payment option but there are so many contributions and threads im confused which one to use. I want paypal to pass the customer back to the shop once they have purchased the item, showing an order confirmation page on my site, and for it to pass the order details back to my shop. And send all the appropriate emails Will the paypal module that comes with milestone2.2 do this or do i need another contrib. thanks in advance :D
  7. Cheers, really getting into php now, thanks for the info!
  8. Whats is \n? So why do you need other commands will strip_tags not just strip all the html tags? Dont worry if you dont have time to answer i could probably look it up on the net. Thanks for your help!!! :D
  9. Sorry for the delay in replying the board is on go slow. No i think that the strip_tags was doing its job but then the code underneath it shown here $text = nl2br($text); $text = str_replace("<br />","<br>",$text); was adding the <br> tags which were casuing the error, since my goal is to post clean text with no html tags. I didnt want to use the charspecialhtml function becuase this would add lots of symbols and text so my product desciprtion would end up looking like this: This?$CD*(lt is really lt$%good (exaagerated a bit) You see? This is very interesting btw, this is my first discussion of php functions where i know what they are doing, its facinating! Really love getting into coding
  10. Ok here is what i understnad from reading the manual htmlspecialchars will convert html tags into text such as &gt &lt where as the strip_tags function would leave me with just the clean text between the html tags. I didnt include this before, so dont shout cuz it maybe a key bit of inromation my post vars output is thus <form name="checkout_confirmation" action="https://www2.2checkout.com/2co/buyer/purchase" method="post"><input type="hidden" name="c_prod_0" value=",1"><input type="hidden" name="c_name_0" value="Stoat - Future Come And Get Me"><input type="hidden" name="c_description_0" value="<br> About the Cd<br> at the moment the known error is the html tags, i noticed that it had a <br> tag and the function $text = nl2br($text); $text = str_replace("<br />","<br>",$text); adds a <br> tag (i read from the manual) So I am thinking that if i delete these two strings and keep the strip_tags function the product descritpion will be clean text as opposed to the htmlspecialchars which will give me some code such as &gt in my prod desciption Am I right???
  11. Cheers, i have no idea what it means, i do not uderstand how to use code, but i will attempt to figure it out :blink:
  12. Hi, I am wanting to populate my 2co product database when products have been ordered, however my product description contains html tags, so it appears that when the details are posted to 2co the tags cause an error and the rest of the producr_data is voided, or is there some other error in the code below that is preventing the data being sent succesfully? is there a bit of code i can include to strip the html tags before posting the data over to 2co. Is this a matter of adding a command to the payment module php or is it more complicated requiring changes to functions and generals etc. Cheers hold on is the strip_tags($text) shown below used to do this // fill 2Checkout V2 details with osc order info // these fields automate product creation on 2checkout's site. comment out all except c_prod if you do not want this feature for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) { $process_button_string .= tep_draw_hidden_field('c_prod_' . $i, $order->products[$i]['model'] . ',' . $order->products[$i]['qty']); $process_button_string .= tep_draw_hidden_field('c_name_' . $i, $order->products[$i]['name']); // format product description (from Short Description contrib) $product_id = $order->products[$i]['id']; $product_query = tep_db_query("select products_description from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . $product_id . "' and language_id = '" . $languages_id . "'"); $product_description = tep_db_fetch_array($product_query); $text = $product_description['products_description']; $text = strip_tags($text); $text = nl2br($text); $text = str_replace("<br />","<br>",$text); $process_button_string .= tep_draw_hidden_field('c_description_' . $i, $text); $process_button_string .= tep_draw_hidden_field('c_price_' . $i, $order->products[$i]['final_price']);
  13. Basically in the faq index the main categories are showing in the subcategories box. For the time being i have, fixed this issue by renaming the sub-categories box as "options" and deleted the category heading text, (which would normally appear above the first line) as you can see now. It is not as user friendly as the feature of having cateogries and sub-categories, but it does the job, until there is a fix. Thanks for taking the time to have look :D
  14. I have fiddled and fiddled and i cannot fix the issue of categories appearing in the subcategories box in the faqdesk index page. Im geussing this is not an easy fix as you, steve, havent replied yet? Perhpas if i reinstalled it this would work, or this an issue with the contrib on the whole? Cheers
  15. Mods please delete the above post it is a bit crazy
×
×
  • Create New...