Class references
The ICEPAY_Wire class is used to initiate wire transfer payments.
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:
|
| Currency |
Specifies the currency of the payment. Supported currencies:
|
| 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. |
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.
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 );
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);
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);