To ICEPAY Homepage »
Developer Network

Class references

ICEPAY_Wire Class

The ICEPAY_Wire class is used to initiate wire transfer payments.

Methods

ICEPAY_Wire.Pay ( string language , string currency , string amount , string description )

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

Argument Description
Language

Specifies the payment screen language.

Supported languages:

DE
German
EN
English
ES
Spanish
FR
French
NL
Dutch
Currency Specifies the currency of the payment.
Supported currencies:
EUR
Euro
GBP
Pound sterling
USD
U.S. dollar
Amount Specifies the amount (in cents) of the payment.

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

Example

In the examples below, we will be initiating a Wire Transfer payment of € 0.30 and redirecting the end-user to the wire transfer payment screen.

PHP

    require_once( "icepay.php" );
    $w = new ICEPAY_Wire( 10000, "ABcdEFgHIJklmNOPQrSTUvwXyZ" );
    $url = $w->Pay( "EN", "EUR", 30, "Wire transfer payment of 0.30 EUR" );
    header( "location: " . $url );
        

C#

    ICEPAY.ICEPAY_Wire w = new ICEPAY.ICEPAY_Wallie( 10000, "ABcdEFgHIJklmNOPQrSTUvwXyZ" );
    string url = w.Pay("EN", "EUR", 30, "Wire transfer payment of 0.30 EUR");
    Response.Redirect(url);
        

VB.NET

    Dim w as new ICEPAY.ICEPAY_Wire(10000, "ABcdEFgHIJklmNOPQrSTUvwXyZ");
    Dim url as string = w.Pay("EN", "EUR", 30, "Wire transfer payment of 0.30 EUR");
    Response.Redirect(url);