Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

stickypod

Members
  • Content count

    85
  • Joined

  • Last visited

Everything posted by stickypod

  1. stickypod

    FedEx - Web Services v9

    I am working with FedEx Automated Labels and I get the following error: "Could not find a FedEx account number. Is FedEx RealTime Quotes installed and configured?" Of course, I had to turn off the old FedEx for this new module. Has anyone fixed this problem? Please let me know what you did to correct.
  2. stickypod

    FedEx - Web Services v9

    I've installed and it works great. We need to fix the sorting and add transit times. I'll do my best. Thanks for a great solution. By the way, this contribution will be mandatory by Feb. 2012
  3. Never mind. I found it and I bought it. If you can, please post this commercial upgrade on your profile. I have avoided getting any one-page checkout, but coming from you, DONE! I already purchased ... THANK YOU! AGAIN!

  4. Hi Brian, I've been using your PayPal WPP for years now, THANK YOU!, and I have read some posts that you have developed a one-page checkout. Please point me to that contrib. I can't find it. Many thanks, Tom Heibel, Sticky Pod

  5. stickypod

    Automated FedEx Labels

    I have figured out how to get my label to print using the FedEx Zebra 500 Plus (ZPL) thermal printer, but I'm trying to modify the label. I want the "FROM" address to be in bold and possibly the font a little larger. I see the fonts on other FedEx labels are more bold and easier to read. Mine are very small and nearly illegible. I have looked thru the ship_fedex.php and fedexdc.php files and I don't see anything in these files. I suspect this is part of the info submitted to FedEx, but I can't find anything in the files on my side for modification. Please help.... Many thanks, Tom
  6. stickypod

    PayPal WPP Direct Payments & Express Checkout Support

    I should never doubt the masters (Brian and Glen), you're right! When I was uninstalling CCGV, the catalog/includes/classes/payment.php has multiple CCGV mods. Some of the mods are required to make the checkout_payment.php page function correctly. That includes the few lines that were modded by the authors of the CCGV. When I was removing the CCGV contrib, I mistakenly removed these lines. After I added them back in, everything is functioning as it should with no errors. The following mods in the catalog/includes/classes/payment.php are *not* part of the CCGV (trad) contrib instructions: // ############ Added CCGV Contribution ########## // $js .= "\n" . ' if (payment_value == null) {' . "\n" . $js .= "\n" . ' if (payment_value == null && submitter != 1) {' . "\n" . // CCGV Contribution // ############ End Added CCGV Contribution ########## ' error_message = error_message + "' . JS_ERROR_NO_PAYMENT_MODULE_SELECTED . '";' . "\n" . ' error = 1;' . "\n" . ' }' . "\n\n" . // ############ Added CCGV Contribution ########## // ICW CREDIT CLASS Gift Voucher System Line below amended // ' if (error == 1) {' . "\n" . ' if (error == 1 && submitter != 1) {' . "\n" . // ############ End Added CCGV Contribution ########## All the lines I removed were not part of the original install instructions, however, they are commented as CCGV mods. Very confusing! If it hasn't been done already, rewriting this block of code (without the CCGV labels) might be helpful for others as well. All is good and working great. Thanks for the heads up.
  7. stickypod

    PayPal WPP Direct Payments & Express Checkout Support

    Brian, I found a small programming error in includes/modules/payment/paypal_wpp.php It's in this coding: $js = ' if (payment_value == "' . $this->code . '") {' . "\n" . ' var cc_firstname = document.checkout_payment.paypalwpp_cc_firstname.value;' . "\n" . ' var cc_lastname = document.checkout_payment.paypalwpp_cc_lastname.value;' . "\n" . ' var cc_number = document.checkout_payment.paypalwpp_cc_number.value;' . "\n" . ' var cc_checkcode = document.checkout_payment.paypalwpp_cc_number.value;' . "\n" . ' if (cc_firstname == "" || cc_lastname == "" || eval(cc_firstname.length) + eval(cc_lastname.length) < ' . CC_OWNER_MIN_LENGTH . ') {' . "\n" . ' error_message = error_message + "' . MODULE_PAYMENT_PAYPAL_DP_TEXT_JS_CC_OWNER . '";' . "\n" . ' error = 1;' . "\n" . ' }' . "\n" . ' if (cc_number == "" || cc_number.length < ' . CC_NUMBER_MIN_LENGTH . ') {' . "\n" . ' error_message = error_message + "' . MODULE_PAYMENT_PAYPAL_DP_TEXT_JS_CC_NUMBER . '";' . "\n" . ' error = 1;' . "\n" . ' }' . "\n" . ' }' . "\n"; return $js; } } When the above code is called in the checkout_payment.php page with this line: <?php echo $payment_modules->javascript_validation(); ?> It's not closing off the java scripting and that leaves the header of my page unable to load. I fixed it by adding --></script> after this line "<?php echo $payment_modules->javascript_validation(); ?>" in the checkout_payment.php page. However, that's not the correct way it should work. Just FYI, in case others are having troubles with their headers loading on the checkout_payment.php page. Hope this helps someone.
  8. stickypod

    [CONTRIBUTION] CCGV (trad)

    Finally! I figured it out. Some coding related to CCGV was not commented in the instructions and I finally found it. Be sure to look for "credit_covers" if you too are removing this contrib.
  9. stickypod

    [CONTRIBUTION] CCGV (trad)

    Hi Rhea, I am removing the CCGV contrib, I am using a different means for providing disounts, and I get the following error: Warning: order_total::include(includes/modules/order_total/ot_coupon.php) [order-total.include]: failed to open stream: No such file or directory in /public_html/osc/includes/classes/order_total.php on line 26 Warning: order_total::include() [function.include]: Failed opening 'includes/modules/order_total/ot_coupon.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/public_html/osc/pear/') in /public_html/osc/includes/classes/order_total.php on line 26 Fatal error: Class 'ot_coupon' not found in /public_html/osc/includes/classes/order_total.php on line 29 I removed all the files, SQL tables and modified all the necessary install files back to their original format. Please tell me why it's still trying to access these files? I get this error on the checkout_confirmation.php page. Everything else appears to work properly. Please tell me which file is trying to access this info. Many thanks, Tom
  10. stickypod

    PayPal WPP Direct Payments & Express Checkout Support

    I'm having the same problem, only with shipping. I provide a shipping discount that results in a shipping refund (negative number) and this module works great with a credit card because it passes just the total for a credit card. Now if they choose the Express Checkout option, then it has a problem. Is there a way to hard code this so the EC option sends only the total dollar amount? This would eliminate the negative number and overcome this issue. Is there a profile setting on PayPal I need to enable to make this work? Thanks for any help Glen.
  11. Thanks for the effort, but I had no luck. This is exactly what we need for osCommerce. I brought this up with a programmer over a year ago, but to expensive. I did install it, but received an error in my usps.php file on line 280. Of course, there's nothing wrong with the usps file, but something's not working in this contrib. Keep up the work and hopefully others will see the tremendous value in making this a reality. If I were you, I would contact Brian (Dynamoeffect) and see if he can help get this incorporated with his PayPal WPP. I like where this is going, please keep it up!
  12. stickypod

    Simple Visitor Newsletter

    I have this installed and it appears to be working, but it's very confusing. My questions are: 1) Does the newsletter_bulk module send emails to all my customers or just the subscribers in the visitors database? 2) After the limits are set (number of emails and number of seconds between transmissions) do I need to go back and hit the send button over and over or does it run until all email addresses are exhausted? 3) How can I tell who has received the emails or how many were sent? Thanks for your help in advance. These questions are not clear in the instructions.
  13. stickypod

    PayPal WPP Direct Payments & Express Checkout Support

    Radio Buttons to Check Boxes - I am having great success with this contrib, and have used it for over a year now. Many thanks for everyones efforts. I want to switch the radio buttons to check boxes and it's clearly more complicated than I thought. I reveiwed the checkout_payment.php file and I see where it draws the radio buttons, but it's clearly not as easy as just changing from: input_type="radiobutton" to input_type="checkbox" I'm confident the changes need to be made in this area: <?php } $radio_buttons = 0; $payment = (!$payment) ? 'paypal_wpp' : $payment; for ($i=0, $n=sizeof($selection); $i<$n; $i++) { ?> <tr> <td><?php //echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td colspan="2"><table border="0" width="90%" align=left cellspacing="0" cellpadding="2"> <?php if ( ($selection[$i]['id'] == $payment) || ($n == 1) ) { echo ' <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n"; } else { echo ' <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n"; } ?> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan="3"><b><?php echo $selection[$i]['module']; ?></b></td> <td class="main" align="right"> <?php if (sizeof($selection) > 1) { echo tep_draw_radio_field('payment', $selection[$i]['id']); } else { echo tep_draw_hidden_field('payment', $selection[$i]['id']); } ?> </td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php if (isset($selection[$i]['error'])) { ?> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan="4"><?php echo $selection[$i]['error']; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> //Start of CC fields <?php } elseif (isset($selection[$i]['fields']) && is_array($selection[$i]['fields'])) { ?> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td colspan="4"><table border="0" cellspacing="0" cellpadding="2"> <?php for ($j=0, $n2=sizeof($selection[$i]['fields']); $j<$n2; $j++) { ?> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo $selection[$i]['fields'][$j]['title']; ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo $selection[$i]['fields'][$j]['field']; ?></td> <td><?php //echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } ?> </table><hr></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } ?> </table></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php $radio_buttons++; } ?> What do I change? Please help me and thank you again for your support. Tom
  14. stickypod

    OSC-Affiliate

    The AFFILIATE_BILLING_TIME is part of your store configuration table in the MySQL database. The data field is titled "Billing Time". However, this is not the problem. The problem is with the first half of this line: $time = mktime(1, 1, 1, date("m"), date("d") - AFFILIATE_BILLING_TIME, date("Y")); $oldday = date("Y-m-d", $time); If we can setup this code so the time extends back say 5 years, then it will work fine. Once the affiliate is paid, it removes any old sales from the timeline and everything will work fine. If anyone knows how to do this, please update the line above or let me know if I'm completely off base. Many thanks, Tom
  15. stickypod

    OSC-Affiliate

    Thank you for the heads up on the affiliate configure. I never setup that file when I installed. Problem 3: I won't know until I delete an affiliate sale whether or not this worked. Problem 1: I don't see a definition in the configure file for this. Would you please send me the coding from your file or let me know which version you're using? Problem 2: Still unresolved. I simply put this rule into my affiliate agreement. It's not going to be an easy fix. Thanks for the help. Tom
  16. stickypod

    OSC-Affiliate

    I have been using this contrib with great success, however I have some problems and I need some help. With regards to affiliate billing (payment) I am trying to get the system to read all orders that are at least 30 days old and have not been paid. Problem 1: The problem lies in the timeline for compiling invoice data. If it takes more than 1 year to reach a commission level, it simply leaves out those orders over 1 year old. I think this code in the admin/affiliates_payment file has something to do with it: // We are only billing orders which are AFFILIATE_BILLING_TIME days old $time = mktime(1, 1, 1, date("m"), date("d") - AFFILIATE_BILLING_TIME, date("Y")); If the above code is the controlling factor, what do I change it to? Problem 2: Eliminating orders that have the same name as the affiliate. I don't pay my affiliates for buying products using their own affiliate link. Problem 3: When an order is deleted in the Customers Order admin section, it should remove the affiliate sale and commission from the list (database). I know this is a tall order, but if anyone has a fix, please let me know where I can find them or what to change. Many thanks, Tom
  17. I want to setup my shipping page to have USPS Priority Mail already selected when the page loads. I see that OSC is setup to start with the cheapest method first. Since I have an option for customers to pickup their order, there's no charge and this is the default shipping service. Any ideas? Many thanks, Sticky Pod
  18. stickypod

    Automated FedEx Labels

    I think I finally figured out this error. From the fedexdc.php file located in /catalog(/admin)/includes, I noticed a note right above line 309 that talks about using the post.txt file for testing purposes. Now that I'm on the production servers, and I have updated my files to production status, the function above is no longer needed. I removed it and it works great. If I'm wrong about this, please reply with the answer. If I'm right about this, please update the instructions to include this info. I believe it fails because the $server variable defined at the top of the file is set to 'production'. In any case, just remove or comment out these lines in both of the fedexdc.php files in /catalog/includes and /catalog/admin/includes: // write to file for testing $fp = fopen(DIR_FS_ADMIN . 'images/fedex/post.txt', 'w'); fwrite($fp, ($this->sBuf)); Good luck, Tom
  19. stickypod

    Automated FedEx Labels

    1062 - Duplicate entry '4e8c19bf29495b57871fadf54fa7e68e' for key 1 insert into sessions values ('4e8c19bf29495b57871fadf54fa7e68eoID=4509', '1193437119', 'language|s:7:\"english\";languages_id|s:1:\"1\";selected_box|s:13:\"configuration\";') [TEP STOP] Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0 I figured out the error above. It has to do with the back button on the track_fedex.php file in /catalog/admin/ This error only occurs when you click the back button on the track fedex page. If you click your back button on your browser, this error will not appear. To fix it so the back button works, just look for the follwing code in catalog/admin/track_fedex.php <?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action'))) . 'oID=' . $order . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?> Replace with <a href="orders.php?oID=<?php echo $oID; ?>"><img src="includes/languages/english/images/buttons/button_back.gif" border="0" alt="IMAGE_ORDERS_BACK" title=" IMAGE_ORDERS_BACK "></a> This will take you back to your orders page, which is what it should do, and will not create the duplicate entry. I hope this helps because this was an annoying error that will print on the bottom of your invoices and packing slips. It will show up on all screens and cannot be removed unless you close your OSC admin browser page and reopen it. Tom
  20. stickypod

    Automated FedEx Labels

    Yes the test script worked just fine, but the error still appears. Do you have any ideas about the first problem?
  21. stickypod

    Automated FedEx Labels

    Thanks for the info Jackal, but that did not work either and all permissions, ownership and the path are definitely correct. Is it possible it's a SSL issue. This is a secured area. Also, any ideas about the first problem? PS since I have posted this, others have come forward with the same problem. This is a problem that's not going away and it's not just me. Thanks for the help. Tom
  22. stickypod

    Automated FedEx Labels

    Multiple FedEx errors, please help. The first error is in the admin section and has been posted before, but there was no reply. When the track button is pushed after an order has shipped, the following error shows up at the bottom of the admin section on all pages: 1062 - Duplicate entry '4e8c19bf29495b57871fadf54fa7e68e' for key 1 insert into sessions values ('4e8c19bf29495b57871fadf54fa7e68eoID=4509', '1193437119', 'language|s:7:\"english\";languages_id|s:1:\"1\";selected_box|s:13:\"configuration\";') [TEP STOP] Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0 The next error has to do with the customer tracking button. When a customer wants to track their package from the account history, they get the following: Warning: fopen(/admin/images/fedex/post.txt): failed to open stream: No such file or directory in /xxxxxx/xxxxxxx/public_html/osc/includes/fedexdc.php on line 310 Warning: fwrite(): supplied argument is not a valid stream resource in /xxxxxx/xxxxxx/public_html/osc/includes/fedexdc.php on line 312 Now I know this error has been brought up before, but none of the fixes in here are working. Not only that, but the error does not make sense. The error states the directory and file do not exist, but in fact they do and the permissions are set to 777. When I view the post.txt file, it is blank. Maybe that's a clue. Any help would be great. Thank you, stickypod
  23. stickypod

    Automated FedEx Labels

    How to change the email that updates the customer? I see that in catalog/admin/ship_fedex.php that this block of code constructs the email that gets sent to a customer: $email_txt = STORE_NAME . '<br>' . EMAIL_SEPARATOR . '<br>' . EMAIL_TEXT_ORDER_NUMBER . ' ' . $order . '<br><br>' . EMAIL_TEXT_INVOICE_URL . ' ' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $order, 'SSL') . '<br>' . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_status['date_purchased']) . '<br><br>' . '<br>' . $email_notify_tracking . '<br><br>' . sprintf(EMAIL_TEXT_STATUS_UPDATE, 'Shipped'); Unfortunately, when the email is sent, it simply runs all the lines together and does not provide the spacing it needs to make it readable. Please help me change this so it works appropriately. Many thanks, stickypod
  24. stickypod

    Automated FedEx Labels

    Hey Chriweb, Just follow these instructions in this post: http://www.oscommerce.com/forums/index.php?sho...mp;#entry621469 If you have not changed the core of your OSC store with the ADDRESS_2 field (not necessary), just substitute address_2 with suburb and your 2nd address line will show up. Good luck, stickypod
  25. stickypod

    Country-State Selector

    After reviewing the "Automated FedEx Labels" coding, I did not need to add an Address2 to the MySQL database and make all the changes. I simply needed to use the "Suburb" variable to do the same thing. It works great and so does this contrib. Thanks for the fast response Steve stickypod
×