I have a website almost done for a villa rental. A user will enter the dates they want to book the villa for, then they will click a 'book now' button - which will take the user to a payment gateway provider website (securepaytech) where they will enter their credit card details.
I need to add some code - which I have been given by the gateway provider company - and insert it into the existing php code that comes with a joomla booking extension that I purchased. The code is fairly simple, it just passes the the amount of the rental booking, a reference number and merchant ID to the payment gateway provider's site. I just don't know where to put the code.
The code I need to integrate is -
<input type="hidden" name="amount" value="<25% of ice booking amount form" />
<input type="hidden" name="merchantID" value="TESTDIGISPL1" />
<input type="hidden" name="returnURL"
<input type="hidden" name="cancelURL"
<input type="hidden" name="orderReference" value="Ref-CustomerName"/>
<input id="sub" type="submit" value="Pay by Credit Card" />
Note: amount = 25% of the whatever the total booking is.
merchantID will be provided by [url removed, login to view] (TESTDIGISPL1 is valid and can be used for testing)
returnURL and cancelURL will be provided once the code is done.
The site is done using Joomla 2.5, and the Joomla booking extension I purchased is icebooking. There are many php files and functions to the icebooking system, as it is designed to integrate with PayPal, but I'm not using that integration at my client's request. So it is not totally straightforward, I am assuming you'd need to trace quite a bit of code to work out where to put the above code.
4 freelance font une offre moyenne de $213 pour ce travail
Dear Sir, I'm Electronics engineering and 15 year experience I have. I had worked 13 year at Reserch Institue in Turkey. I have generated several codes until. Languages which I know listed below. -C++ -Visual C++ - Plus