Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 5 of 5

Thread: Enable Ad-Hoc

  1. #1
    Noregon Bob is offline Junior Member
    Join Date
    May 2010
    Posts
    20

    Default Enable Ad-Hoc

    Is there a configuration setting that must be changed to enable ad-hoc charges? I followed the instructions in the manual, but even though I have captured the order I don't see the Create Add-Hoc button. Ia m logging into our site as an admin user.

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    Ad-hoc refund/charge appears only on CAPTURED transaction, yes. Can you tell me the exact version you're using so we can assist you further?

  3. #3
    Noregon Bob is offline Junior Member
    Join Date
    May 2010
    Posts
    20

    Default Ad-Hoc

    I am using the single store ML 9.0.1.2

  4. #4
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    That's a known issue in that version (corrected in 9.0.1.3). The fix is very simple. Open up /admin/orderframe.aspx.cs and find this line (569 by default):

    Code:
    if ((ord.ParentOrderNumber == 0 || TransactionType == AppLogic.TransactionTypeEnum.RECURRING_AUTO) && ord.TransactionIsCaptured() && (IsCard || IsMicroPay || IsPayPal) && (GW != Gateway.ro_GWWORLDPAYJUNIOR && GW != Gateway.ro_GWWORLDPAY && GW != Gateway.ro_GW2CHECKOUT && GW != Gateway.ro_GWGOOGLECHECKOUT) && IsAmazonSimplePay)
    ...and change it to:

    Code:
    if ((ord.ParentOrderNumber == 0 || TransactionType == AppLogic.TransactionTypeEnum.RECURRING_AUTO) && ord.TransactionIsCaptured() && (IsCard || IsMicroPay || IsPayPal) && (GW != Gateway.ro_GWWORLDPAYJUNIOR && GW != Gateway.ro_GWWORLDPAY && GW != Gateway.ro_GW2CHECKOUT && GW != Gateway.ro_GWGOOGLECHECKOUT))

  5. #5
    Exanthos is offline Junior Member
    Join Date
    Jun 2009
    Posts
    7

    Default Ad-hoc refund button

    Hi Scott

    We are having the same problem on ML 8.0.1.2 where the Create Ad-hoc charge/refund button does not appear on orders that have been captured. Is there a setting we are missing?

    Thanks
    Olga