How can I save the user orders without paying?

Last post 01-13-2008 9:20 AM by mohi88. 3 replies.

Sort Posts:

  • How can I save the user orders without paying?

    01-13-2008, 2:58 AM

    hello all

    I have downloaded this website from here

    http://dashcommerce.org/

    What I want to do is when a user checkout his order it well be saved to the database without paying prosess, so the admin can check the orders

    How can I do that?

    please help me out

  • Re: How can I save the user orders without paying?

    01-13-2008, 4:58 AM
    • Loading...
    • mohi88
    • Joined on 02-06-2004, 4:21 AM
    • jordan / Turkey
    • Posts 603

    on the app_\BusinessLogic\ordercontroler.cs there is a method that can create the order without payment

    public static void CreateStandardOrder()

    you may redirect make order button click to invoke that method and create the order.

    i recommend you to understand the logic of dashcommerce application. it uses a m-v-c model there for every request pass from the controller   first after that the controller redirect the request to related section.

    hope that helps. 

    Muhanad YOUNIS
    MCSD.NET
    My Blog || My Photos

    [Don't forget to click on Mark as answer on the post that helped you.]
  • Re: How can I save the user orders without paying?

    01-13-2008, 5:38 AM

    Thanks Mohi88, I'll try that

    but what I dont understand is what is m-v-c model?

    would you please explane?

     

    ty

  • Re: How can I save the user orders without paying?

    01-13-2008, 9:20 AM
    • Loading...
    • mohi88
    • Joined on 02-06-2004, 4:21 AM
    • jordan / Turkey
    • Posts 603

    mvc is model- view - controller

    that means the presentation level is separated  from the business layer and data. no direct connection between the presentation layer and data layer, any request from the presentation layer must first pass from controller and after that the request is redirected to data layer.

    hope this helps.

    notice: m-v-c came with asp.net 3.0 as an extension and with asp.net 3.5 as a part of it.

     

    Muhanad YOUNIS
    MCSD.NET
    My Blog || My Photos

    [Don't forget to click on Mark as answer on the post that helped you.]
    Filed under: , ,
Page 1 of 1 (4 items)
Microsoft Communities
Page view counter