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
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16487
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
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16487
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. All Rights Reserved