Copied to clipboard

Flag this post as spam?

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


  • Gordon Saxby 1347 posts 1608 karma points
    Jan 23, 2014 @ 22:12
    Gordon Saxby
    0

    Set product as sold

    The site I am working on sells individual products, so once the SagePay process has completed I need to set the product as "not available".

    Where / how is the best way of doing that? Do I need to capture an event in .Net? Do I just write it in the "Confirmation" template (with Razor)?

  • Gordon Saxby 1347 posts 1608 karma points
    Jan 23, 2014 @ 22:44
    Gordon Saxby
    0

    OK - I think I have figured it out - I have the following

    NotificationCenter.Order.Finalized += TC_OrderFinalised

    To capture the event when the order is marked as paid, on return from Sage (is that correct?).

    I then loop through the order lines to update each product.

  • Anders Burla Johansen 2560 posts 8256 karma points
    Jan 24, 2014 @ 15:01
    Anders Burla Johansen
    0

    That is correct. Use the NotificationCenter

    Kind regards
    Anders

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies