Jump to content

chickeneps

Members
  • Content count

    35
  • Joined

  • Last visited

Posts posted by chickeneps


  1. Still problems; I get this when attempting to Install Module.

     

    Warning: require_once(DIR_WS_CLASSESxml_5.php) [function.require-once]: failed to open stream: No such file or directory in /home/chickens/public_html/instrumentcreator/catalog/includes/modules/shipping/usps.php on line 20
    Fatal error: require_once() [function.require]: Failed opening required 'DIR_WS_CLASSESxml_5.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/chickens/public_html/instrumentcreator/catalog/includes/modules/shipping/usps.php on line 20


  2. How do you install USPS Methods? (Sorry to ask, but I truly don't know.)

     

    I installed oSC Responsive 2.3.4. I then downloaded USPS Methods 7.3.1 onto my computer (not my server). I changed the name of the admin folder to my admin name, and then FTP'd the [new admin folder] and the includes folders onto my server. Then when I go into my admin section, Modules-Shipping, and click Install Module, I get:

     

    Warning: require_once(DIR_WS_CLASSESxml_5.php) [function.require-once]: failed to open stream: No such file or directory in /home/chickens/public_html/instrumentcreator/catalog/includes/modules/shipping/usps.php on line 20
    Fatal error: require_once() [function.require]: Failed opening required 'DIR_WS_CLASSESxml_5.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/chickens/public_html/instrumentcreator/catalog/includes/modules/shipping/usps.php on line 20


  3. My issue is this: I do a brisk business with my osC site. I use PayFlow Pro to do my secure orders and people buy my stuff and I ship it out. Great.

     

    The problem is that sometimes I get a order returned to me by the post office, the address was wrong or the person didn't claim it, etc. All problems on the customers side. When I get these I contact the customer and ask "what's wrong?" They usually want me to re-ship, but the problem is that I don't want to pay the shipping cost again, I want them to pay for it again.

     

    That's fine - but how can I automate that using OSC? I suppose I could make a custom SKU with the price they need to pay for the shipping cost (always different for everyone, usually), they would select it, checkout, and the secure payment would charge them.

     

    But making a custom SKU is really hacky. I suppose I could ahve them call, but many people are non-US. And many don't like calling. I want to keep the order, I don't want to refund it (and lose money).

     

    I also suppose I can use my Discount module to give them 100% credit on the order and then the shipping is just applied (again), but then that screws up some of the other custom things I have programmed, like it may send the person another unlock code for software, and in my accounting it would show they ordered the same things twice. Still hacky.

     

    I wish there was a Order Module where you could have a SKU where the person could say what it was (or I can just call it "Shipping Charge") and they would type in the amount that would be charged.

     

    Is there something like that, or can anyone share how they deal with this?


  4. After installing USPS Modules 6.1, all I had to do is modify some of the arrays in usps.php to include First Class Package Service. That worked, but now it doesn't carry over to the checkout_payment.php page. I understand I need to modify some code there for it, but I don't know what. If I figure it out I'll post, but it'd be nice if this was fixed ASAP. First Class is the most popular option since it's the cheapest.


  5. Common problem but as always difficult solution:

     

    I have been using Discount Coupons with great success for about a year. All of a sudden, one day it worked, and the next day it stopped working. I'll put a valid Coupon Code in, and the discount never applies.

     

    I tried everything common sense - added a new coupon, tried different logins, erased all coupons and created a new one with no exclusions. I looked at the database and things seem fine. Just doesn't come up.

     

    Anything I should try? Better yet, I'm not very good at checking the debugging code. I switch on DEBUG in the module, but what does that mean? I've seen debugging results from people on this thread, how do I get it to come up?


  6. Maybe try contacting the person who created the module. I didn't create it - I simply was able to use it for $0.00 orders on our site. In our case, the product itself has a $0.00 amount, which triggers the table rate shipping to be $0.00 so the entire order has no charge. I haven't tried it with a coupon to change the order total.

     

    Thanks - sorry, I misread your post.

     

    I coded my desire myself - in checkout_confirmation.php, after line approx. 151 I just put this:

     

    if ($order->info['total'] == 0) {
      $form_action_url = tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL');
    }

     

    I know enough PHP to make me dangerous, but you know, OSC seems to be well-written enough to where modifying it doesn't seem to be such a task.

     

    Thanks a lot for taking time out to help, though.

     

    Is there any place in the Community here that provides a "code overview" in "programmer language" on how OSC is set up? It would be nice to know esssentially how OSC basically works, so in modifying OSC it would be an easier task, instead of dumbly working off contributions and wimply complaining when they "don't work".


  7. I installed a contribution: Free of Charge. It changes the payment method to "Free of Charge" so they aren't asked for a credit card. Maybe this will work for you?

     

    Thank you.

     

    Well, I tried it. Your contrib has no docs really, but it seemed simple to install.

     

    -I uploaded the two files, they are correctly inserted

    -Going into Admin-Modules, I installed the module

    -I set the Sort Order to something other then 0

    -I set COD to false, and set the default Order setting to "Processing"

     

    Hoping that it would work:

     

    -I signed on

    -Ordered something

    -Put in the coupon that set the "Total" (that is the Grand Total) to $0.00, in checkout_confirmation

    -I clicked Continue, hoping that it would simply skip the payment pages and go to checkout_process

     

    It didn't work, the payment page came up anyway.

     

    So - your contribution simply looks at the total coming out of checkout_confirmation, the ONE TOTAL (grand total) that goes to the payment pages - whatever they might be - and if it's zero, it goes to checkout_process, NOT the payment pages? That would be great...

     

    But it doesn't seem to work.

     

    Perhaps the problem is that your contrib doesn't look "late enough" - it looks for $0.00 earlier then checkout_confirmation, where the Coupons are applied. COuld that be?

     

     

    Any suggestions?


  8. I am using Discount Coupon, at times, to allow certain customers to get a product for free (an NFR - not for resale - purchase). So the amount ends up being $0.00. Not all my coupons discount to $0.00, but some do (or may).

     

    How do I set up oscCommerce to skip the payment pages (the ones after checkout_payment.php) and go directly to checkout_process.php, but only if the price is $0.00?

     

    I know it must be a modifiction to checkout_confirmation.php, in this sort of area:

     

    if (isset($$payment->form_action_url)) {

    $form_action_url = $$payment->form_action_url;

    } else {

    $form_action_url = tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL');

    }

     

    If I could only see at that point of time if the total price was $0.00, I could set $form_action_url to FILENAME_CHECKOUT_PROCESS and skip the payment pages. But how? I'm not sure how to calculate the total price at that time.


  9. I hate to post a "just doesn't work" post, but here it is.

     

    The isntallation worked great, in admin everything shows up. But on a test, no coupon shows up in the sub-totals.

     

    I went through all the troubleshooting things and it passes. I checked my database and the tables are in there. I double-checked all including code and it's all there.

     

    I entered in one Cupon in admin, and it's all there. My exclusions are minimal, everyone can access the coupon.

     

    I then login as a customer, get an item, and checkout, the payment page asks for a coupon code, I put it in ("467"). I hit continue, and the confirmation page looks just like it always does. No coupon applied. I hit F5 at this point (per some suggestions), and nope, no coupon applied. I set DEBUG to true in admin, logged out, and logged in. Checked out, got the same thing. No debug info was written.

     

    I have no other addons put on.

     

    I'm stumped. What else could it be?


  10. Is there an add-on that would allow for NFR (not for resale) support?

     

    I would the ability to allow a member to purchase something for free; something that usually costs money. But would be only them, and I would ahve to allow it.

     

    Any suggestions?


  11. I'm having the same problems as the others in a similar thread, the problem is that the thread is 2 years old.

     

    I tried EVERYTHING but the cart does not update.

     

    Can anyone help? Is there a better way nowadays?

×