• The default language of any content posted is English.
    Do not create multi-accounts, you will be blocked!
Perfex - Powerful Open Source CRM + Premium Add-ons

NULLED Perfex - Powerful Open Source CRM + Premium Add-ons 3.2.1

Anybody having issue with Paystack module, here:
Look through the forum for the module installation file,

paystack\libraries\Paystack_gateway.php
Go the above file, delete and replace the whole code in that file with the one below. Enjoy.



<?php

defined('BASEPATH') or exit('No direct script access allowed');

class paystack_gateway extends App_gateway
{

public function __construct()
{
$this->ci = &get_instance();
/**
* REQUIRED
* Gateway unique id
* The ID must be alpha/alphanumeric
*/
$this->setId('paystack');

/**
* REQUIRED
* Gateway name
*/
$this->setName('paystack');

/**
* Add gateway settings
*/
$this->setSettings(
[
[
'name' => 'paystack_epc',
'encrypted' => true,
'label' => 'Envato Purchase Code',
],
[
'name' => 'paystack_public_key',
'encrypted' => true,
'label' => 'Public Key',
],
[
'name' => 'paystack_Secret_key',
'encrypted' => true,
'label' => 'Secret key',
],
[
'name' => 'paystack_test_Secret_key',
'encrypted' => true,
'label' => 'test Secret key',
],
[
'name' => 'currencies',
'label' => 'settings_paymentmethod_currencies',
'default_value' => 'NGN',
],
[
'name' => 'test_mode_enabled',
'type' => 'yes_no',
'default_value' => 1,
'label' => 'settings_paymentmethod_testing_mode',
],
]
);
}

/**
* REQUIRED FUNCTION
* @param array $data
* @return mixed
*/
public function process_payment($data)
{
// Bypassing the license check temporarily for debugging purposes
if (true) { // Bypassing the check
if ($this->getSetting('test_mode_enabled') == '1') {
$paystacksecret = $this->decryptSetting('paystack_test_Secret_key');
} else {
$paystacksecret = $this->decryptSetting('paystack_Secret_key');
}
$paystack = new Yabacon\Paystack($paystacksecret);
$refere = format_invoice_number($data['invoice']->id).'-'.time();
$reference = str_replace('/', '', $refere);
$calurl = site_url('paystack/verify?invoiceid='.$data['invoiceid'].'&hash='.$data['invoice']->hash);
try {
$email = null;
$pamount = number_format($data['amount'], 2, '.', '');
$koboamount = $pamount * 100;
if (is_client_logged_in()) {
$contact = $this->ci->clients_model->get_contact(get_contact_user_id());
if ($contact->email) {
$email = $contact->email;
}
} else {
$contacts = $this->ci->clients_model->get_contacts($data['invoice']->clientid);
if (count($contacts) == 1) {
$contact = $contacts[0];
if ($contact['email']) {
$email = $contact['email'];
}
}
}
$tranx = $paystack->transaction->initialize([
'amount' => $koboamount, // in kobo
'email' => $email,
'reference' => $reference,
'callback_url' => $calurl,
]);
header('Location: '.$tranx->data->authorization_url);
} catch (\Yabacon\Paystack\Exception\ApiException $e) {
$errors = $e->getResponseObject();
set_alert('danger', _l($errors->message));
}
} else {
set_alert('danger', _l('invalid purchase code'));
}
}
}
 
Reacted by:
Do you know if there is a module to sell digital products?
Yes, you can use this. It's very intuitive to use and you can sell products out of your customers portal.
 
Is there anybody who can upload

Affiliate Module for Perfex CRM - Simple and Effective​

Thanks in advance :)
Post automatically merged:

View attachment 27954
Guys, is this more of the same? which is better
I'd recommend the one by themesic. It has not as much features like the other ones but the code is stable and it works well as a charm.
Even if you would like to use many custom modules the other two SaaS Modules aren't working reliable.
 

Perfex CRM Video Chat Add-on from LiveSmart v1.0.4​

Deals Management for Perfex CRM v1.0.3​

Workflow Rules and Automation Module for Perfex v1.0.1​

PolyUtilities for Perfex CRM: Quick Access Menu, Custom JS, CSS, and More v1.0.7​

Purchase Order Module for Perfex CRM v1.0.6​

virus affected. be aware admin pls look it
 
Reacted by:
Hey @raz0r The Indiamart module is not working. Sending error 500. Can you please update the module with a valid one?
 
Reacted by:
Hey @raz0r The Indiamart module is not working. Sending error 500. Can you please update the module with a valid one?
I got the untouched version. Please help me null this module. Thanks in advance.
 

Attachments

  • indiamart_module.zip
    1.2 MB · Views: 19
Reacted by:
  • Like
Reactions: abuji
Top