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: Adding a new Gateway

  1. #1
    deanfp is offline Senior Member
    Join Date
    May 2009
    Location
    Sweden
    Posts
    556

    Default Adding a new Gateway

    Hi

    We have created a new payment gateway and testing has been completed.

    The Checkoutreview.aspx file has been changed so the 'MakeOrder' function it instructs it to always use this new gateway. We have added a new class (commideav4.vb) to the payment gateway project (in the wwwroot\ASPDNSFGateways folder)

    However how do we add this Gateway to the list so we can select this under the Config wizard?

  2. #2
    deanfp is offline Senior Member
    Join Date
    May 2009
    Location
    Sweden
    Posts
    556

    Default

    Anyone?

    Hi

    We are trying to install a new payment Gateway but are having problems getting it to work with StoreFront.

    We have tested this gateway and it is working but now we need to put this into StoreFront. We have a dev website but when you go to complete the order it comes up with an error page.

    " Parser Error
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Access to the path 'C:\comtest\Web\checkoutreview.aspx.vb' is denied.

    Source Error:

    [No relevant source lines]


    Source File: /checkoutreview.aspx.vb Line: 1 "


    Our developer has created the file Commideav4.vb and this has been saved into the ASPDNSFGateways file. He also amended the Gateway.vb and checkoutreview.aspx.vb

    We are anxious to get this new payment gateway installed as we are currently doing all our orders manually and this results in a lot of refunds/errors.

    Would you let us know how we can install this gateway.

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

    Default

    You can add additional list of the payment gateway from the config wizard by doing the ff:

    From wizard.aspx add:
    Code:
    <<asp:ListItem Value="YourCustomGateway">Your Customer Gateway</asp:ListItem>
    From wizard.aspx.cs, open the {root}/admin/wizard.aspx file, find BuildGatewayList() method, and add:
    Code:
    gateWaysPerFeature.Add(new ListItem("YourCustomGateway"));
    As for the "Access to the path 'C:\comtest\Web\checkoutreview.aspx.vb' is denied." error you're getting, could you right click on that and make sure it's not a read-only file?

  4. #4
    deanfp is offline Senior Member
    Join Date
    May 2009
    Location
    Sweden
    Posts
    556

    Default

    MAny thanks

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

    Default

    Also, make sure when the user chose that, the appconfig: PaymentGateway value is updated with that gateway name as it tells the software what gateway to use.