Latest News: (loading..)

stickypod

Members
  • Content count

    85
  • Joined

  • Last visited

About stickypod

Profile Information

  1. 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. 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. 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
  4. 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.
  5. 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.
  6. 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.
  7. 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
  8. 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.
  9. 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!
  10. 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.
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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