| Server IP : 85.158.181.41 / Your IP : 216.73.217.12 Web Server : Apache System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64 User : moncbefd ( 1024) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/moncbefd/www.moneta.at/templates/Honeygrid/module/ |
Upload File : |
<div class="checkout-payment-form">
<script src="https://secure.pay1.de/client-api/js/v1/payone_hosted_min.js"></script>
<style>
.order_payment .payone_paydata_nobtn iframe {
background-color: initial;
background-image: initial;
background-position: initial;
background-repeat: initial;
border: initial;
color: initial;
font-family: initial;
font-size: initial;
padding: initial;
height: <?php echo (int)$genre_config['genre_specific']['inputstyle']['default-iframe_height'] ?>px;
width: <?php echo (int)$genre_config['genre_specific']['inputstyle']['default-iframe_width'] ?>px;
}
</style>
<table class="payone_paydata_nobtn payone_cc_data" data-gambio-widget="payone_checkout" data-payone_checkout-module="cc">
<tr>
<td class="p1-cc-label">
<label for="p1_cc_cardholder_firstname">##text_cardowner_firstname</label>
</td>
<td>
<input id="p1_cc_cardholder_firstname" name="p1_cardholder_firstname" type="text" class="clear_before_submit" value="<?php echo $_SESSION['customer_first_name'] ?>">
</td>
</tr>
<tr>
<td class="p1-cc-label">
<label for="p1_cc_cardholder_lastname">##text_cardowner_lastname</label>
</td>
<td>
<input id="p1_cc_cardholder_lastname" name="p1_cardholder_lastname" type="text" class="clear_before_submit" value="<?php echo $_SESSION['customer_last_name'] ?>">
</td>
</tr>
<tr>
<td class="p1-cc-label"><label for="cardtype">##text_cardtype</label></td>
<td>
<span id="cardtype" class="inputIframe"></span>
</td>
</tr>
<tr>
<td class="p1-cc-label"><label>##text_cardno</label></td>
<td>
<span id="cardpan" class="inputIframe"></span>
</td>
</tr>
<tr>
<td class="p1-cc-label"><label>##text_cardexpires</label></td>
<td>
<span id="expireInput" class="inputIframe">
<span id="cardexpiremonth"></span>
<span id="cardexpireyear"></span>
</span>
</td>
</tr>
<?php if($genre_config['genre_specific']['check_cav'] != 'false'): ?>
<tr>
<td class="p1-cc-label"><label>##text_cardchecknum</label></td>
<td>
<span id="cardcvc2" class="inputIframe"></span>
</td>
</tr>
<?php endif ?>
<tr>
<td colspan="2">
<div class="p1_error" id="p1_error"></div>
</td>
</tr>
</table>
<div class="p1_pseudodata">
<input type="hidden" id="pseudocardpan" name="pseudocardpan" value="not set">
<input type="hidden" id="truncatedcardpan" name="truncatedcardpan" value="not set">
<input type="hidden" name="payone_cc_genre_identifier" value="<?php echo $active_genre_identifier ?>">
</div>
<table class="payone_pseudodata">
<tr>
<td class="p1-cc-label">
##text_cardno
</td>
<td>
<span class="payone_truncatedcardpan"></span>
</td>
</tr>
</table>
<script>
var request;
p1_iframe_config.language = Payone.ClientApi.Language.<?php echo $_SESSION['language_code'] == 'de' ? 'de' : 'en' ?>;
var iframes = new Payone.ClientApi.HostedIFrames(p1_iframe_config, p1_cc_config);
var p1cc_check = function () {
if (iframes.isComplete()) {
iframes.creditCardCheck('p1cc_checkCallback');
} else {
p1_error('##data_incomplete');
}
}
var p1cc_checkCallback = function (response) {
// console.debug(response);
if (response.status === "VALID") {
document.getElementById("pseudocardpan").value = response.pseudocardpan;
document.getElementById("truncatedcardpan").value = response.truncatedcardpan;
document.getElementById("checkout_payment").submit();
}
else
{
$('table.payone_cc_data').first().get(0).scrollIntoView();
$('#p1_error').addClass('p1_error_highlight');
}
}
var p1_error = function (error) {
if (error)
{
$('table.payone_cc_data').first().get(0).scrollIntoView();
$('#p1_error').html(error).addClass('p1_error_highlight');
}
else
{
$('#p1_error').empty().removeClass('p1_error_highlight');
}
}
</script>
</div>