Đang Thực Hiện

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" />

</form>

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.

Kỹ năng: Javascript, Joomla, PHP

Xem thêm: 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

Về Bên Thuê:
( 2 nhận xét ) Peppermint Grove, Australia

Mã Dự Án: #1663585

Đã trao cho:

rabbul

Please check PMB

$150 AUD trong 2 ngày
(347 Đánh Giá)
7.7

4 freelancer đang chào giá trung bình $213 cho công việc này

Risalat1

Let me do it quickly!

$250 AUD trong 5 ngày
(76 Đánh Giá)
6.4
itconsultindia

joomla/php team

$250 AUD trong 2 ngày
(9 Đánh Giá)
2.9
RLT

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++ - Thêm

$200 AUD trong 4 ngày
(0 Đánh Giá)
0.0