Hi, I'm working on the commweb payment gateway integration and I've got the first part working okay I think, making the order etc - I've been using paypal as a template.
But one of the fields required by the 3rd-party payment system is a 'return URL' that it sends the browser back to with errors or completion messages etc. What value do I give as the return URL to be able to 'catch' it correctly back at my drupal site?
I can't see where the URL is in the paypal module, but I think I can see that it must return and run the function paypal_return() So I've made a function commweb_return but need to know how to make the return url to run it... does that makes sense?
Thanks for your help guys, I'm a bit new at this but I'm learning quickly and really appreciate the help from the community.

Comments
Progress made, however
Okay, I figured this out - I put 'www.site.com/drupalfolder/commweb/return' and it calls the function 'commweb_return' automagically.
HOWEVER, now it comes back, runs commweb_return and then tries to go to a page called "%25order-history' that doesn't exist - it says in ecsettings/rtypes/settings that I can set this as the return to view the user's order history... but it doesn't seem to work? Do I need to enable this page somehow?