Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

web-project

Pioneers
  • Posts

    4,199
  • Joined

  • Last visited

  • Days Won

    7

Reputation Activity

  1. Like
    web-project got a reaction from mtiplus in Experiences with moneybookers   
    So far I had a great experience, 2 years I been pist off with their customer service, but last year I have changed my mind, as they better than PayPal, cheaper and checkout is easier for customers.
     
    The one very negative point is withdraw money from account - they charge for it.
  2. Like
    web-project got a reaction from CarlDavidRobinson in customizing paypal on my store   
    if you are using PayPal IPN module it does exactly the way as you described (customer create account in your store and only after checkout using the PayPal as payment gateway). Normally the PayPal Express and Google checkout module will generate the account automatically when customer checkout.
  3. Like
    web-project got a reaction from amal2004 in Discount Code not applied to Paypal   
    You need to find if the discount coupon module use the "Order Total Modules" variable (example the CCGV module use: $order_total['ot_coupon'] and $order_total['ot_gv'])
     
    open /includes/modules/payment/paypal_ipn.php
     
    find:

    if(MOVE_TAX_TO_TOTAL_AMOUNT == 'True') { $parameters['amount'] = number_format(($subtotal + $order->info['tax']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); } else { // default $parameters['amount'] = number_format($subtotal * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); $parameters['tax'] = number_format($order->info['tax'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); }
     
    update to:

    if(MOVE_TAX_TO_TOTAL_AMOUNT == 'True') { if (isset($order_total['ot_gv']) || isset($order_total['ot_coupon'])) { //the discount will apply to the order total $parameters['amount'] = number_format((($subtotal + $order->info['tax'] + $shipping) * $currencies->get_value($my_currency)) - $order_total['ot_gv'] - $order_total['ot_coupon'], $currencies->get_decimal_places($my_currency)); }else{ $parameters['amount'] = number_format(($subtotal + $order->info['tax'] + $shipping) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); } } else { // default $parameters['amount'] = number_format(($subtotal + $shipping) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); $parameters['tax'] = number_format($order->info['tax'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); }
     
    Make sure that the PayPal module set Transaction Type as Aggregate.
  4. Like
    web-project got a reaction from pantufas_online in Simpleweight addon problem   
    try reverse the order:
    10:10.00, 15:15.00, 20:20.00, 25:25.00, 30:30.00
  5. Like
    Guest
    web-project got a reaction from Guest in PWA problem (has worked before)   
    have you installed any other modules after PWA? You need to modify either the mysql table settings or sql insert query.
  6. Like
    web-project got a reaction from Kennethl in Help Installing Options as Pictures   
    I have seen already the module which allow to use the pictures as product option. Have a look in contribution database on this website.
  7. Like
    web-project got a reaction from bluesbrotherdb in product_thumb.php problems on PHP5.2.5   
    Hi all,
     
    I am still debugging the oscommerce 2.2 on PHP 5.2.5 and I found one more bug. All images which loaded through product_thumb.php are not show the images & shows only the following error message:
     
    the reason is: developer of oscommerce incorrectly coded the product_thumb.php, they left some part of code which should be used in normal php software.
     
    to fix error you will need to replace the product_thumb.php with the following code:

    <?php // "On the Fly Thumbnailer" using PHP GD Graphics Library by Nathan Welch (v1.5) // Scales product images dynamically, resulting in smaller file sizes, and keeps // proper image ratio. Used in conjunction with modified tep_image in html_output.php // // CONFIGURATION SETTINGS // // Use Resampling? Set the value below to true to generate resampled thumbnails // resulting in smoother-looking images. Not supported in GD ver. < 2.01 $use_resampling = true; // // Create True Color Thumbnails? Better quality overall but set to false if you // have GD version < 2.01 or if creating transparent thumbnails. $use_truecolor = true; // // Output GIFs as JPEGS? Set this option to true if you have GD version > 1.6 // and want to output GIF thumbnails as JPGs instead of GIFs or PNGs. Note that your // GIF transparencies will not be retained in the thumbnail if you output them // as JPGs. If you have GD Library < 1.6 with GIF create support, GIFs will // be output as GIFs. Set the "matte" color below if setting this option to true. $gif_as_jpeg = false; // // Define RGB Color Value for background matte color if outputting GIFs as JPEGs // Example: white is r=255, b=255, g=255; black is r=0, b=0, g=0; red is r=255, b=0, g=0; $r = 255; // Red color value (0-255) $g = 255; // Green color value (0-255) $b = 255; // Blue color value (0-255) // // Maintain aspect ration $maintain_aspect_ratio = true; // END CONFIGURATION SETTINGS // get and validate image path disabled for admin area $image_path = str_replace ( "../", "", $_GET['img'] ); $image_path = $_GET['img']; $new_width = $_GET['w']; $new_height = $_GET['h']; // Get the size of the image $image = @getimagesize($image_path); $orig_width = $image[0]; $orig_height = $image[1]; // Do not output if get values are larger than orig image if ($new_width > $orig_width || $new_height > $orig_height) { $new_width = $orig_width; $new_height = $orig_height; } else { //adjust width and height for aspect ratio if ($maintain_aspect_ratio) { //get lowest side if($orig_width>$orig_height){ // height is smaller so constrain width $new_width = $orig_width*$new_height/$orig_height; } else { // width is smaller or same $new_height = $orig_height*$new_width/$orig_width; } } // end if } // end if // Create appropriate image header if ($image[2] == 2 || ($image[2] == 1 && $gif_as_jpeg)) { header('Content-type: image/jpeg'); } elseif ($image[2] == 1 && function_exists("imagegif")) { header('Content-type: image/gif'); } elseif ($image[2] == 3 || $image[2] == 1) { header('Content-type: image/png'); } // Create a new, empty image based on settings if (function_exists("imagecreatetruecolor") && $use_truecolor) $tmp_img = imagecreatetruecolor($new_width,$new_height); else $tmp_img = imagecreate($new_width,$new_height); $th_bg_color = imagecolorallocate($tmp_img, $r, $g, $b); imagefill($tmp_img, 0, 0, $th_bg_color); imagecolortransparent($tmp_img, $th_bg_color); // Create the image to be scaled if ($image[2] == 2 && function_exists("imagecreatefromjpeg")) { $src = imagecreatefromjpeg($image_path); } elseif ($image[2] == 1 && function_exists("imagecreatefromgif")) { $src = imagecreatefromgif($image_path); } elseif (($image[2] == 3 || $image[2] == 1) && function_exists("imagecreatefrompng")) { $src = imagecreatefrompng($image_path); } // Scale the image based on settings if (function_exists("imagecopyresampled") && $use_resampling) imagecopyresampled($tmp_img, $src, 0, 0, 0, 0, $new_width, $new_height, $orig_width, $orig_height); else imagecopyresized($tmp_img, $src, 0, 0, 0, 0, $new_width, $new_height, $orig_width, $orig_height); // Output the image if ($image[2] == 2 || ($image[2] == 1 && $gif_as_jpeg)) { imagejpeg($tmp_img); } elseif ($image[2] == 1 && function_exists("imagegif")) { imagegif($tmp_img); } elseif ($image[2] == 3 || $image[2] == 1) { imagepng($tmp_img); } // Clear the image from memory imagedestroy($src); imagedestroy($tmp_img); ?>
     
    the following code has been modified:
    function_exists(imagegif) --> function_exists("imagegif")
    function_exists(imagecreatefrompng) --> function_exists("imagecreatefrompng")
    function_exists(imagecreatefromjpeg) --> function_exists("imagecreatefromjpeg")
    function_exists(imagecreatefromgif) --> function_exists("imagecreatefromgif")
    function_exists(imagecreatetruecolor) --> function_exists("imagecreatetruecolor")
    function_exists(imagecopyresampled) --> function_exists("imagecopyresampled")
  8. Like
    web-project got a reaction from Peper in Youtube video display   
    have you followed installation steps? as I can see the module should store the YouTube URL in database and the product_info.php php code should generate the code for YouTube and show the video on product pages.
  9. Downvote
    web-project reacted to john anthny in USAEPAY   
    Hi drew,
    I am using iHost. iHost.Net supports USAEPAY and its easy to configure. Their rates start at $14.95 so it's affordable. I've had good luck with them. You can visit iHost at http://www.ihost.net/.
    Thank you.
  10. Like
    web-project got a reaction from Equalizer in Purchase without registering/google checkout   
    possible to disable the checkout process and leave only the Google Checkout button.
  11. Like
    web-project got a reaction from rstroh1 in Discount Code not applied to Paypal   
    You need to find if the discount coupon module use the "Order Total Modules" variable (example the CCGV module use: $order_total['ot_coupon'] and $order_total['ot_gv'])
     
    open /includes/modules/payment/paypal_ipn.php
     
    find:

    if(MOVE_TAX_TO_TOTAL_AMOUNT == 'True') { $parameters['amount'] = number_format(($subtotal + $order->info['tax']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); } else { // default $parameters['amount'] = number_format($subtotal * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); $parameters['tax'] = number_format($order->info['tax'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); }
     
    update to:

    if(MOVE_TAX_TO_TOTAL_AMOUNT == 'True') { if (isset($order_total['ot_gv']) || isset($order_total['ot_coupon'])) { //the discount will apply to the order total $parameters['amount'] = number_format((($subtotal + $order->info['tax'] + $shipping) * $currencies->get_value($my_currency)) - $order_total['ot_gv'] - $order_total['ot_coupon'], $currencies->get_decimal_places($my_currency)); }else{ $parameters['amount'] = number_format(($subtotal + $order->info['tax'] + $shipping) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); } } else { // default $parameters['amount'] = number_format(($subtotal + $shipping) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); $parameters['tax'] = number_format($order->info['tax'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); }
     
    Make sure that the PayPal module set Transaction Type as Aggregate.
  12. Downvote
    web-project got a reaction from Equalizer in Fatal error: Call to a member function call_api   
    non standard function. which contributions have you installed without reading installation instruction or skipped the installation steps?
  13. Downvote
    web-project got a reaction from ReallyNeedHelp in Paypal doesn't work!   
    correct. I simply don't believe that people can't search... :blink: is it so difficult to do search? :rolleyes: :lol:
  14. Downvote
    web-project got a reaction from ReallyNeedHelp in Google checkout problem   
    you need to read the manual and check the errors.
     
    I know exactly how to fix the issue.
  15. Downvote
    web-project reacted to Growgreenmi.com in Looking For Template Design   
    Hello I've recently opened a webstore for our company and need a good looking layout design.
     
    Our website is www.growgreenmi.com
     
    Thanks
    Chris
  16. Like
    web-project got a reaction from newosc in csv_import problems   
    can be the issue extra space (in front of the category name) in the name of category, as it computer it count as different name.
  17. Like
    web-project got a reaction from newosc in Can we sell streaming video in this store?   
    As download product yes, it's already integrated into oscommerce, or if you wish to show the videos via your website (as pay-per-view) you need to work on it as no one developed sort of module.
  18. Like
    web-project got a reaction from newosc in Losing Sales with PayPal!   
    incorrect setup the order status, try to change to the following:
     
    Set Preparing Order Status
    default
     
    Set PayPal Acknowledged Order Status
    Processing or Shipped Out
     
    not with PayPal only with you! as you have setup the module incorrectly, instead of blaming PayPal, think blaming yourself.
  19. Like
    web-project got a reaction from newosc in Free shipping by categories   
    Use proper FTP client like FileZilla FTP Client
  20. Downvote
    web-project got a reaction from newosc in CCGV Help   
    the best reply you will find at http://www.oscommerce.com/forums/topic/158518-credit-classgift-vouchersdiscount-coupons-510/page__st__4675__p__1359817__hl__Call%20to%20undefined%20method%20order_total::clear_posts%28%29__fromsearch__1entry1359817
  21. Like
    web-project got a reaction from newosc in Supplier Admin Area Contribution   
    after fixing the issue with incorrect session setup, great contribution.
  22. Like
    web-project got a reaction from newosc in Supplier Admin Area Contribution   
    I have updated few issues in whole module, but I have also discovered the following:
     
    The stats arent working properly
    If an item is bought 3 times on an order, in the supplier stats it only shows one was bought.
  23. Like
    web-project got a reaction from newosc in Supplier Admin Area Contribution   
    I have updated this issue, you can find the new version 1.2 of module.
  24. Like
    web-project got a reaction from newosc in indiv ship v4.4   
    I think you need to enter the shipping cost into products information.
  25. Like
    web-project got a reaction from newosc in CVV Help Popup displays Cookie Usage page?   
    correct to proper one:
     

    define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com'); // set for SSL use define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/');
     
    or even better:
     

    define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); // set for SSL use define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/');
×
×
  • Create New...