get( 'standardUrlExternal', true ) ) { $namefcn = function( $view, $key ) { return $key; }; } else { $namefcn = function( $view, $key ) { return $view->formparam( array( $key ) ); }; } $testfcn = function( $list, $key, $default = '' ) { return ( isset( $list[$key] ) ? $list[$key] : $default ); }; $enc = $this->encoder(); $public = $hidden = array(); $errors = $this->get( 'standardErrorList', array() ); $params = $this->get( 'standardProcessParams', array() ); foreach( $params as $key => $item ) { if( $item->isPublic() ) { $public[$key] = $item; } else { $hidden[$key] = $item; } } /** client/html/checkout/standard/process/validate * List of regular expressions for validating the payment details * * To validate the payment input data of the customer, an individual Perl * compatible regular expression (http://php.net/manual/en/pcre.pattern.php) * can be applied to each field. Available fields are: * * payment.cardno * * payment.cvv * * payment.expirymonthyear * * To validate e.g the CVV security code, you can define a regular expression * like this to allow only three digits: * client/html/checkout/standard/process/validate/payment.cvv = '^[0-9]{3}$' * * Several regular expressions can be defined line this: * client/html/checkout/standard/process/validate = array( * 'payment.cardno' = '^[0-9]{16,19}$', * 'payment.cvv' = '^[0-9]{3}$', * ) * * Don't add any delimiting characters like slashes (/) to the beginning or the * end of the regular expression. They will be added automatically. Any slashes * inside the expression must be escaped by backlashes, i.e. "/". * * @param array Associative list of field names and regular expressions * @since 2015.07 * @category User * @category Developer * @see client/html/checkout/standard/address/validate */ $defaultRegex = array( 'payment.cardno' => '^[0-9]{16,19}$', 'payment.cvv' => '^[0-9]{3}$' ); $regex = $this->config( 'client/html/checkout/standard/process/validate', $defaultRegex ); ?>
html( $this->translate( 'client/html', 'Processing the payment failed' ), $enc::TRUST ); ?>
html( $this->translate( 'client/html', 'Please enter your payment details' ), $enc::TRUST ); ?>
html( $this->translate( 'client/html', 'You will now be forwarded to the next step' ), $enc::TRUST ); ?>
$item ) : ?>