Pretty easy.... edit photo_shop_checkout.php
before
//pay by wire
add
if ($CONFIG['photo_shop_cc_enable'] && $order_price > 0) {
$msg_box_txt .= <<<EOT
EOT;
}
Between the EOTs write the html necessary for your billing system. Have a llok at the paypal and google versions. These should teach you what to do.
Finally enable Credit Card payment in the shop config.
Thanks Stramm
I just have one problem the HTML Script Worldpay gave me is below, but i think its more for static payment options like if you have a buy now button on your web page where the price stays the same. How can i populate the script with the final price from the shopping cart as this will be different every time?
--
<!-- The first line of code specifies the URL for our test environment.-->
<form action="
https://select-test.worldpay.com/wcc/purchase" method=POST>
<!-- This next line contains the testMode parameter - it specifies that the submission is a test submission -->
<input type=hidden name="testMode" value="100">
<!-- This next line contains a mandatory parameter. Put your Installation ID inside the quotes after value= -->
<input type=hidden name="instId" value="231463">
<!-- Another mandatory parameter. Put your own reference identifier for the item purchased inside the quotes after value= -->
<input type=hidden name="cartId" value="Online Gallery">
<!-- Another mandatory parameter. Put the total cost of the item inside the quotes after value= -->
<input type=hidden name="amount" value="50.00">
<!-- Another mandatory parameter. Put the code for the purchase currency inside the quotes after value= -->
<input type=hidden name="currency" value="GBP">
<!-- This creates the button. When it is selected in the browser, the form submits the purchase details to us. -->
<input type=submit value=" Buy This ">
</form>