Results 1 to 3 of 3
  1. #1
    Join Date
    May 2008
    Posts
    34
    Plugin Contributions
    1

    Default [Done 1.3.9] Wrong payment method asigned to orders when gift certificate is used

    The only way I can get the payment method to be listed as "Gift Certificate/Coupon" in emails and and on the orders page is to disable all payment modules, all but the FREE CHARGE CARD one that is. I am paying the entire total with the gift certificate and it will list whatever payment module I enable as the payment method. I am using version 1.3.8a. I looked around but I couldn't find a reference to this anywhere.


    Thanks,
    Jim

  2. #2
    Join Date
    May 2008
    Posts
    34
    Plugin Contributions
    1

    Default Re: Wrong payment method asigned to orders when gift certificate is used

    More info....
    At first I wasn't able to reproduce this error on a fresh install and I thought I was going nuts, well I am nuts but I shouldn't bother any of you with this.

    This only happens when only one payment method is being offered. Any work around for this would be greatly appreciated.

    Jim

  3. #3
    Join Date
    May 2008
    Posts
    34
    Plugin Contributions
    1

    Default Re: Wrong payment method assigned to orders when gift certificate is used

    Well I'm no programmer but my best guess is that where sets a default payment method if only one method is offered something needs to be added to account for zero balance due when paid by gift certificate. It looks like this default is set around line 77 of /includes/classes/payment.php
    Commenting out this line of code around line 84 seems to fix this but I have no idea what else this might effect?

    Code:
    if (!$credit_covers) $_SESSION['payment'] = $include_modules[0]['class'];
    I hope this is helpful.
    Last edited by maitaijim; 2 Oct 2008 at 02:27 AM.

 

 

Similar Threads

  1. Payment method Gift Certificate/Coupon
    By Arunachala in forum Addon Payment Modules
    Replies: 3
    Last Post: 29 May 2013, 02:17 PM
  2. Gift Certificate Payment Method
    By thirdrock in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 10 Jan 2010, 01:13 AM
  3. [Done 1.3.9] Group discount/gift certificate orders pending?
    By digidiva-kathy in forum Bug Reports
    Replies: 12
    Last Post: 19 Oct 2008, 10:30 PM
  4. Replies: 18
    Last Post: 20 Jan 2007, 06:35 AM
  5. [Done 1.3.9] Group discount/gift certificate orders pending?
    By digidiva-kathy in forum General Questions
    Replies: 7
    Last Post: 23 Jul 2006, 06:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR