Relative Server Path code for Payment Integration.
Autor: Babatunde O.I have set up the website www.security-boost.com but have problems creating the proper codes to link payment files for the Payment processing system. I am not a developer but the payment processing company provided sample codes to use. Two (2) critical sample codes have been provided in files "Samplegg4payment.php" and "process.php". I worked with the people at the payment processing company and they put me through all parameters to change in the sample codes. Now, I am supposed to enter these files and link them using Relative Server Path in the Expert Tab under the section for Files Linked to HTML Code in Statistics, SEO and Code in "Advanced Settings". How do I code the relative path for these files? I guess the files will be in the Cart sub-directory which is in the root directory.
I entered <link rel="process" href="cart/process.php"> and
<link rel="Samplegg4payment" href="cart/Samplegg4payment.php> respectively and received wrong URL message when I tried to process payment on the site. Meanwhile I was supposed to be taken to the Payment Page set up by the Payment Processing company. Can anybody please help advice to resolve the issue?
Hello Babatunde O.,
Unfortunately I cannot help you with the use of custom code, but if you have any doubts or issues on how to add them in the pages you made with WebSite X5 you can ask me. Generally speaking since the functions do not depend on WebSite X5, you can search useful information about the custom code with search engines like google or wait until someone on the community of Answers can help you.
I would suggest you in any case to use the absolute path in your codes so it will work correctly from every position.
Many thanks!