Jump to content

GriffithLea

Members
  • Content count

    11
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Griff Miller
  1. I am using version 1.0.4 of this contribution: http://www.oscommerce.com/community/contributions,3647 . I had been using 0.8.2 for a long time, and recently upgraded. After the upgrade, it works, but the emails I get when a customer orders have the quantities set to 1 . The price is correct, but the quantity is always 1 . I found this piece of code in includes/modules/payment/paypal_wpp.php that could be the source of the trouble: 1159 if ($qty == (string)(float)$qty) { 1160 $price = $price * $qty; 1161 $qty = '1'; 1162 } So it takes what could be a qty != 1 and forces it to 1. Why throw away this piece of information? Is this why my emails are messed up?
  2. GriffithLea

    Bundled products

    This is a bit of a late reply, I know, but I think I had a similar problem. I could create a bundle, but when I went back in to edit the bundle, the items that make up the bundle were gone in the "Set Bundles" section. After a bit of looking, I realized that I had missed adding p.products_bundle to the SQL query in /catalog/admin/categories.php: $product_query = tep_db_query("select pd.products_name, pd.products_description, pd.products_url, p.products_id, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, date_format(p.products_date_available, '%Y-%m-%d') as products_date_available, p.products_status, p.products_tax_class_id, p.manufacturers_id , p.products_bundle from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'");
  3. GriffithLea

    Bundled products

    OK, that was pretty painless. Let me know if I missed anything.
  4. GriffithLea

    Bundled products

    Sorry about the lack of instructions, but what I based it off of had no instructions, either, just edited files. Well, I guess that's only partially true - there were still some of the older instructions embedded in the readme.txt . Since some were missing, I didn't bother with the ones that were there when I installed it on my own site - I just used diff3 against my files, the stock osc files, and the edited Bundled Products files to do my merges. Anyway, my main purpose was to correct some mistakes in the previous rollup. Let me see if I can find the time to restore the older instructions to the readme.txt, and add the newer/missing ones.
  5. GriffithLea

    Bundled products

    Hello, everyone. I made an attempt to handle the overselling problem, and uploaded it to http://www.oscommerce.com/community/contributions,2015 . I also tried to make sure to roll up all the changes so far. Please let me know if I've missed anything, and I will try to keep the package updated.
  6. GriffithLea

    PayPal WPP Direct Payments & Express Checkout Support

    http://forums.oscommerce.com/index.php?s=&...t&p=1011630 I still get this from time to time. 99% of my orders work fine, both through Direct Payment and Express Checkout. But every once in a while, I get an order that looks like Check/Money Order in oscommerce's orders page, and when I check with the customer, they claim to have paid via CC . I had two this past weekend, after a long spell without it occurring. Has anyone seen this, or have an idea what might be causing it? Presumably it's some hiccup between my site and Paypal, but it should not make the customer think that the payment has gone through when it actually has not.
  7. GriffithLea

    PayPal WPP Direct Payments & Express Checkout Support

    Glen, thanks for replying. I appreciate it. I realized last night (when I looked at my GA reports and saw that sales via Express Checkout were showing up as well as sales via Direct Payment) that I probably didn't need to worry about this after all, and your post lends strength to that notion. Obviously, I have that contrib (3756) installed already. I installed it a few days ago (I did it the hand-edit way since I had already installed the urchinTracker(); thingy when I set up my GA account). My confusion stems from also having Google Checkout. For GA with GC, the GA support does go into the payment module, I guess because when the customer GC's, he does not come back to checkout_success.php (making contrib 3756 have no effect). I assumed that with Express Checkout the same would be true, but I see now that this must not be the case. Again, thanks for the reply, and sorry for the confusion.
  8. GriffithLea

    PayPal WPP Direct Payments & Express Checkout Support

    Has anyone given any consideration to Google Analytics support in this payment module? I'm talking about sending the cart contents to Analytics upon successful checkout through Express so that the transactions can be tracked inside of GA, not the basic urchinTracker() stuff.
  9. GriffithLea

    PayPal WPP Direct Payments & Express Checkout Support

    I should clarify, this was seemingly in reference to Direct Payments, not Express Checkout.
  10. GriffithLea

    PayPal WPP Direct Payments & Express Checkout Support

    Let me rephrase that - will it work if I put it in the admin directory (I guess I could just try it) ? I'd like to be able to occasionally go back to it - my ISP is known to take perfectly good and working things and mess them up - if suddenly flames start shooting out of my site. That'd be the Paypal WPP+Express, Check/Money Order, and Google Checkout. What, that the response is empty, or that my user tried to checkout with Express and failed? By the way, I just discovered this in my error logs: [Wed Jan 24 15:45:32 2007] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/includes/modules/payment/paypal_wpp.php:514) in /home/xxxx/public_html/includes/functions/general.php on line 33 The timestamp corresponds to when I got the email. I see that some others got a similar error, but that was related to wrong cert, but that shouldn't be my problem given that I have had some successful orders (via Direct Payments). One person mentioned a sometimes-works, sometimes not sort of scenario, which I kind of feel like I'm in. Thanks for your help!
  11. GriffithLea

    PayPal WPP Direct Payments & Express Checkout Support

    I've got 0.8.2 installed. I use Website Payments Pro and Express Checkout. My problem is that I am not 100% sure that it is set up and working properly. I did just discover and run the wpp_diagnostics.php script (which I downloaded from the same page where 0.8.2 is located), and it reported complete success. So that's good. By the way, can that be put in the admin directory? Anyway, the reason I wonder about the integrity of my installation is that I've gotten a couple of orders that did a funny thing - they went through in osCommerce, but showed up as having the Check/Money Order payment method. In the first case, I called the customer to make sure that check payment was really meant, because it was my first order since going live with osCommerce (I had just converted over from Xcart) and I had just discovered and fixed the fact that I had the path to my certificate pointing to the old location where I had osC running before going live. She said no, she had paid with CC. I checked on Paypal, and I had received no payment. So I chalked it up to my misconfiguration on the cert, and was able to process her purchase manually in Virtual Terminal (she was understanding enough to give me her CC info). I then did a test order with my own CC just to be sure all was well, and it worked perfectly. In the second case, three days later, the exact same thing happened. Of course this time it couldn't be blamed on the cert thing. Again, I was able to process the order manually. Another test order worked fine, just a little while after the failed one. Other orders from real customers have gone through okay, as well as my test orders, so I don't get what is up with these two. I worry that I might be missing some orders. I did turn on the debug flag, and haven't gotten anything for a few days, until I got this email a few minutes ago: Subject: PayPal Error Dump In function: ec_step1() As I understand it, this is from when someone clicks on the Paypal checkout button, and something goes wrong. But the var_dump of the response is apparently empty. Has anyone else seen this? Should I worry? Thanks in advance for any suggestions.
×