osCmax v2.5 User Manual
Results 1 to 7 of 7

This transaction cannot be processed. The amount to be charged is zero.

This is a discussion on This transaction cannot be processed. The amount to be charged is zero. within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; I KNOW that someone else HAS to have dealt with this problem. If someone uses a coupon that zeros out ...

      
  1. #1
    New Member
    Join Date
    Jun 2010
    Posts
    5
    Rep Power
    0


    Default This transaction cannot be processed. The amount to be charged is zero.

    I KNOW that someone else HAS to have dealt with this problem.

    If someone uses a coupon that zeros out the balance for the purchase, I get this error and they cannot checkout. I've tried installing the "free of charge module", but I still get the same result . .

    HELP!!!!

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: This transaction cannot be processed. The amount to be charged is zero.

    This may resolve your issue:
    CCGV order total = 0 problem - osCommerce Community Support Forums

    FYI, here is how I found the above resolution:
    How to find something easily

    One question though, what version of osCmax are you running? That will help me determine if this should get an official bug report.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Jun 2010
    Posts
    5
    Rep Power
    0


    Default Re: This transaction cannot be processed. The amount to be charged is zero.

    Thanks Michael.

    I am using the most current version - downloaded 2 days ago. I actually already found that fix and implemented, but then get the following:

    Parse error: syntax error, unexpected T_REQUIRE in /home/osclance/public_html/catalog/checkout_payment.php on line 105

    I have tried this install twice and KNOW I did it EXACTLY.

    Any help is GREATLY appreciated.

    Lance

  4. #4
    Senior Member blackhawk's Avatar
    Join Date
    Aug 2009
    Location
    indiana
    Posts
    640
    Blog Entries
    1
    Rep Power
    27


    Default Re: This transaction cannot be processed. The amount to be charged is zero.

    first plan:
    checkout_payment.php is a beastly page. you have to really take out time to make sure your syntax (php code) is in-check on that page. For as long as it is, I would recommend checking that page in an editor that looks for broken php syntax!

    second plan:
    The best way to attack the issue is seeing what it is already causing the conflict. On your development site, try to repeat the process. But first disable all payment modules and only activate the ones you are using, one by one, with a fake order process, to see where the conflict it coming from...authorize? paypal? etc... I get no issues when using a coupon set to take off 100%, with check/money order.
    Last edited by blackhawk; 06-09-2010 at 07:34 PM.

  5. #5
    New Member
    Join Date
    Jun 2010
    Posts
    5
    Rep Power
    0


    Default Re: This transaction cannot be processed. The amount to be charged is zero.

    Thanks for the reply Blackhawk!

    checkout_payment.php is beastly for sure especially for someone like me who doesn't know what they're looking for. I wouldn't know broken php syntax from a broken arm.

    I did, as you suggested, disable all payment modules - this was easy as I only had 2. It is definitely coming from Paypal, but not from cash on delivery or check/money order. Basically anything that requires a payment upfront will botch it I'm guessing. Which is why someone came up with a Free of Charge module, but I can't get that to work either.

    ...naive and stumped. I REALLY appreciate your thoughts.

    Lance

  6. #6
    Senior Member blackhawk's Avatar
    Join Date
    Aug 2009
    Location
    indiana
    Posts
    640
    Blog Entries
    1
    Rep Power
    27


    Default Re: This transaction cannot be processed. The amount to be charged is zero.

    Great start,
    Just thinking to myself, I'm assuming that any payment gateway would reject this process if there is no money involved, especially paypal as they are looking to take out there 2.9 percent from the order.

    My thoughts:
    Maybe there is a fix, but until then my idea is keep-it-simple. Don't make coupons that are 100 percent off. But if you REAAALLLY-REALLLY have to, then...

    Possible fix:
    Write on that checkout page a small verbage in bold red letters, that says "If you receive a coupon that covers your entire order, please select check by mail to finalize your process! Thanks for shopping with us". \

    Open up...

    catalog/includes/languages/english/checkout_payment.php

    and edit the line that says "this is currently the only payment..." at the end of that sentence add the text I mentioned above.

    Then in the same directory look for the language files for check/mail process and change the text on there too to make it blend with what your'e doing.

    It can be that simple. For your benefit, I highly encourage you to learn PHP5 to maxmize your development/technical skills for oscmax.

    bh
    Last edited by blackhawk; 06-09-2010 at 09:47 PM.

  7. #7
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Smile Re: This transaction cannot be processed. The amount to be charged is zero.

    Lance

    Parse error: syntax error, unexpected T_REQUIRE in /home/osclance/public_html/catalog/checkout_payment.php on line 105
    Normally means you have missed a ; or a ) and the php has found a new command before completing the last.

    Not sure what you have changed since none of the edits are anywhere near line 104 ...

    Regards,
    pgmarshall
    _______________________________

Similar Threads

  1. No shipping being charged
    By Wretched 6.0 in forum Paypal
    Replies: 5
    Last Post: 08-26-2007, 02:32 PM
  2. Do "create order" orders get processed with Paymen
    By chrismole in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 03-29-2006, 02:33 PM
  3. Cart stays full after credit card processed
    By designbysue in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-08-2005, 05:04 AM
  4. transaction key
    By LSVF in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 08-13-2004, 10:25 PM
  5. Authorize.net Transaction Key
    By Mark1 in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 02-15-2003, 11:07 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
  •