Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2007
    Posts
    149
    Plugin Contributions
    1

    Default Email Invoice to admin help - using Sage mod

    I am using the Sage Payment gatway module from the contribution section. The email that the admin gets does not have the credit card info i.e Payment type Visa.

    What do I need to do to make this come accross the email?
    Thanks,
    Slabadoo

  2. #2
    Join Date
    Jan 2007
    Posts
    149
    Plugin Contributions
    1

    Default Re: Email Invoice to admin help - using Sage mod

    Still haven't figured this one out yet, I contacted the author of the mod but he is to busy right now to work on this. Anyone out there have any ideas? I have tried different stratagies to get it to work based on post here but still haven't been able to get it to work.
    Thanks,
    Slabadoo

  3. #3
    Join Date
    Feb 2007
    Posts
    210
    Plugin Contributions
    0

    Default Re: Email Invoice to admin help - using Sage mod

    Does the mod work correctly otherwise?

  4. #4
    Join Date
    Jan 2007
    Posts
    149
    Plugin Contributions
    1

    Default Re: Email Invoice to admin help - using Sage mod

    Yes, it does! I can tell you that I am also using the PO Mod. Originally I was using the default CC Mod & the PO as the two payment options. doing that required some editing in orders.php but I was able to get it to pass the html emails correctly. Since we changed Payment gateways to Sage I have not been able to get it to work 100% I have palced an else statement in orders.php to determine which payment method is being used and It works for the most part but there are a couple cobwebs. If I choose CC and the payment method, the payment portion of the email looks like this.

    Payment Method
    Credit Card
    Account Name:
    Account Number:
    PO Number:

    and if I choose PO as the payment method it looks like this:

    Payment Method
    Purchase Order
    Account Name: 111
    Account Number: 222
    PO Number: 333

    as you can see, it pulls part of the else statement reguardless of which payment method I use. Here is the else statement I am using:
    Code:
    // ************************BEGIN THIS CONTROLS THE HTML EMAIL USING CREDIT CARD AND PURCHASE ORDER MOD FOR 1.3.7*****************
     if ($this->info['cc_type']){
        $html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']]) && $GLOBALS[$payment_class]->email_footer != '') ? $GLOBALS[$payment_class]->email_footer : $this->info['cc_type'] ;
    }else{ 
    $html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']] && $GLOBALS[$payment_class]->email_footer != '') ? $GLOBALS[$payment_class]->email_footer : "Account Name: " . $this->info['account_name'] . "\n\n" . "<br>Account Number: " . $this->info['account_number'] . "\n\n" . "<br>PO Number: " . $this->info['po_number'] );
    }
    // ************************END THIS CONTROLS THE HTML EMAIL USING CREDIT CARD AND PURCHASE ORDER MOD FOR 1.3.7*****************
    I also had to edit po.php to get this to work in a few places. It all worked fine till I used the Sage Payment Mod. I am assming it has something to do with the else statement but I have tried it in all directions and no luck. My goal is to have the email look like this if it is purchased with a credit card:

    Payment Method
    Credit Card
    Visa

    and like this if it is a PO (Which it already does):
    Payment Method
    Purchase Order
    Account Name: 111
    Account Number: 222
    PO Number: 333

    Thanks in advanced,
    Slabadoo

  5. #5
    Join Date
    Jan 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Email Invoice to admin help - using Sage mod

    Hi,
    I hope I am posting in the correct spot, I am new so please forgive me if I am not.

    I have been trying to use the Net1 mod for my Sage account, and I saw some older post from you folks, in regards to a curl statement, but I cannot find where to change that.

    Also, since this is a much more recent post than that one, I'm thinking maybe you are still having trouble with it?

    If you have any idea what I can do to make it work it would be greatly appreciated! I am currently still getting the same error you had mentioned before, 'there is a problem with your credit card...' and being bumped back to Step 2.

    Thanks in advance!

  6. #6
    Join Date
    Jan 2007
    Posts
    149
    Plugin Contributions
    1

    Default Re: Email Invoice to admin help - using Sage mod

    What OS is your site beinghosted on?
    Slabadoo

  7. #7
    Join Date
    Jan 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Email Invoice to admin help - using Sage mod

    Linux :)

  8. #8
    Join Date
    Jan 2007
    Posts
    149
    Plugin Contributions
    1

    Default Re: Email Invoice to admin help - using Sage mod

    I am running mine on Windows and I had to remove a line of code from net1.php in in modules/payment/net1.php

    around line 246 i removed
    Code:
      curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
    That did the trick for me.
    Hope this helps.

    As for my question which started this post, I am still looking for an answer. Anyone?
    Thanks,
    Slabadoo

 

 

Similar Threads

  1. Order Confirmation email show codes... using PayEasy mod
    By weber in forum Addon Payment Modules
    Replies: 6
    Last Post: 20 Sep 2011, 10:26 PM
  2. Sage Payment Mod redirects to step 2
    By slabadoo in forum Addon Payment Modules
    Replies: 2
    Last Post: 28 Dec 2007, 10:40 PM
  3. Using Email export mod
    By earmsby in forum General Questions
    Replies: 3
    Last Post: 8 Jun 2007, 02:42 PM
  4. Gift Certificates part payment not showing on invoice when using Bank Transfer mod
    By gabbytwin in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 24 Apr 2007, 04:59 AM

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