Jump to content

dani

Members
  • Content count

    114
  • Joined

  • Last visited

Everything posted by dani

  1. dani

    PayPal_Shopping_Cart_IPN

    Yes, I am using v2.2 (sorry). Yesterday was such a blur that I couldn't remember if I made the changes from 2.1 to 2.2, but now that I think about it, you are correct. Thanks!!
  2. dani

    PayPal_Shopping_Cart_IPN

    Thanks! I can't believe I've been fussing with this for HOURS! I see now what you mean, and that appears to be the problem. I wasn't thinking about the order number being a session variable, so I thought as long I was acting as a "new" customer, the order would be new as well. Here are the chages I made to merge the paypal_shopping_cart_ipn and option type feature contributions if anyone else needs it: In checkout_update around line 90 change $products_ordered_attributes .= "\n\t" . $attributes_values['products_options_name'] . ' ' . $attributes_values['products_options_values_name']; to $products_ordered_attributes .= "\n\t" . $attributes_values['products_options_name'] . ' ' . tep_decode_specialchars($order->products[$i]['attributes'][$j]['value']); In checkout_progress around line 144 change 'products_options_values' => $attributes_values['products_options_values_name'], 'options_values_price' => $attributes_values['options_values_price'], to 'products_options_values' => $order->products[$i]['attributes'][$j]['value'], 'options_values_price' => $attributes_values['options_values_price'], This works for me for paypal_shopping_cart_ipn v2.1 and option type feature v1.6. Thanks!!
  3. dani

    PayPal_Shopping_Cart_IPN

    Gregory, Thanks for the help! I did go back and realize that I had uploaded a few files in the wrong directory, so the path error is now gone. The problem I am having with the merge between your paypal ipn and the option type code is that when a new order is placed it replaces the last order. The user's data from the option type contribution is there, but only one order will store. So, I've tried placing about 5 test orders, but the only one that shows up in the database is the last order placed. I must have made a merge error. From what I am describing, do you have a guess as to what I should look for? Thanks!!!
  4. dani

    PayPal_Shopping_Cart_IPN

    Disregard last message. Had duplicate files loaded in wrong directory. :wacko: Am still having problem merging paypal ipn and option type feature, though.
  5. dani

    PayPal_Shopping_Cart_IPN

    Well, I am having all kinds of problems now. When I go to the payment module area in Admin, I am receiving the following error: Warning: main(/home/name/public_html/catalog/includes/languages/english/modules/payment/admin_orders.php): failed to open stream: No such file or directory in /home/name/public_html/catalog/admin/modules.php on line 128 The correct path shoud be /home/name/public_html/catalog/includes/languages/english/modules/payment/paypal/admin_orders.php...I can't figure out how the path got off. The error prevents me from installing or removing any payment modules. I can't figure out why this is happening. I have uploaded a second catalog that is a snapshot of my code from 7 days ago, but the error is still there. That leads me to believe that the problem might not be in the code, but perhaps the database?? Where in the database are the modules stored? Perhaps if I uninstall the paypal_shopping_cart_ipn from there until I figure out what is going on??
  6. dani

    PayPal_Shopping_Cart_IPN

    Looks like I spoke too soon. Although the data from Option Type Feature is now being entered into the database, now each new order is submitted in the database over the last order! If I use the old Paypal IPN files (checkout_progress and checkout_update) the orders are submitted correctly, but the data from Option Type Feature isn't there. So, back to my original question...has anyone successfully merged these two contributions, as it looks like my attempt failed. HELP!!
  7. dani

    PayPal_Shopping_Cart_IPN

    Got the issue of PayPal_Shopping_Cart_IPN and Option Type Feature contributions worked out. I didn't realize that checkout_process was kind of broken into two files for paypal (checkout_process and checkout_update). Once I figured that out, I was able to add the code from the Option Type Feature's checkout_process. There are only about two lines of code to change, so it is really easy. :D
  8. dani

    Option Type Feature

    Thanks! It is working now. I guess perhaps my browser wasn't refreshing earlier. :D
  9. I have installed the option type feature contribution, and it works great. My only question is...how do you change the text field length? The default is 32, which is too long for my site. I changed the products_options_length default from 32 to 10 in the products_options table, but it didn't make a difference. Thanks!!
  10. dani

    PayPal_Shopping_Cart_IPN

    I'm sorry if this has already been covered, but I'm wondering how to use both the paypal ipn contribution and the option type feature contribution. When using the paypal contribution, the data entered by the user into the new product attribute fields does not write to the database. It looks like the cause is the difference between the checkout_progress.php file in the two contributions. My problem is that since the files are soooo different, I don't know where to begin to try to merge them. Is anyone else using both contributions? If so, can you point me in the right direction? THANKS!
  11. I am having some trouble with my option type installation and could desperately use some guidance. When data in entered in text fields, the data appears in the shopping cart and on the checkout confirmation page. However, when I view the order via Admin, the word "TEXT" appears rather than the data. I have been reading through the forum and have seen the warning about TABLE_PRODUCTS_OPTIONS_VALUES. To confirm, my products_options_values table lists: products_options_values_id = 0 and products_options_values_name = TEXT. I have also confirmed that my config file lists: define('PRODUCTS_OPTIONS_VALUE_TEXT_ID', 0); What else do I need to double check/confirm? When adding a text attribute, I just want to confirm that all I have to do is assign the option name and option type (Text from the dropdown). I don't have to do anything with the "Option Values" section, do I (unless it is a radio button)? I have noticed that in my products_options table, the products_options_type is not 0 for my text options. Is that the error? When I tried manually changing those to 0, I received a dropdown box with the word TEXT. As you can see, I'm totally lost now. Any help would be appreciated!!
  12. dani

    Option_Type_Feature_v1.6

    I am curious if you ever figured out your problem, as I am having a similar problem. On my checkout confirmation page, all the information entered by the user in a text field is present. However, when I view the order via Admin, all the entries simply list the word TEXT. I too have verified that my database settings are correct and don't know where to go from here. Thanks...
  13. No, unfortunately that didn't make a difference.
  14. Hi, I've tried using the Link By Category Name or Product Model contribution (http://www.oscommerce.com/community/contributions,1181/), but it doesn't seem to be working for me. My category links are printing as: http://www.mydomain.com/catalog/<? echo tep_href_link(FILENAME_LINKER, 'category_name=Time%20Capsule') ?> Have I missed something with the contribution? Or is there another way to link directly to a category or product? Thanks!!
  15. dani

    Errors with PayPal IPN v2.1

    Thanks so much for the quick reply and for creating such a great contribution!!!!
  16. Hi, I've just installed the PayPal IPN v2.1 and am having some trouble. Here are the errorrs: Warning: main(/public_html/catalog/includes/languages/english/modules/payment/paypalorig.php): failed to open stream: No such file or directory in /public_html/catalog/admin/modules.php on line 128 Warning: main(): Failed opening '/public_html/catalog/includes/languages/english/modules/payment/paypalorig.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /public_html/catalog/admin/modules.php on line 128 Fatal error: Cannot redeclare class paypal in /public_html/catalog/includes/modules/payment/paypalorig.php on line 13 I am not sure what "paypalorig.php" is. Did I miss a file to install? Anyway, I get these errors when I go to admin/modules/payment to try to install the paypal module (step 5). Thanks!
×