Forums

Joomla registration form to Salesforce by CURL plugin

iris0104 21 Nov, 2009
Hello, firstly i would thank you for making this amazing component out for Joomla! users. really powerful and easy to use...

i got an issue with CURL plugin --- i am building a site, and we would like to have user's information go to Salesforce after user submit their info by a customized CF form(we used it to replace generic Joomla registration form---it has CURL/Joomla registration/Multilanguage plugin enabled), i followed the instruction on CURL plugin's help. when i sent out the test info, i could see user is created in Joomla, but in Salesforce there is nothing come in... i don't know what i did wrong. when i disable CURl and simply put Salesforce URl in "submit URl" field of form parameters, it works fine, but of course the registration won't work any more😟

here i attached a debug shot

cf_CURL debug info
$curl_values: oid=00D00000000hXP7&lead_source=Oceanwide+Site&full_name=&first_name=owreg&last_name=test&email=ttd%40hotmail.com&company=ow&Title2=manager&phone=5148788222&URL=wisy.com&street=sadffds&city=toronto&zip=h1v3f5&state=Ontario&country=Canada
$params->target_url: http://ssl.salesforce.com/servlet/sales.servlet.WebToLead
$ch: Resource id #120
CURL response: 


really appreciate... if i could have a solution before Monday...
GreyHead 21 Nov, 2009
Hi iris0104,

The dubug code looks OK. I assume that youve beenthrough it in more detail than I have.

There's a previous thread about posting to SalesForce where the posting was successful - apart from SalesForce's non-standard treatment of array variables. You might want to look that up.

Bob
iris0104 21 Nov, 2009
thank you for quick reply.Bob.

i've searched read some posts in forum, and there is a post with "Salesforce and CURL" and another one titled"Acajoom, post behind the scenes no redirect - SOLVED" which including your detail instruction in using CURL with Salesforce.

"Salesforce and CURL"--seems like my case, but it is resolved by upgrading CF to version rc5.5--my current version is already 3.1RC5.5. and i noticed their Salesforce target URL is SSL/https(mine is http://ssl.salesforce.com/servlet/sales.servlet.WebToLead).


"Acajoom, post behind the scenes no redirect - SOLVED" i followed the steps in your instruction carefully(just skipped install CURL plugin step--because it came with CF installation ).but there is no effect...

thanks again.
GreyHead 21 Nov, 2009
Hi iris0104,

I'm not sure where to go from here. If you want to PM or mail me a Superadmin login and the site url then I'll take a look and see if I can spot anything.

Bob
iris0104 22 Nov, 2009
hi, Bob,

i've send u the login info by PM and mail.

really appreciate for your help!
GreyHead 22 Nov, 2009
Hi iris0104,

I took a look at your form and I don't see anything wrong at the ChronoForms end. The next step woudl be to carefully check all the field names against the SalesForce docs and make sure that everything being sent is what they expect.

If that all looks OK setup a very simple form with the minimum number of fields (one is best) and debug the interface using that.

Bob

PS I moved a couple of fixed data fields out of the form HTML and into the CURL set up. Usually you don't want to show your SalesForce ID in the form code. I also tested with the https://www.salesforce.com/servlet/servlet.WebToLead URL but didn't see any difference in the respose. However I can't see your SalesForce account to know if anything registered there.
iris0104 22 Nov, 2009
hi, Bob

i found something interesting:

this morning i did test use my local dev/testing server in my computer, seems both registration and SF web to lead works fine. but while i tested on the prduction server,the case still the same--- i can see user registered on backend, but SF has nothing received.

so i guess it is probably the php CURL issue on production server(but i could access CF's CURL conf interface-- if CURL is not enabled,it will say CURL is not found on this server, right)?
iris0104 23 Nov, 2009
hi, Bob

the issue is resolved-- production server has company's security policy blocks out-going http/https request. after sit with IT dept and modify the policy, the problem is gone.

Really, Really thank u for your efforts/time in helping me test it. and CF is definitely a powerful , elegant and easy-to-use webform solution for a graphic designer with no php knowledge(like me), before i spent tons of time in Drupal and search for a module like that, but just got frustrated... i came from traditional design background, and never imagine one day i could do both design and develop.//i will spread the words, and hoping more people use Cf and make the community more active.

thanks again!
GreyHead 23 Nov, 2009
Hi iris0104,

That makes perfect sense - but that explanation wouldn't have occurred to me for a while :-( Well solved.

Bob
iris0104 23 Nov, 2009
hi Bob
:) i just wanna thank u for another post concerning merge first name and last name in CF into joomla registration name -- since SalesForce using separate name string for lead but Joomla doesn't, your solution is simply brilliant...
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger