Jump to content

arm1tage

Members
  • Content count

    39
  • Joined

  • Last visited

1 Follower

Profile Information

  1. arm1tage

    2Checkout V2 WORKING with OSC 2.2MS2!

    If you disable force cookies, 2co will not pass back the order to osc when the customer has cookies disabled. So you will get a payment, but you won't know what it's for!
  2. arm1tage

    2Checkout V2 WORKING with OSC 2.2MS2!

    IlColosso: if you comment out the 3 lines then the product info to enabled the itemized cart will not be passed to 2CO. Only the product name is passed, which is required by 2CO's new rules. You can comment out by adding // to the beginning of each line, or just delete it. k2chris1983: if you have a shared-SSL site you will have to use the non-SSL instructions effectively dsiabling yor SSL, otherwise force cookie use will not work. try it and let me know how it goes.
  3. arm1tage

    2Checkout V2 WORKING with OSC 2.2MS2!

    New pm2checkout v2.1 available. http://www.oscommerce.com/community/contributions,904 This release adds most of the needed functionality like product description and shipping cost. Some image files have been added to look nice like Paypal_IPN so make sure to update all your files. The install.txt file says c_description is blank, but that is wrong so please ignore known issue #2! Changes: -shipping cost is passed to 2CO -changed 'price' variable to 'final_price' -c_description is passed properly, minues HTML tags. Length under 255 chars goes into short description, 255+ goes into long description. -added credit card logos on checkout a'la Paypal IPN -added instructions on enabling/disabling itemized cart KNOWN ISSUES: 1. 'Force Cookie Use' required. Sites using a shared-SSL cert will not work. Most problems with the contrib are due to cookies not being set up properly. I do not know of any workaround for this. 2. Although the c_prod and related parameters enable auto product creation on 2CO, currently c_description fields are blank. I plan to add this in the future. [edit: WRONG! It's already added!] 3. Tangible goods must be set to YES or NO. Mixed tangible/intangible carts are not supported, although integration with a downloadable items contrib is certainly possible. 4. Only products already in 2CO's database will show up in the itemized list on 2CO's "Order Detail" page. By default, products are auto-created in 2CO's dc when purchased in a LIVE transaction. You want either ALL or NONE of your products to be in the db. Otherwise if the customer buys 2 items only 1 may be displayed. Details below.
  4. arm1tage

    2Checkout V2 WORKING with OSC 2.2MS2!

    Only products already in 2CO's database will show up in the itemized list on 2CO's "Order Detail" page. By default, products are auto-created in 2CO's dc when purchased in a LIVE transaction. You want either ALL or NONE of your products to be in the db. Otherwise if the customer buys 2 items only 1 may be displayed. To ENABLE an itemized cart: Use Easy Populate to upload your products to 2CO in .CSV format. (http://www.oscommerce.com/community/contributions,500) Then login to 2CO, and click Set Up Products->Upload New Products. Follow the instructions and convert the product list to 2CO's format. To DISABLE itemized cart: in /catalog/includes/modules/payment/pm2checkout.php: comment out lines with c_name, c_price, and c_description parameters.
  5. arm1tage

    2Checkout V2 Instructions

    Great work Mark! Easy Populate is the best way to upload all your inventory to 2CO without buying it. Do you mind if I add your instructions to the next update? One other thing, if you want to import the actual product description, here's is the code for that! This strips out HTML and only leaves line breaks. Descriptions under 255 chars go into the short desciprtion box. Anything longer goes into the long description. replace $process_button_string .= tep_draw_hidden_field('c_description_' . $i, $order->products[$i]['name']); // not sure how to input the description here with // format product description $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);
  6. arm1tage

    2Checkout V2 WORKING with OSC 2.2MS2!

    As long as the items are in 2CO's db you will see the itemized list, regardless of test or live transaction.
  7. arm1tage

    2Checkout V2 WORKING with OSC 2.2MS2!

    Mark, You are not alone, Farrukh and I had the same problem today. Then it mysteriously went away. It's been extremely frustrating to troubleshoot. However, some good did come of it. I've learned the c_prod and associated variables have to be passed once in a LIVE transaction so they are entered into 2CO's database, before they show up in the cart details. So for those of you that do not see the itemized list, it is because you have not had a live sale of that item yet. One way around this is to upload your inventory in a .CSV file. You can find out how to do this by logging into 2CO->Set Up Products->Upload New Products If it is inconvenient to add the entire inventory, then it's best to comment out the c_name, c_price, and c_description lines so 2CO does not try auto product creation. This will disable itemized listing, but that is preferable to having only some items listed and others not! On a side note, if you want to add the shipping cost line to your checkout, add this line: $process_button_string .= tep_draw_hidden_field('sh_cost', $shipping['cost']); right above $process_button_string .= tep_draw_hidden_field('x_login', MODULE_PAYMENT_2CHECKOUT_LOGIN) .
  8. arm1tage

    PayPal IPN problem with bogus orders

    When you get a Paypal order you should look on the right where the "edit" "delete" "invoice" "packing slip" buttons are. A successful order will say "Status: Completed" if you have received the payment. Otherwise the status will be blank.
  9. arm1tage

    2Checkout V2 WORKING with OSC 2.2MS2!

    If the customer has cookies disabled they will not be able to login or purchase anything. Since almost 100% of e-commerce sites use cookies this is not a big deal and adds security vs SID. You can bet if someone has a Paypal account they will have cookies enabled.
  10. arm1tage

    2Checkout V2 WORKING with OSC 2.2MS2!

    This is a problem with 2CO today and not anything wrong with the contrib.
  11. arm1tage

    2Checkout V2 WORKING with OSC 2.2MS2!

    I am getting the same thing today. Earlier if I bought 3 items only 2 were listed. Now the itemized list is gone totally. I have heard that 2CO is updating and changing some things so expect some weirdness.
  12. arm1tage

    2checkout v2 on OSC 2.2

    try changing define('HTTP_COOKIE_DOMAIN', 'www.deguate.com'); define('HTTPS_COOKIE_DOMAIN', 'www.deguate.com'); to define('HTTP_COOKIE_DOMAIN', '.deguate.com'); define('HTTPS_COOKIE_DOMAIN', '.deguate.com'); since your URL does not have the www prefix.
  13. arm1tage

    2Checkout V2 WORKING with OSC 2.2MS2!

    With a working contrib, you will see the Order Detail page with a line by line listing of items in your cart. HOWEVER, when you get the confirmation email from 2CO, there will be no line by line listing, ONLY the unique cart number.
  14. arm1tage

    2Checkout V2 WORKING with OSC 2.2MS2!

    freee: yes shipping is calculated by osc and has nothing to do with 2checkout. their new requirement is that each order specify the details of each item sold using the c_prod parameter. if you do not see the product details in your cart and you have updated to the latest version (v2.0c), then i don't know what the problem is. you can check out my LIVE site at http://www.motorbags.com to see the contrib in action. get up to the Order Details screen and see the line by line product list without entering any cc info.
  15. arm1tage

    2checkout v2 on OSC 2.2

    since you have an SSL store you need to define('HTTPS_COOKIE_PATH', '/');
×