Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Coupon causing post processing failure with authorize.net

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Coupon causing post processing failure with authorize.net

  • This topic has 7 replies, 4 voices, and was last updated 13 years, 8 months ago by admin.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • March 15, 2011 at 3:07 am #2940
    hlandgar
    Member

    I am testing a coupon with a $300 product that reduces the price to $1. The transaction goes through authorize.net but no post processing runs (product email is not sent and the sale is not recorded). The estore_post_payment_debug.log shows:

    [03/15/2011 1:41 AM] – SUCCESS :Coupon Code Used : testABC$

    [03/15/2011 1:41 AM] – FAILURE :Wrong Product Price Detected. Actual Product Price : 300

    [03/15/2011 1:41 AM] – FAILURE :Paid Product Price : 1

    followed by a SUCCESS :gateway=authorize message showing the transaction was approved

    March 16, 2011 at 12:41 am #30185
    amin007
    Participant

    Lets try to identify if the plugin is having a difficulty retrieving the coupon code from the database.

    Can you please create another very simply coupon like the following:

    Code: TEST123

    Discount: 50%

    The rest doesn’t matter for this test so hit the “Save Coupon” button.

    Please do another test transaction with this coupon and let me know what the debug shows.

    March 17, 2011 at 1:40 am #30186
    hlandgar
    Member

    The test123 coupon transaction went through and post processing completed successfully

    March 17, 2011 at 2:07 am #30187
    amin007
    Participant

    Okay, can you change your coupon code “testABC$” to “testABC” and give it a try. Not sure if the “$” symbol in the coupon is doing something funny.

    March 17, 2011 at 4:40 pm #30188
    hlandgar
    Member

    test123$ worked as well. Maybe the issue is with fixed discount.

    March 18, 2011 at 12:42 am #30189
    amin007
    Participant

    Found the issue… please get a new build of eStore from here and give it a go:

    https://support.tipsandtricks-hq.com/update-request

    October 31, 2011 at 4:09 pm #30190
    jomo5280
    Member

    of course – after we customized our estore a ton we just encountered this issue. Amin, do you remember what the fix was? i have downloaded new version of estore to compare to ours – if you could point us in the right direction that would be awesome!

    October 31, 2011 at 11:09 pm #30191
    admin
    Keymaster

    I don’t remember the actual code change but there should be another way to get past it easily. Find the following block of code in the “eStore_process_payment_data.php” file and remove it (that should do the job):

    if ($cart_item_data_total < $true_product_price)
    {
    eStore_payment_debug('Wrong Product Price Detected. Actual Product Price : '.$true_product_price,false);
    eStore_payment_debug('Paid Product Price : '.$cart_item_data_total,false);
    return false;
    }

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ