Jump to content

Integrating Smart Focus Web Forms (HTTP Call Method) on Prestashop Registration


mywsbd

Recommended Posts

Can anyone direct me on how to implement http call method through prestashop registration...

 

Prestashop Version 1.6.0.14

 

HTTP Call URL:

http://testhost/D2UTF8?emv_tag=13434343000C21789BC541&emb_ref=Jb2yib2uCJZbDQFJJaYVMhVm3o7QnDoUOXH09LMS4qUFScRjtdWZn/o7fDUM6I1L-jsul77nL4ag&EMAIL_FIELD=XXXXXX&DATEOFBIRTH_FIELD=XXXXXX&EMVCELLPHONE_FIELD=XXXXXX&FIRSTNAME_FIELD=XXXXXX&LASTNAME_FIELD=XXXXXX&SEGMENT_FIELD=XXXXXX

 

  • Need to integrate within our web site through HTTP Call Method
  • Replace 'XXXX' by dynamic values placed in customer registration.
  • Call the URL below using AJAX or server-side code to interface on our ps customer registration form.
Edited by mywsbd (see edit history)
Link to comment
Share on other sites

Prestashop uses modules and hooks to achieve this type of feature

 

You would create a module that would "listen" for new customer registrations, and when a new registration is triggered you would then make your HTTP POST with the customer information.

 

You will need a knowledge of PHP, Prestashop design and coding skills to achieve this. 

 

IF you are looking for a developer to do this for you, feel free to contact me with your complete requirements and I can provide you with an estimate.

Link to comment
Share on other sites

Prestashop uses modules and hooks to achieve this type of feature

 

You would create a module that would "listen" for new customer registrations, and when a new registration is triggered you would then make your HTTP POST with the customer information.

 

You will need a knowledge of PHP, Prestashop design and coding skills to achieve this. 

 

IF you are looking for a developer to do this for you, feel free to contact me with your complete requirements and I can provide you with an estimate.

 

Thanks so much bellini13 for your immediate response and for the bit of information you gave. As of now I'm doing it via myself and we don't have any budget outsourcing for this customization. I just need a hand to easily understand this method or someone will give me a basic coding sample and or what files needed to be considered in order to achieve this simple requirements.

Edited by mywsbd (see edit history)
Link to comment
Share on other sites

I would suggest you start by reading the Developer Guide

http://doc.prestashop.com/display/PS16/Developer+Guide

 

once you understand how to create a module and how hooks work, then you can look at the Blocknewsletter module for an idea of how to use the "actionCustomerAccountAdd" hook.  This hook is called when a new account is created.  So you would use this hook to send the request to the remote server

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...