# ivyforms/1.4/backend/src/Common/Constants/SupportedCurrencyCodes.php

The Innovative Form Builder – IvyForms, version 1.4. 53 lines.

- Page: https://pluginprobe.com/plugins/ivyforms/1.4/code/backend/src/Common/Constants/SupportedCurrencyCodes.php
- Raw: https://pluginprobe.com/plugins/ivyforms/1.4/raw/backend/src/Common/Constants/SupportedCurrencyCodes.php
- Modified: 2026-06-22T13:19:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ivyforms/1.4/code/backend/src/Common/Constants/SupportedCurrencyCodes.php#L10-L20`.

```php
<?php

/**
 * @copyright © Melograno Venture Studio. All rights reserved.
 * @licence   See LICENCE.md for license details.
 */

namespace IvyForms\Common\Constants;

/**
 * ISO 4217 codes supported for form payment display (keep in sync with frontend `supportedCurrencies.ts`).
 */
final class SupportedCurrencyCodes
{
    public const DEFAULT_CODE = 'USD';

    /**
     * @var string[]
     */
    public const CODES = [
        'USD',
        'EUR',
        'GBP',
        'CAD',
        'AUD',
        'JPY',
        'CHF',
        'SEK',
        'NOK',
        'DKK',
        'PLN',
        'CZK',
        'HUF',
        'NZD',
        'SGD',
        'HKD',
        'INR',
        'BRL',
        'MXN',
        'ZAR',
    ];

    /**
     * @param string $code
     *
     * @return bool
     */
    public static function isAllowed(string $code): bool
    {
        return in_array($code, self::CODES, true);
    }
}

```
