Copied to clipboard

Flag this post as spam?

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


  • Puck Holshuijsen 184 posts 727 karma points
    May 08, 2023 @ 06:45
    Puck Holshuijsen
    0

    Order deleting/creating pipeline/taskflow

    Hi Matt,

    Is there some sort of taskflow/pipeline on cart creation/deletion? What I am experiencing, is when I delete a Cart - automatically a new one is created. Which normally wouldn't be an issue, but I need my own flow of creating a cart because of assigning it to customers and setting certain data beforehand.

    I am using the VendrApi.Instance.DeleteOrder(GUID) to delete my cart.

    Thanks!

    Puck

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    May 08, 2023 @ 08:13
    Matt Brailsford
    100

    There is no workflow around order creation or deletion unless you go via the session manager and one of its “Create” methods. Do you have any rogue “GetOrCreate” method calls on the session manager that is then creating the cart after it is deleted?

  • Puck Holshuijsen 184 posts 727 karma points
    May 08, 2023 @ 08:17
    Puck Holshuijsen
    1

    Ahhh yeah! Just found 2 rogue ones! Thanks Matt

Please Sign in or register to post replies

Write your reply to:

Draft