uawdijnntqw1x1x1
IP : 216.73.216.8
Hostname : toronto-dev2
Kernel : Linux toronto-dev2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
srv
/
users
/
craft4
/
apps
/
craft4-newsite-space
/
vendor
/
craftcms
/
commerce
/
src
/
.
/
helpers
/
PaymentForm.php
/
/
<?php /** * @link https://craftcms.com/ * @copyright Copyright (c) Pixel & Tonic, Inc. * @license https://craftcms.github.io/license/ */ namespace craft\commerce\helpers; /** * Payment Form helper * * @author Pixel & Tonic, Inc. <support@pixelandtonic.com> * @since 4.0 */ class PaymentForm { public const PAYMENT_FORM_NAMESPACE = 'paymentForm'; /** * Generate the payment form namespace prefix. * * @param string $gatewayHandle * @return string */ public static function getPaymentFormNamespace(string $gatewayHandle): string { return sprintf('%s[%s]', self::PAYMENT_FORM_NAMESPACE, $gatewayHandle); } /** * Generate the payment form namespace for retrieve request params. * * @param string $gatewayHandle * @return string */ public static function getPaymentFormParamName(string $gatewayHandle): string { return sprintf('%s.%s', self::PAYMENT_FORM_NAMESPACE, $gatewayHandle); } }
/srv/users/craft4/apps/craft4-newsite-space/vendor/craftcms/commerce/src/./helpers/PaymentForm.php