megaweb 2005-05-24 17:05 | open the file templates/default/orders_saved.tpl
add the stormpay form right under this code: <br /><br /><br /><br /> $lang[Order_finished] <br/>
<b><---start stormpay form---></b> <form method="post" action="https://www.stormpay.com/stormpay/handle_gen.php"> <input type="hidden" name="PHPSESSID" value="5739cc87a0847047d91992746cd6a810uacdcopdjalhhihxkvoqtvlnuc152319&quo t; /> <input type=hidden name=generic value="1"> <input type=hidden name=payee_email value="YOUR_EMAIL@DOMAIN.COM"> <input type=hidden name=product_name value="Order ID $iOrder"> <input type=hidden name=amount value="$fSummary"> <input type=hidden name=quantity value="1"> <input type=hidden name=return_URL value="http://www.YOURURL.com/"> <input type=hidden name=cancel_URL value="http://www.YOURURL.com/"> <input type=image src="http://megaweb.cjb.cc/payoptions/stormpay.gif"> </form> <b><---end stormpay form---></b>
For e-gold use this form:
<b><---start egold form---></b> <form action="https://www.e-gold.com/sci_asp/payments.asp" method="POST"> <input type="hidden" name="PAYEE_ACCOUNT" value="EGOLD ACCOUNT NUMBER HERE"> <input type="hidden" name="PAYEE_NAME" value="YOUR NAME"> <input type=hidden name="PAYMENT_AMOUNT" value=$fSummary> <input type=hidden name="PAYMENT_UNITS" value=1> <input type=hidden name="PAYMENT_METAL_ID" value=1> <input type="hidden" name="STATUS_URL" value="mailto:YOUR_EMAIL@DOMAIN.COM"> <input type="hidden" name="NOPAYMENT_URL" value="http://www.YOURURL.com/"> <input type="hidden" name="NOPAYMENT_URL_METHOD" value="LINK"> <input type="hidden" name="PAYMENT_URL" value="http://www.YOURURL.com/"> <input type="hidden" name="PAYMENT_URL_METHOD" value="LINK"> <input type="hidden" name="BAGGAGE_FIELDS" value="CUSTOMERID"> <input type="hidden" name="CUSTOMERID" value="0"> <input type="hidden" name="SUGGESTED_MEMO" value='Order ID $iOrder'> <input name="image" type="image"" value="Purchase Now" src="http://megaweb.cjb.cc/payoptions/egold.gif" alt="Make Payment With E-Gold" border="0" PAYMENT_METHOD> </form> <b><---end egold form---></b> greetz from Amsterdam. |
megaweb 2005-05-24 17:07 | <b><---start stormpay form---></b> don't copy these kind of lines into the code! greetz from Amsterdam. |