Cannot create new payment method

StartZurück 1 2 WeiterEnde
08.06.2016 14:01
#21
lemusi
Joomshopping forum user no avatar
Name: Ivan
05.06.2016
Posts: 6
Quote
Aw: Cannot create new payment method

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:

Aw: Cannot create new payment method

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>


Letzte Änderung: 08.06.2016 14:06
 
08.06.2016 23:25
#22
lemusi
Joomshopping forum user no avatar
Name: Ivan
05.06.2016
Posts: 6
Quote
Aw: Cannot create new payment method

In other words.. is there a way to embed an animated JavaScript into the paymentform.php of the payment method in checkout Step3?

I will gladly appreciate your help.

 
26.09.2016 10:33
#23
Aghadzis
Joomshopping forum user no avatar
Name: Aghi
30.08.2011
Posts: 1
Quote
Aw: Cannot create new payment method

Any ideas? optionally, how did you solve it?

 
26.09.2016 11:24
#24
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25930
Quote
Aw: Cannot create new payment method

https://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/forum/posts/7/4.html?lang=en#9

 
StartZurück 1 2 WeiterEnde


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.