Modifications to the Manual_CC processor

Discussion in 'Payments processing' started by fabier, Jul 3, 2008.

  1. fabier

    fabier New Member

    Joined:
    Jan 8, 2008
    Messages:
    1
    Just thought I'd post this up here for the benefit of everyone.

    I had trouble with the manual_CC processor with the current version of amember. It was giving me an error right at the end that went something like: "Cannot use string offset as an array" which was taking place at line 41 in "%%88^%%880421728^thanks.html.php".

    The problem turned out to be with the array variable which was previously: "$this->_tpl_vars['payment']['data']['COUPON_DISCOUNT']" Find all the instances of that variable in the file and replace them with "$this->_tpl_vars['payment']['COUPON_DISCOUNT']". It should fix that bug in the manual_CC payment processor :).

    God Bless,
    -Dan
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Thanks for the tip Dan.

    I bet that will help someone!!

Share This Page