Announcement

Collapse
No announcement yet.

calling an "external" perl script after checkout

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    calling an "external" perl script after checkout

    BACKGROUND: We have a perl script (it's a simple script that does a file copy). I want the script to run after a successful checkout.

    QUESTION 1: Where would this be placed? (I was looking at the DispatchCommands subroutine within CartManager.pl...??)

    QUESTION 2: Would a simple system function work for this? i.e.
    Code:
    $status = system("rodney.pl");

    Thanks.
    Kristin.

    #2
    calling an "external" perl script after checkout

    Originally posted by Kid Amaro
    BACKGROUND: We have a perl script (it's a simple script that does a file copy). I want the script to run after a successful checkout.

    QUESTION 1: Where would this be placed? (I was looking at the DispatchCommands subroutine within CartManager.pl...??)

    QUESTION 2: Would a simple system function work for this? i.e.
    Code:
    $status = system("rodney.pl");

    Thanks.
    Kristin.
    I've been working on this as well! I've heard it's possible and has been done before, however, I haven't had any luck yet. If someone out there knows how to do it, please give us a clue! Thanks!

    SR

    Comment


      #3
      Hello

      I have asked the development team if they could give some pointers on this.
      Will post back findings here.
      Krithika Chandrasekar
      SellerDeck

      sigpic

      E-commerce software by SellerDeck

      Comment


        #4
        Hello

        As per the reply from the development team you could place the call for the external script at the end of sub DisplayReceiptPhase in OrderScript.pl. Please note that we do not support advanced Perl script customisation, hence this has not been completely tested.

        If at any point, you wish to revert to the unmodified version of the script, you can copy it over from C:\Program Files\Actinic v7\Original
        Hope this helps.
        Krithika Chandrasekar
        SellerDeck

        sigpic

        E-commerce software by SellerDeck

        Comment

        Working...
        X