
Resolve issue with PHP script saving wrong URL into field Zoho
- or -
Post a project like this1108
£104(approx. $139)
- Posted:
- Proposals: 11
- Remote
- #3538788
- Completed
Website Designer and Developer in PHP,Wordpress,Freekore Framework,Codingnigter,CSS,Jquery and Javascript
Top rated PHP Web Development | WordPress | Magento | Drupal | OpenCart | PrestaShop | Joomla

Full Stack Developer| POS System Expert | Hybrid Mobile Application Developer | Web APP Developer | Graphic Designer | UI/UX

3712647504159141195050126024295239885794673926910269105075416524526909613





Description
Experience Level: Entry
Estimated project duration: 1 day or less
We had a PHP "middleware" written that accepts submissions from website forms via Curl and then writes these into Zoho CRM using the Zoho API.
This is working, however we have a problem with the page URL that is being saved isn't correct and this means the data written into Zoho is not correct.
When there is an error, an email is sent to us, below is an example of the email error, with personal details removed for privacy.
You'll see that the script has picked up the Page URL as the email from Send grid (SendGrid is what we use for the website to send emails), but it should be picking up the PageURL as the page the form was submitted from.
The reason this is important is that another part of the script then "processes" the PageURL and extracts the page and uses that to define the Practice Location in certain cases.
An example of the form url would be https://together.dental/contact/, so this is what should be in the PageURL field.
(
[First_Name] => removed
[Last_Name] => removed
[Email] => remove@btinternet.com
[Phone] => 07777777775
[Description] => Hi
I test removed for privacy
[Practice_Location] => Watton
[Page_URL] => https://u23564060.ct.sendgrid.net/ls/click?upn=PbMqVAlk3yieHy-2BX-2Fpf7tgIkvElrJWKI6P7yZLy-2F8Lf9rpQpmHzNDLdgzsia2HQj6c5h_pGxwouzDgm5QiDoADxfTOcA2or5Kyn2TCTLwdFtTAcMD2AU0jCIgBYkghp5ly3JQfjAtviB8ez2qP-2BtHDH6GZR6ejWDEcwUlifo-2F95nejUvPFentVrU5KnX-2BsCS9c1I25lP2Bfav0BzXwRsqQlwUdqMRVlGhA8lsbjbf-2BNooOLP-2FpT4leAH2GH0045VMKVAzVUD929RFji9ZJ7xwjvQrFy4fwODp0Y2iFT-2FBpSk7xhU-3D
[Enquiry_Type] => Practice enquiry
[Treatment_Type] =>
[Owner] => 272431000001596240
[Lead_Source] => Website
[Lead_Status] => Not Contacted
[Form_Title] => Mainsite Form - On Treatment Pages
)
UPDATE
We are also getting a few forms submissions that come through like the attached example, so we need to resolve this too.
We require ongoing support for this website, so in this instance we are looking for a fixed & final price to resolve this issue.
All code is held in a Github repo and access will be granted to the repo.
An admin login will be provided for Wordpress
A staging website is available for testing and any deployments to the Develop branch will automatically be uploaded to the staging website.
No direct access will be given to the server, including FTP, SSH, Plesk etc to avoid the repo becoming out of sync.
If you have any questions, we'd kindly request that you post them on the job board here rather than contacting us directly.
We have ongoing work and multiple projects that we require PHP/developer support with, so we are looking to form a long term partnership with a provider who can communicate well, is prompt in responses and will conduct their work in a timely manner.
We run on Zoho and will add you to a Zoho Cliq channel so that you can communicate directly with us. We may also add you to our Zoho Projects tool and require you to update tasks within that tool
Please do not submit any proposals in the first 10 minutes, we'll assume these are all generic/template responses and will be rejected.
This is working, however we have a problem with the page URL that is being saved isn't correct and this means the data written into Zoho is not correct.
When there is an error, an email is sent to us, below is an example of the email error, with personal details removed for privacy.
You'll see that the script has picked up the Page URL as the email from Send grid (SendGrid is what we use for the website to send emails), but it should be picking up the PageURL as the page the form was submitted from.
The reason this is important is that another part of the script then "processes" the PageURL and extracts the page and uses that to define the Practice Location in certain cases.
An example of the form url would be https://together.dental/contact/, so this is what should be in the PageURL field.
(
[First_Name] => removed
[Last_Name] => removed
[Email] => remove@btinternet.com
[Phone] => 07777777775
[Description] => Hi
I test removed for privacy
[Practice_Location] => Watton
[Page_URL] => https://u23564060.ct.sendgrid.net/ls/click?upn=PbMqVAlk3yieHy-2BX-2Fpf7tgIkvElrJWKI6P7yZLy-2F8Lf9rpQpmHzNDLdgzsia2HQj6c5h_pGxwouzDgm5QiDoADxfTOcA2or5Kyn2TCTLwdFtTAcMD2AU0jCIgBYkghp5ly3JQfjAtviB8ez2qP-2BtHDH6GZR6ejWDEcwUlifo-2F95nejUvPFentVrU5KnX-2BsCS9c1I25lP2Bfav0BzXwRsqQlwUdqMRVlGhA8lsbjbf-2BNooOLP-2FpT4leAH2GH0045VMKVAzVUD929RFji9ZJ7xwjvQrFy4fwODp0Y2iFT-2FBpSk7xhU-3D
[Enquiry_Type] => Practice enquiry
[Treatment_Type] =>
[Owner] => 272431000001596240
[Lead_Source] => Website
[Lead_Status] => Not Contacted
[Form_Title] => Mainsite Form - On Treatment Pages
)
UPDATE
We are also getting a few forms submissions that come through like the attached example, so we need to resolve this too.
We require ongoing support for this website, so in this instance we are looking for a fixed & final price to resolve this issue.
All code is held in a Github repo and access will be granted to the repo.
An admin login will be provided for Wordpress
A staging website is available for testing and any deployments to the Develop branch will automatically be uploaded to the staging website.
No direct access will be given to the server, including FTP, SSH, Plesk etc to avoid the repo becoming out of sync.
If you have any questions, we'd kindly request that you post them on the job board here rather than contacting us directly.
We have ongoing work and multiple projects that we require PHP/developer support with, so we are looking to form a long term partnership with a provider who can communicate well, is prompt in responses and will conduct their work in a timely manner.
We run on Zoho and will add you to a Zoho Cliq channel so that you can communicate directly with us. We may also add you to our Zoho Projects tool and require you to update tasks within that tool
Please do not submit any proposals in the first 10 minutes, we'll assume these are all generic/template responses and will be rejected.

Amplify Sales
100% (5)Projects Completed
6
Freelancers worked with
5
Projects awarded
57%
Last project
25 Mar 2022
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies