Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • MK 429 posts 905 karma points
    Feb 01, 2014 @ 14:48
    MK
    0

    Hi there,

    1. Can anyone let me know what is the different between the following:

    a. New and Complete Orders (will success payment change order status to complete?)

    b. Order and Cart (in search section)

    2. On payment recieved (my case is paypal) how do I relate between the order to the user?

    Im using the following method :

       void Order_Finalized(Order order)

            {

            }

    Is it possible to get user Id and Node Id here?

     

    In my shop only reg and login users can purchase.

     

    Thanks

    Moshe

     

  • Anders Burla 2560 posts 8256 karma points
    Feb 04, 2014 @ 13:36
    Anders Burla
    0

    Hi

    1. The "New" and "Complete" order status is just a label the order has. A cart is an unfinished order. So you can create new kind of order statuses and assign to the order.

    2. This event is fired from server to server so you dont have the user session available. You need to set it in another step. There you have the customer session and can set the order.CustomerId information.

    Kind regards
    Anders

  • MK 429 posts 905 karma points
    Feb 04, 2014 @ 13:38
    MK
    0

    So basically I need to set the userId before redirecting to paypal?

    Will I get it back upone Order_Finalized?

    Cheers


    Moshe

  • Anders Burla 2560 posts 8256 karma points
    Feb 04, 2014 @ 16:26
    Anders Burla
    0

    If a member is logged in when a cart is created then we auto assign the customer id. Else you have to write your login/log out code so that you set the customer id of the order if a member logs in or logs out. You properly use some C# code to do that already - so just extend it.

    Kind regards
    Anders

  • MK 429 posts 905 karma points
    Feb 08, 2014 @ 20:39
    MK
    0

    Hi Andres,

    Many thanks for your reply.

    Any chance you can help me figure out why I see paypal as an Item on the paypal page?

     

     

     

    Cheers,

    Moshe

Please Sign in or register to post replies

Write your reply to:

Draft