Hi.. it was something dumb... but I got it now. It was working fine but I hadn't got to the redirect page.
Although, this is more what I am trying to accomplish:
I inserted a javascript page into the paymentform.php but the animation doesn't seem to work.
It works on a separate html page: http://www.tushoppingadomicilio.com/testivan/components/com_jshopping/payments/pm_visanet/card-master/example/index.html
Do I need to o anything in special for the javascripts to work in Joomshopping?? excuse my ignorance...
This is the code I am using in paymentform.php:
<?php
/**
* @version 4.4.1 10.02.2014
* @author MAXXmarketing GmbH
* @package Jshopping
* @copyright Copyright (C) 2010 webdesigner-profi.de. All rights reserved.
* @license GNU/GPL
*/
defined('_JEXEC') or die('Restricted access');
?>
<head>
<meta name="viewport" content="initial-scale=1">
</head>
<style>
.demo-container {
width: 100%;
max-width: 350px;
margin: 0px auto;
}
form {
margin: 0px;
}
input {
width: 200px;
margin: 10px auto;
display: block;
}
</style>
<div class="demo-container">
<div class="card-wrapper"></div>
<div class="form-container active">
<form action="">
<input placeholder="Card number" type="text" name="number">
<input placeholder="Full name" type="text" name="name">
<input placeholder="MM/YY" type="text" name="expiry">
<input placeholder="CVC" type="text" name="cvc">
</form>
</div>
</div>
<script src="/components/com_jshopping/payments/pm_visanet/card-master/lib/js/card.js"></script>
<script>
new Card({
form: document.querySelector('form'),
container: '.card-wrapper'
});
</script>
Last change: 08.06.2016 14:06