Jump to content

josh1r

Members
  • Content count

    120
  • Joined

  • Last visited

Everything posted by josh1r

  1. Hi. I want to start by saying that I haven't (fortunately) been on this forum in years, as my old osc site has continued to work well over the years. I also haven't done any development on the site in ages, so I admit I don't fully remember how osc/php/etc.. works (I was self-taught years ago and remember some of it, but not all). In any case, sometime in the past week or so (I think, but it could have happened longer ago), something went wrong with manufacturers.php There is now an error on my site (blueluxe.com) on the left hand nav bar which says: Warning: Invalid argument supplied for foreach() in /home/blueluxe/public_html/includes/boxes/manufacturers.php on line 38 I haven't made any changes to my site in ages (literally months/years) so I don't think I did anything to cause this. I asked my webhost to check php/database versions/changes and they claim they didn't cause this. Any thoughts? Thanks so much!
  2. josh1r

    Error with manufacturers.php

    Ok thanks so much
  3. josh1r

    Error with manufacturers.php

    Quick follow-up; does that fact that I commented out the lines above tell us what exactly was causing the original problem?
  4. josh1r

    Error with manufacturers.php

    Commenting out : // $manufacturers = $cache->get_cache('manufacturers', 'ARRAY'); // $total_rows = count($manufacturers); // // if ($total_rows < 1) { $manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from " . TABLE_MANUFACTURERS . " order by manufacturers_name"); $total_rows = tep_db_num_rows($manufacturers_query); while ($man = tep_db_fetch_array($manufacturers_query)) { $manufacturers[] = $man; } // } pretty much did the trick! however, it shows manufacturers even if they have no products (not a big deal, i can live with that!) thanks so much!
  5. josh1r

    Error with manufacturers.php

    Thanks. Neither 1 nor 2 helped, so I'll turn it off for now. Is there a way (probably within my hosting so I'll ask them as well, to track/log what exactly might be causing that error? As for updating, I'm sure that's way more involved than I can handle right now. Again, I haven't done anything on the site in ages, don't remember a lot of what I taught myself, and don't want to pay someone right now to do the update. But I will look into it as I've never even heard of it before (that's how out of the loop of I am...!).
  6. josh1r

    Error with manufacturers.php

    Geez, sorry, yeah, that would help... line 38 is: foreach ($manufacturers as $man) { and i also attached the whole file manufacturers.php
  7. josh1r

    Support for Stripe.com?

    Has anyone gotten this (http://addons.oscommerce.com/info/9078) to work with a one page checkout (dynamo checkout)? I have not been able to. It starts processing but doesn't work, and the Stripe debug email has no specific error. Thanks.
  8. josh1r

    PayPal WPP Direct Payments & Express Checkout Support

    Hi. I've been using this module for several years w/o too many problems. Every now and then I get a PayPal Error Dump email which contains all of the relevant information (the error is usually relating to the customer not entering their information correctly). Recently however, I've gotten Error Dumps that simply show what I've pasted down below. On my checkout page (I use the onepage dynamo checkout) customers can either choose PayPal (which I assume is 'Express Checkout') or Credit Card (which I assume is 'Direct Payment'). Any thoughts would be greatly appreciated as to why I'm getting the shorter error emails when people try Express Checkout. Also, I've had several people checkout successfully in recent days using express checkout and it worked fine. So it's not a universal error. Also, the shorter emails only appear to be for Express Checkout, whereas the normal dump emails are all for 'Direct Payment' and start with this: In function: before_process() - Direct Payment Did first contact attempt return error? Yes This is how the shorter emails look (I've xxxx'ed out many items for security reasons): In function: before_process() - Express Checkout Did first contact attempt return error? Nope --------------------------------------------------------------------- -------------------------------EC_DUMP------------------------------- ------------This is the information that was sent to PayPal---------- --------------------------------------------------------------------- xxxxxxxxxxxxxxxxx [my paypal api login is shown in the email] xxxxxxxxxxx [my paypal api password is shown in the email] 2.0 Sale EC-xxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxx 279.00 Order placed on July 26, 2010, 1:19 am by xxxxxxxx (ID: xxxxxx) 279 0 Phone: -- Email: xxxxxxxxxxxxxx xxxxxxxxxx [name] xxxxxxxxxxxxxxxx [street address] xxxxxxxxxxx [city] NJ 07626 US Peruvian 18kt Gold Filled Disc Earrings90.001Encased Light Topaz Swarovski Crystal Earrings62.001Blue Druzy Quartz Pendant127.001
  9. josh1r

    PayPal WPP Direct Payments & Express Checkout Support

    Does anybody know what exactly this error means? https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_errorcodes 15005 Processor Decline -- This transaction cannot be processed. The transaction was declined by the issuing bank, not PayPal. The merchant should attempt another card. I've had 2 customers in the past 2 days get this error. I receive a PayPal Error Dump which indicates the error. I see that both customers are international (I'm a U.S. based merchant). One of them has purchased from me before so I know they are legit and didn't have problems last time. Could it be an address format issue and PayPal is denying it, or is it really being declined by the issuing bank, and not PayPal? Thanks for any thoughts!
  10. josh1r

    PayPal WPP Direct Payments & Express Checkout Support

    Glen, If you are able to, please PM or email me as I'd like to ask you a question off-line. I tried to PM you but it didn't go through. Thank you very much!
  11. josh1r

    PayPal WPP Direct Payments & Express Checkout Support

    According to here: https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_errorcodes the problem is: 10501 Invalid Configuration This transaction cannot be processed due to an invalid merchant configuration. Occurs when the billing agreement is disabled or inactive. I would guess there's something in PayPal that you need to activate.
  12. josh1r

    PayPal WPP Direct Payments & Express Checkout Support

    Thanks for your thoughts Glen! -- Josh
  13. josh1r

    PayPal WPP Direct Payments & Express Checkout Support

    No problem. Just tried the new one and it works great! Can I also get your thoughts on the latest versions vs. 1.05 which I currently have installed?. I've had no problems with 1.05 and am always hesitant to make upgrades unless absolutely necessary. In your opinion, are 1.06 or 1.07 'important' upgrades, or just minor fixes? There don't seem to be any security fixes or anything along those lines, so I'm trying to decide if I should hold off on the upgrade for now. In addition, I use the onepage checkout from DynamoEffects. Any idea if these updates will affect anything with this? Thanks again! -- Josh
  14. josh1r

    PayPal WPP Direct Payments & Express Checkout Support

    Is anyone else having problems unzipping the new file? I keep getting this error: . I downloaded some of the older .zip files and they work just fine, so I don't think it's anything on my end. I've tried renaming the destination directory, etc...but nothing works. Thanks!
  15. Thank you very much for the input. Only problem is that while adding free shipping to a coupon code does indeed work, it makes all shipping options free (including UPS overnight!). Obviously I don't want that to happen... I only want one option from my Table ship method to be free over $x.xx. I want the UPS module and any others to remain 'normal'. Thanks again for any further thoughts!
  16. I use the Table ship module to offer free shipping on orders over $150. But I have a problem when someone adds $155 to their card, and uses a 10% coupon code which brings the order total below $150 (subtotal remains at $155). The customer is still getting the free shipping because the subtotal is over $150. Is there a way to adjust how the Table rate calculates to take into effect coupons? I was hoping to change it to use the Total, instead of subtotal, but then it would include tax (not a huge problem since i only charge tax to 1 state). Any suggestions would be greatly appreciated. Thanks!!
  17. Is there a way to adjust the subtotal to account for any coupon codes? My problem is this: Using the Table shipping module I offer free shipping on orders over $150. But if someone buys something for $155 for example, and then uses a 10% coupon code, makingthe total $139.50, they still get the free shipping. I think, though I could be wrong, that the Table ship module uses subtotal to base it's calculations on. If that's true, then is there a way to have the coupon code deducted from the sub-total? I tried changing the sort of the items but even if i put the coupons above the sub-total it doesn't deduct it. Thanks for any suggestions!!
  18. Hi. I have version 5.16 of the CCGV contribution installed and working great, except for one minor issue: On checkout_payment.php, after someone enters a coupon code and hits 'apply', the page refreshes (if they didn't also put in their CC info) and in the URL I see messages like: /checkout_payment.php?payment_error=ot_coupon&error=Invalid+Coupon+Code (if a bad code was entered), and at the same time a section appears just above "Products Ordered" and it says: Coupon Redemption and then there is a blank red-shaded area below it, where I assume the Invalid Coupon Code error text is supposed to appear, but it doesn't. I've checked my code over and over in the ot_coupon.php file and I can't see any errors. Does anyone have any suggestions on what else I can look for that may be causing this problem? Thanks! -- Josh
  19. josh1r

    PayPal WPP Direct Payments & Express Checkout Support

    Thanks! I will give that a try!
  20. josh1r

    PayPal WPP Direct Payments & Express Checkout Support

    Hi. I've had problems recently with 2 UK orders in a row (99% of my orders are US so it's not a huge problem, but still would like to fix), where I get an error that the country code is invalid. It looks correct as UK but is saying it's invalid (I see this in the error email I get via the contribution). This is a recent problem, normally UK orders go through fine, but the last 2 have not. Any thoughts? Thanks!
  21. josh1r

    PayPal WPP Direct Payments & Express Checkout Support

    Hello again! After looking at it over and over I finally found the error with the coupon box. I had moved it's location on the page and when I put it back I must have missed some of the code and it interfered with the module for paypal users. So it's now back on the payment screen even for customers using express c/o. Any thoughts on how to investigate the cart issue? Thanks again! -- Josh
  22. josh1r

    PayPal WPP Direct Payments & Express Checkout Support

    Hi. I have several active coupons, all of which work perfectly (for non paypal express people). But as soon as I try ppl xpress the field is gone from the payments page. For the cart, it's not actually emptying because if you then go to the next page (checkout_confirmation) everything in the cart looks just fine. The payments page looks like it's showing the words "Products Ordered (Edit)", but just not the actual cart contents field. Thanks again for your help! -- Josh
  23. josh1r

    [CONTRIBUTION] CCGV (trad)

    Hi. Sorry if this is an old question (I searched for it but didn't find an answer): is it possible to put the redeem coupon button in the shopping cart so that non-logged-in customers can apply a coupon code and see the updated total in their cart? Thanks!
  24. josh1r

    PayPal WPP Direct Payments & Express Checkout Support

    Hello again. I was hoping someone had some thoughts about the problem above. I'm assuming something is off with and if statement so it's not showing the gift voucher section on checkout_payment, but I can't find where that would be. And I can't figure out at all why nothing shows in the cart. The page works just fine for non-paypal express people. Thank you again. Regards, -- Josh
×