+ Reply to Thread
Results 1 to 6 of 6

Thread: Pay-As-You-Go Credits plugin shows incorrect Required Amount (bug)

  1. #1
    Senior Member
    Join Date
    Aug 2010
    Posts
    174

    Pay-As-You-Go Credits plugin shows incorrect Required Amount (bug)

    As you can see on snapshot; the Required Amount is the same as available balance.

    Also, when you trying to pay an Invoice using Credits; it return an error as following: The 'rlInvoices' class not found
    Attached Images Attached Images
    Last edited by PGGO; December 25, 2012 at 09:02 AM.

  2. #2
    Flynax developer
    Join Date
    Jun 2010
    Posts
    238
    Hello,

    You can fix it the following way:

    1.
    - open file: plugins/payAsYouGoCredits/gateway.tpl
    - find this code:

    Code:
    Only registered members can view the code.
    and change it to:

    Code:
    Only registered members can view the code.
    2.
    - open file: includes/controllers/payment.inc.php
    - check this line:

    PHP Code:
    Only registered members can view the code
    - if haven't found it that you should add this code after line 19

  3. #3
    Senior Member
    Join Date
    Aug 2010
    Posts
    174
    Works! Thank you.

  4. #4
    I did exactly as Vladimir told But it is not working.
    I found the line - $callback_plugin = $payment['callback']['plugin']; in line 36 not after line 19.
    please help.

  5. #5
    Senior Member
    Join Date
    Aug 2010
    Posts
    174
    The line number may be different; however, try to play around with that, since its worked or me.

  6. #6
    I have the same problem but that didn't helped me (what Vladimir posted). What should we do with that line - $callback_plugin = $payment['callback']['plugin']; ?
    And my credit amount is the same as the sufficient credit amount. Please help!

+ Reply to Thread