i am using 1.3 its working fine, problem is that, after filling the information to Order Delivery Form, with submit button i want to transfer all the filled information to PAYPAL shopping cart i dont want PAYPAL image button????? -------------------------------------------------------------- here is code for my orders_payment.tpl ---------------------------------------------------------------
chaudhary - as I pointed you before you should add to orders_payment.tpl to onload event a piece of java script code who submit the paypal form something like:
i added the Script but no any change, ------------------------------------------------------- stil it showing the PayPal Button with (PAYPAL Click here to Pay) image. ----------------------------------------------------------------------------- i donot want this i want to skip this page and go rirectly to paypal cart, after clicking on send button on ODER DELIVERY ADDRESS FORM --------------------------------------------------------------------------------
chaudhary - the code provided was not a solution but a pointing out to solution. Ok, try this: - change <form target="paypal" name="_$iOrder" action="https://www.paypal.com/cgi-bin/webscr"; method="post">
to <form target="paypal" name="PayPalForm" action="https://www.paypal.com/cgi-bin/webscr"; method="post">
- the script shoul look like <script type='text/javascript'> <!-- window.onload = function( ){ document.PayPalForm.submit(); } //--> </script>