Class references
The ICEPAY_SMS class allows you to initiate SMS payments.
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:
|
| 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