Forums

post to payment

finc 21 Mar, 2010
I have this example form and I would like to use the post function to make the payment beside
the normal way receiving the filled form as an email and send a copy to the person who filled the form.
This example is kept very simple with no fields. The question is not how to make an email template.

Where to put the form code to post look first line here below:

<form action="https://ssl.verkkomaksut.fi/payment.svm" method="post">
<input name="MERCHANT_ID" type="hidden" value="13466">
<input name="ORDER_NUMBER" type="hidden" value="123456">
<input name="REFERENCE_NUMBER" type="hidden" value="">
<input name="ORDER_DESCRIPTION" type="hidden" value="Testitilaus">
<input name="CURRENCY" type="hidden" value="EUR">
<input name="RETURN_ADDRESS" type="hidden" value="http://www.esimerkki.fi/success">
<input name="CANCEL_ADDRESS" type="hidden" value="http://www.esimerkki.fi/cancel">
<input name="NOTIFY_ADDRESS" type="hidden" value="http://www.esimerkki.fi/notify">
<input name="TYPE" type="hidden" value="5.1">
<input name="CULTURE" type="hidden" value="fi_FI">
<input name="CONTACT_TELNO" type="hidden" value="0412345678">
<input name="CONTACT_CELLNO" type="hidden" value="0412345678">
<input name="CONTACT_EMAIL" type="hidden" value="esimerkki@esimerkki.fi">
<input name="CONTACT_FIRSTNAME" type="hidden" value="Matti">
<input name="CONTACT_LASTNAME" type="hidden" value="Meikäläinen">
<input name="CONTACT_COMPANY" type="hidden" value="">
<input name="CONTACT_ADDR_STREET" type="hidden" value="Testikatu 1">
<input name="CONTACT_ADDR_ZIP" type="hidden" value="40500">
<input name="CONTACT_ADDR_CITY" type="hidden" value="Jyväskylä">
<input name="CONTACT_ADDR_COUNTRY" type="hidden" value="FI">
<input name="INCLUDE_VAT" type="hidden" value="1" />
<input name="ITEMS" type="hidden" value="2">
<input name="ITEM_TITLE[0]" type="hidden" value="Tuote #101">
<input name="ITEM_NO[0]" type="hidden" value="101">
<input name="ITEM_AMOUNT[0]" type="hidden" value="1">
<input name="ITEM_PRICE[0]" type="hidden" value="10.00">
<input name="ITEM_TAX[0]" type="hidden" value="22.00">
<input name="ITEM_DISCOUNT[0]" type="hidden" value="0">
<input name="ITEM_TYPE[0]" type="hidden" value="1">
<input name="ITEM_TITLE[1]" type="hidden" value="Tuote #202">
<input name="ITEM_NO[1]" type="hidden" value="202">
<input name="ITEM_AMOUNT[1]" type="hidden" value="2">
<input name="ITEM_PRICE[1]" type="hidden" value="8.50">
<input name="ITEM_TAX[1]" type="hidden" value="22.00">
<input name="ITEM_DISCOUNT[1]" type="hidden" value="0">
<input name="ITEM_TYPE[1]" type="hidden" value="1">
<input name="AUTHCODE" type="hidden" value="C83CF67455AF10913D54252737F30E21">
<input type="image" name="sv_button" SRC="https://ssl.verkkomaksut.fi/logo/payhere_fin.jpg">
</form>


Regards
GreyHead 21 Mar, 2010
Hi finc,

Looks like the ReDirect plugin is the best solution.

Bob
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger