We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23491 ☆ A M B ☆
    • 1,056 Posts
    Quote from: jwestyp at Aug 30, 2010, 09:31 PM

    Bump....

    I am stumped. WebLoginPE has very little integration instructions for use with foxycart. I need some help if you are up for the challenge.

    Thanks!

    The WebLoginPE API can be invoked at any time, as necessary. You can use the WLPE Register() method to help streamline MODx Web User creation. Simply reference the user data contained within the FoxyCart XML datafeed (as The Man Can! mentioned) and you’re all set! cool
      Mike Reid - www.pixelchutes.com
      MODx Ambassador / Contributor
      [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
      ________________________________
      Where every pixel matters.
      • 15143
      • 9 Posts
      That makes some sense, but as I am still a bit rusty, it is a little harder than I remember. Any examples of the code to invoke the API and how they talk to each other?
        • 23491 ☆ A M B ☆
        • 1,056 Posts
        Quote from: jwestyp at Sep 01, 2010, 08:01 PM

        That makes some sense, but as I am still a bit rusty, it is a little harder than I remember. Any examples of the code to invoke the API and how they talk to each other?

        I have no public code examples available, but reviewing the API via "assets/snippets/webloginpe/webloginpe.class.php" file directly combined with some of the API documentation should definitely help.

        Quote from: "WLPE

        Register( string $regType, string $groups, string $regRequired, string $notify, string $notifyTpl, string $notifySubject )
        Inserts a new user into the database.

        @param string $regType ’instant’ or ’verify’
        @param string $groups which webgroup(’s) should the new user be added to.
        @param string $regRequired Comma separated list of required fields.
        @param string $notify Comma separated list of emails to notify of new registrations.
        @param string $notifyTpl Template for email notification message.
        @param string $notifySubject Subject line for email notification.
        @return void
        @author Raymond Irving
        @author Scotty Delicious

        You can consider running MODx in API-Mode:

        http://wiki.modxcms.com/index.php/Use_AJAX_with_modxAPI#Differences_and_conclusions

        ...and using MODx runSnippet() to invoke "WebLoginPE" directly:

        http://wiki.modxcms.com/index.php/API:runSnippet


        You can get examples of the FoxyCart XML Datafeed here: http://wiki.foxycart.com/v/0.7.0/advanced/transaction_xml_datafeed and use the Test FoxyCart XML Datafeed Generator scripts to help you build it.
          Mike Reid - www.pixelchutes.com
          MODx Ambassador / Contributor
          [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
          ________________________________
          Where every pixel matters.
          • 15143
          • 9 Posts
          Thank you. I will try it this weekend.