I think you should add all variables to form in hidden fields, you can just place submit button "Go to payment system" or something like that. All variables should be visible in site when you send order because there is shown order summary so you can get variables you want from there.
bomahony
2007-07-03 20:55
hmm. what i actually want is for it to go straight from the order page, when they submit the order, it goes straight to the payment processor.
I see in another thread, you said to use orders_payments but this template doesnt seem to be in 2.X
So when they click on the send button, i want it to process it into the order list in the admin panel, and also post the follwoing variables:
Link you can just move to other menu. About payment system place that form in file templates/order_summary.tpl With all items ordered may be problem because you should use listBasket function and some other template to generate list of items
bomahony
2007-09-19 13:01
Can someone help me where to/how to write the code for this?
did you try to place is in file templates/order_summary.tpl as i wrote? if it works i understand you need only items list added to that form? you can use function listBasket but with different tpl file, for example add in file actions_admin/orders.php before line: $content .= $tpl->tbHtml( 'orders_summary.tpl', 'SHOW' ); line: $sBasketList = listBasket( $iOrder, 'orders_basket_for_payment.tpl' ); and create file templates/orders_basket_for_payment.tpl for that, you have example with files orders_summary.tpl, orders_delivery.tpl, orders_basket.tpl.