To ICEPAY Homepage »
Developer Network

Class references

ICEPAY_iDEAL Class

The class ICEPAY_iDEAL allows you to easily initiate an iDEAL payment with just a few lines of code.

Remarks: iDEAL only supports the Euro currency and the Dutch language interface. Therefore, you cannot set these two parameters.

Methods

ICEPAY_iDEAL.Pay ( string issuer , int amount , string description )

Calling the Pay method will return you a URL to the iDEAL payment screen. You can use this URL to automatically redirect the end-user to the iDEAL payment screen.

Argument Description
Issuer

Specifies the bank that will be handling the iDEAL payment.
The following banks are supported:

ABNAMRO
ABN AMRO Bank
ASNBANK
ASN Bank
FORTIS
Fortis Bank
FRIESLAND
Friesland Bank
ING
ING Bank
RABOBANK
Rabobank
SNSBANK
SNS Bank
SNSREGIOBANK
SNS Regio Bank
TRIODOSBANK
Triodos Bank
Amount

Specifies the amount (in eurocents) of the payment.

The minimum amount is 30 eurocents. The maximum amount is 1000000 eurocents.
Description Specifies the description of the payment.

Example

Below you will find an example of how to initiate an iDEAL payment. The issuer that will be handling the payment is the ABN AMRO bank. The amount to be charged is € 5.

PHP

    require_once( "icepay.php" );
    $iDEAL = new ICEPAY_iDEAL( 10000, "ABcdEFgHIJklmNOPQrSTUvwXyZ" );
    $url = $iDEAL->Pay("ABNAMRO", 500, "iDEAL payment of 5 EUR" );
    header( "location: " . $url );
        

C#

    ICEPAY.ICEPAY_iDEAL iDEAL = new ICEPAY_iDEAL(10000, "ABcdEFgHIJklmNOPQrSTUvwXyZ");
    String url = iDEAL.Pay("ABNAMRO", 500, "iDEAL payment of 5 EUR");
    Response.Redirect(url);
        

VB.NET

    Dim iDEAL as New ICEPAY.ICEPAY_iDEAL(10000, "ABcdEFgHIJklmNOPQrSTUvwXyZ")
    Dim url as String = iDEAL.Pay("ABNAMRO", 500, "iDEAL payment of 5 EUR")
    Response.Redirect(url)