New Zenner
- Join Date:
- May 2008
- Posts:
- 1
- Plugin Contributions:
- 0
Help needed config new payment module
Hello,
I'm from Belgium and want to implement the payment provided by Fortis Banking, named NEOS E-COMMERCE (credit card and online banking payment)
I have basic knowledge of PhP so maybe someone can help me with this to let me know where exactly I have to put the code of the payment.
I think it's a button that needs to be placed in one of the order-steps-pages of zencart. (It's a form with hidden fields)
When a customer clicks it to make his payment, he will be redirected to the payment zone (outside zencart-store). After having payed succesfully, client is redirected to the zencart page where he's told the order was succesful.
This is what's in their technical documentation:
<form method="post" action="https://www.secure.neossolution. com/ncol/XXXX/orderstandard.asp" id=form1 name=form1> <!-- general parameters --> <input type="hidden" name="PSPID" value=""> <input type="hidden" name="orderID" value=""> <input type="hidden" name="amount" value=""> <input type="hidden" name="currency" value=""> <input type="hidden" name="language" value=""> <input type="hidden" name="CN" value=""> <input type="hidden" name="EMAIL" value=""> <input type="hidden" name="ownerZIP" value=""> <input type="hidden" name="owneraddress" value=""> <input type="hidden" name="ownercty" value=""> <input type="hidden" name="ownertown" value=""> <input type="hidden" name="ownertelno" value=""> <!-- check before the payment: see chapter 5 --> <input type="hidden" name="SHASign" value=""> <!-- layout information: see chapter 6 --> <input type="hidden" name="TITLE" value=""> <input type="hidden" name="BGCOLOR" value=""> <input type="hidden" name="TXTCOLOR" value=""> <input type="hidden" name="TBLBGCOLOR" value=""> <input type="hidden" name="TBLTXTCOLOR" value=""> <input type="hidden" name="BUTTONBGCOLOR" value=""> <input type="hidden" name="BUTTONTXTCOLOR" value=""> <input type="hidden" name="LOGO" value=""> <input type="hidden" name="FONTTYPE" value=""> <!-- post payment redirection: see chapter 7 --> <input type="hidden" name="accepturl" value=""> <input type="hidden" name="declineurl" value=""> <input type="hidden" name="exceptionurl" value=""> <input type="hidden" name="cancelurl" value=""> <input type="submit" value="" id=submit2 name=submit2> </form> ``` > Although the mandatory parameters are the PSPID, orderID, amount, currency and language value, > we nevertheless strongly recommend you also send us the customer name, customer’s email, address, > town, zip, country and telephone number since they can be useful tools for combating fraud. > Following is an overview of the hidden fields used to transmit the “general parameters” to our system > (the other fields are described in the following chapters): > > Field Usage > PSPID Your affiliation name in our system > orderID Your order number (merchant reference). The system checks that a payment has > not been requested twice for the same order. The orderID has to be assigned > dynamically. > amount Amount to be paid MULTIPLIED BY 100 since the format of the amount must not > contain any decimals or other separators. The amount has to be assigned > dynamically. > currency Currency of the order in ISO alpha code. For instance: EUR, USD, GBP, … > language Language of the customer. For instance: en_US, nl_NL, fr_FR, … > CN Customer name. Will be pre-initialized (but still editable) in the Customer Name field > of the credit card details. > EMAIL Customer’s email address > owneraddress Customer’s street name and number > ownerZIP Customer’s ZIP code > ownertown Customer’s town/city name > ownercty Customer’s country > ownertelno Customer’s telephone number. > > The action of the form will be our e-commerce system’s payment processing page. > In the TEST environment the URL for the action will be <https://www.secure.neossolution>. > com/ncol/test/orderstandard.asp. > In the PRODUCTION environment the URL for the action will be > <https://www.secure.neos-solution.com/ncol/prod/orderstandard.asp> Thanks in advanceThe link between your website and our e-commerce payment page has to be established on the last
page of the shopping basket on your website, in other words: the last page of your site presented to
the buyer.
A form with hidden html fields containing the order data must be integrated into that last page.
Following is the block of code you need to paste in the last page of your shopping basket: