You need to sign in to do that
Don't have an account?
madbarber
php interface
Hi,
I'm starting from scratch, and I'm supposed to create a web interface where customer can enter their enquiries and then it should automatically create a new case in salesforce. I thought about doing that by a HTML-Form which sends data to a php script which is going to insert the data into salesforce. Is it possible that way? Am I going right? What do I need to send SOAP requests by php? Do I need that 'Axis' plugin running on my webserver?
Thank you very much for answers!
I'm starting from scratch, and I'm supposed to create a web interface where customer can enter their enquiries and then it should automatically create a new case in salesforce. I thought about doing that by a HTML-Form which sends data to a php script which is going to insert the data into salesforce. Is it possible that way? Am I going right? What do I need to send SOAP requests by php? Do I need that 'Axis' plugin running on my webserver?
Thank you very much for answers!
Have you checked out the Web-to-Case functionality that's available without doing any external coding?
You simply build two pages for hosting on your Web site: one containing the form to collect the data, and the second confirming that the information was received. The form posts data to a URL on salesforce, which creates the case.
Better yet, salesforce.com will generate the HTML for the form (Setup/Self-Service/Web-to-Case) for you. You'll most likely tune the results for look and feel, but all the critical moving parts are included automatically.
That's of course a much shorter way to go, eh?
I'm gonna check that out. Thank you very much!
Thank you!
I'm not sure I can help much with that ... I've never had a problem with it.
Can anyone else help?
FYI:
an example that works includes the code:
[input type=hidden name="retURL" value=http://ebisweb.selectbs.com]
(where the square brackes are replaced with gt,lt)
Well, I'm sending that too by:
[input type=hidden name="retURL" value="http://www.paykiosks.net/Thank_you.htm"]
but it seems like it wouldn't work... :(
I'm always redirected to this page:
http://www.salesforce.com/servlet/servlet.WebToCase?encoding=UTF-8
anyone know why? Thank you!
Hey Scot, thank you for your hints anyway!
Do you know where I can get some support on that issue? Thank you!
Do you want to post the URL of your case entry page? Perhaps we could look at the HTML?
If you have a customer account (or a trial account, for that matter), I'd also suggest that you contact salesforce support via phone or by logging a case under the Help & Training link.
(The Web-to-Case feature is part of the normal salesforce domain, rather than sforce's)
Of course can I, it's on http://www.paykiosks.net/web-to-case.htm
Aha!
You're running in debug mode.
Just past the beginning of the form, there are two lines:
[input type="hidden" name="debug" value=1]
[input type="hidden" name="debugEmail" value=support@paykiosks.net]
Remove these and your form should function correctly.
yeSS, that's it, thank you very much! :) It now works successfully!