We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Calling an EE Extension from a callback URL

Development and Programming

bryantAXS's avatar
bryantAXS
50 posts
about 15 years ago
bryantAXS's avatar bryantAXS

I’m starting a shopping cart project where my cart will send back an an XML feed as a GET param to a file that I specify on my site. I’m not sure the best way to approach this?

Do I create an module + extension where I add a simple tag into a template that I direct the callback url to go to, or am I able to call and access code within an extension by calling an extension directly in the callback url… for example:

http://mysite.com/system/expressionengine/third-part/shopaddon/file_to_be_called.php

I was looking at a few other extensions that use external callback urls like this, and they use urls that go directly to the control panel and call various exentions like this: http://marwen.local/system/index.php?D=cp&C=addons_extensions&M=extension_settings&file=eehive_flickr

Any help or guidance into the correct direction would be appreciated,

thanks!

Bryant

       
Focus Lab Dev Team's avatar
Focus Lab Dev Team
1,129 posts
about 15 years ago
Focus Lab Dev Team's avatar Focus Lab Dev Team

It sounds like you might want to register a module action and use a URL like http://mysite.com/?ACT=33 where ‘33’ refers to your module and a specific method therein.

There’s not a lot of good documentation about this so if you have questions let me know.

       
bryantAXS's avatar
bryantAXS
50 posts
about 15 years ago
bryantAXS's avatar bryantAXS

Thats exactly the push I needed. I’ll do some investigation get back in touch with any questions.

Thanks Erik!

       
Focus Lab Dev Team's avatar
Focus Lab Dev Team
1,129 posts
about 15 years ago
Focus Lab Dev Team's avatar Focus Lab Dev Team

Great! I’ll say that at first these module actions confused me due to a lack of documentation. I’m happy to help if you hit a roadblock (now that I use them often 😊)

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.