Class references
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.
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.
|
| 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. |
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.
require_once( "icepay.php" );
$iDEAL = new ICEPAY_iDEAL( 10000, "ABcdEFgHIJklmNOPQrSTUvwXyZ" );
$url = $iDEAL->Pay("ABNAMRO", 500, "iDEAL payment of 5 EUR" );
header( "location: " . $url );
ICEPAY.ICEPAY_iDEAL iDEAL = new ICEPAY_iDEAL(10000, "ABcdEFgHIJklmNOPQrSTUvwXyZ");
String url = iDEAL.Pay("ABNAMRO", 500, "iDEAL payment of 5 EUR");
Response.Redirect(url);
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)