IDeal Payment system
Author: E. Lansu
Visited 4502,
Followers 6,
Shared 58
I'm using a very common paymentsystem, in the Netherlands that is, iDeal. In v8 I've made some enhancements to get it tot work. This solution is now used by a fair number of webshop designers.
In v9 the underlying code has changed dramaticly, so this needs to be investigated from the start again. Is there some kind of description of the interface between the custom HTML-code and the engine? It would be helpfull for a lot of users needing other payment systems and Incomedia may even get extra choices for the drop-down list for free!
Posted on the
Author
Found some leads, but not working yet.
In res/x5cartengine.js the problem with multiple [PRICE] fields in the custom code is perfectly solved. Also I see the variable format.multiplier that should do the job of converting Euro's to Eurocents. Now I only need to find where this variable is set...
Hello Lansu, I move your post here so we can just talk about iDeal. The custom payment mode in v9 works as in v8, using the PRICE and ORDER_ID tags.
Can you please post here the code you need to add for iDeal so we can check it? Can you confirm you just need to have the price to Eurocents? Thanks.
Hi steve,
could you tell me what and where i need to make changes in order to get iDeaal intergrated on the website. this is the code:
<!-- CODE_START -->
<script type="text/javascript">
<!-- Begin
var Amount = 123;
var PSPID = "TESTiDEALEASY";
var AM;
if (isNaN(Amount))
{
alert("Amount not a number: " + Amount + " !");
AM = ""
}
else
{
AM = Math.round(parseFloat(Amount)*100);
}
var orderID = "1";
mydate = new Date();
tv = mydate.getYear() % 10;
orderID = orderID + tv;
tv = (mydate.getMonth() * 31) + mydate.getDate();
orderID = orderID + ((tv < 10) ? '0' : '') + ((tv < 100) ? '0' : '') + tv;
tv = (mydate.getHours() * 3600) + (mydate.getMinutes() * 60) + mydate.getSeconds();
orderID = orderID + ((tv < 10) ? '0' : '') + ((tv < 100) ? '0' : '') + ((tv < 1000) ? '0' : '') + ((tv < 10000) ? '0' : '') + tv;
tvplus = Math.round(Math.random() * 9);
// End -->
</script>
<style type="text/css">
label {width: 120px; text-align: left;}
button.iDEALeasy {background-color: #FFFFFF;}
</style>
<form method="post" action="https://internetkassa.abnamro.nl/ncol/prod/orderstandard.asp" id="form1" name="form1">
<script type="text/javascript">
[removed]("<input type=\"hidden\" NAME=\"PSPID\" value=\"" + PSPID + "\" />");
[removed]("<input type=\"hidden\" NAME=\"orderID\" value=\"" + (orderID + ((tvplus + 1) % 10)) + "\" />");
[removed]("<input type=\"hidden\" NAME=\"amount\" value=\"" + AM + "\" />");
</script>
<input type="hidden" name="currency" value="EUR" />
<input type="hidden" name="language" value="NL_NL" />
<input type="hidden" name="PM" value="iDEAL" />
<button class="iDEALeasy" type="submit" name="submit1" value="submit">
Betalen met<br />
<img src="https://internetkassa.abnamro.nl/images/iDEAL_easy.gif" alt="iDEAL" />
</button>
</form>
<!-- CODE_END -->
Hi Rob,
To format the price used in the cart, you can use the custom format provided by WSX5.
Here's the string you should put in your HTML:
<input type="hidden" NAME="amount" value="[PRICE, 100, ######]" />
Where:
Moreover, I see that you are using a custom JS code to format the order number.
We provide a custom format for it too, using the Cart API.
You can format your order number using this JS code (placed, in example, in the site's head section):
<script>x5engine.imCart.settings.order_no_format = '[yy][mm][dd]-[A-Z][A-Z][0-9][0-9]';</script>
It will lead the cart to create an order number like 111202-BG22.
You can, of course, change that string mixing the keywords as you like.
This is what each keyword means:
Hope this helps!
Is this problem solved yet? Maybe we can help you out.
There are a lot of different iDeal versions available and every version is different to implement (especially in websitex5 ). There are some limitations implenmenting ideal in websitex5, and therefore, you are not able to implement iDeal using the documentation (ING, Rabobank, Regio Bank, SNS Bank, Triodos Bank of Van Lanschot Bankiers).
Do you live near Rotterdam? We can prob. help you out in just 1-2 hours..
Anyway.. good luck
Lennart Poot
***
Seems like email addresses are not public available.. You will be served at twing.nl . Send questions to: ideal.aansluiten at twing .nl .
If you find a solution, please inform the other users via this topic.
We would like to help you to implement Ideal in WSX5.
Thank you!
Please help me inplementing iDEAL in my webshop, I am strungling for months. I am from the netherlands near Rotterdam :))
If you want to install "IDEAL" as the payment gateway go to:
www.ecwid.com
I have integrated this shopping cart successfully into V9!! It is limited in what it does before a "ONE" off payment but I've been informed by a local Netherlands company it is well worth looking into for definate!!!
I have also done a "VIDEO" tutorial for businesses on my new site opening soon!! [DEMO AVAILABLE]
www.frankscybercafe.com
Is there any update on this issue?
I realy would like to add the iDeal payment option to my site.
Most people in Holland use iDeal to pay with.
Hello Robin,
You have to use the custom HTML code provided by iDeal. WSX5 allows you to use your custom HTML code in any part of your site.