Joomla php code small mod - pass function vars to site

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 -

<form action="https://merchant.securepaytech.com/paymentpage/index.php"

method="post" id="mypaymentform">

<input type="hidden" name="amount" value="<25% of ice booking amount form" />

<input type="hidden" name="merchantID" value="TESTDIGISPL1" />

<input type="hidden" name="returnURL"

value="http://www.mywebsite.html" />

<input type="hidden" name="cancelURL"

value="http://www.mywebsite/pre-payment.html" />

<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.

Compétences : Javascript, Joomla, PHP

en voir plus : php code function, rental booking, rental book, php code for booking system, php code for, paypal extension for joomla, number function, javascript credit card, index bit, id to code, ice com, function number, code that, book rental site, book rental company, book rental.com, bit index, add card to paypal, add a credit card to paypal, index php id, villa, type code, php credit, php code, payment system joomla

Concernant l'employeur :
( 2 commentaires ) Peppermint Grove, Australia

Nº du projet : #1663585

Décerné à:


Please check PMB

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% AUD en 2 jours
(347 Commentaires)

4 freelance font une offre moyenne de $213 pour ce travail


Let me do it quickly!

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% AUD en 5 jours
(76 Commentaires)

joomla/php team

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% AUD en 2 jours
(9 Commentaires)

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

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% AUD en 4 jours
(0 Commentaires)