To ICEPAY Homepage »
Developer Network

Class references

ICEPAY_SMS Class

The ICEPAY_SMS class allows you to initiate SMS payments.

Methods

ICEPAY_SMS.Pay ( string country , string language , string currency , int amount , string description )

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

Argument Description
Country Specifies the country of the end-user.
Language

Specifies the payment screen language and the language of the outgoing SMS message.

The following languages are supported:

EN
English
NL
Dutch
Currency Specifies the currency of the payment.
Amount Specifies the amount (in cents) of the payment. Please see the next table for more information on the allowed amounts.
Description Specifies the description of the payment.

The SMS payment method has more restrictions than other payment methods. The following document shows the allowed combinations: ICEPAY Supported Parameters Sheet