How to create an installable package for custom payment method for Joomshopping

06.11.2014 09:55
#1
sumeet9
Joomshopping forum user no avatar
Name: Sumeet
20.10.2014
Posts: 2
Quote
How to create an installable package for custom payment method for Joomshopping

Hi. I am trying to create a custom payment method that integrates with Joomshopping.
I have written the code locally and it works fine.
My folder structure is
Main folder
--> components
#### --> com_jshopping
######### --> payments
############ --> pm_mypluginfolder(dir)
--> update.sql

I'm creating a zip file and trying to upload it.

However on doing Install and Update, the update.sql is not executing and the pm_mypluginfolder is not going to the correct folder.

How should I package it so that it installs like an independent package ?


Joomla: 3.1.0
JoomShopping: 4.7.0
PHP: 5.4.30
MySQL: 5.6.21

Letzte Änderung: 06.11.2014 09:59
 
06.11.2014 11:50
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25857
Quote
Aw: How to create an installable package for custom payment method for Joomshopping

You are doing everything right.

 
06.11.2014 13:03
#3
sumeet9
Joomshopping forum user no avatar
Name: Sumeet
20.10.2014
Posts: 2
Quote
Aw: How to create an installable package for custom payment method for Joomshopping

So the issue is that update.sql is not executing. I checked in the db as well and no new row is inserted in payment table. And also the whole zip file goes plainly to Joomla folder instead of going to payments folder.

Any suggestions ?

 
07.11.2014 07:53
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25857
Quote
Aw: How to create an installable package for custom payment method for Joomshopping

See examples
http://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/downloads/addons.html?lang=en

 


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.