New extension not displaying after upload

corey34

Active Member
We're working on a new extension, but we're having issues with it not displaying in the extensions list after uploading the .zip file. Here's the file header information. Is there something obvious we're missing here?

PHP:
<?php defined('MW_PATH') || exit('No direct script access allowed');
/**
* Stripe Subscription Manager for MailWizz
*
* @package MailWizz EMA
* @author Lovenjeet Singh <lovensharma2@gmail.com>
* @link http://www.mailwizz.com/
* @copyright 2013-2015 MailWizz EMA (http://www.mailwizz.com)
* @license http://www.mailwizz.com/license/
*/
class StripeSubsExt extends ExtensionInit
{
// name of the extension as shown in the backend panel
public $name = 'Stripe Subscription Manager for MailWizz';

// description of the extension as shown in backend panel
public $description = 'Extension that automatically manages Stripe customer subscriptions based on unique MailWizz subscribers';

// current version of this extension
public $version = '1.0';

// minimum app version
public $minAppVersion = '1.3.5.8';

// the author name
public $author = 'none';

// author website
public $website = 'none';

// contact email address
public $email = 'none';

// in which apps this extension is allowed to run
public $allowedApps = array('backend');

// can this extension be deleted? this only applies to core extensions.
protected $_canBeDeleted = true;

// can this extension be disabled? this only applies to core extensions.
protected $_canBeDisabled = true;

    public $tablePrefix='';

}

Is there something that needs to be placed in the
PHP:
public function run()
to complete the extension registration within MW?

The .zip file is called stripesubs.zip and creates an extension directory called stripesubs with an extension file named StripeSubsExt.php.
 
The .zip file is called stripesubs.zip and creates an extension directory called stripesubs with an extension file named StripeSubsExt.php.
Try naming the folder stripe-subs. Camel cased names should transfer in using dashes as the folder name.
 
Back
Top