Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / UserSubs Support / Payment in UserSubs

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

×

Notice

The forum is in read only mode.

×
End of Forum > Moving to ticket system (01 Jan 2014)

The forum is now in read-only mode.

To send us support request, please open a tickets > Support > Tickets Support

We have tested the ticket system during the last 3 months and we are sastified with it. So the forum is just for history now.

Payment in UserSubs

4 years 6 months ago #24499 by veselinovm
This code shows only "offline payment" on both pages.
I need on page "Buy Credits" to be "offline payment" and on "Subscriptions" page to be only "pay with credits"

Thank you in advance.
4 years 6 months ago #24511 by loic
Hello,

then in plugins/invoicingpayment/offline/offline.php, add that code :
if($item->generator == 'usersubs') {
	return;
}

Best regards
4 years 6 months ago #24524 by veselinovm
Thanks!
Please, at what line of code to add this IF code?

should I delete code that is added on plugins/invoicingpayment/virtualmoney/virtualmoney.php, line 168 ?
4 years 6 months ago #24538 by juloaadmin
Add new function in offline.php
public function onInvoicingPaymentSelection($item) { 
       if($item->generator == 'usersubs') {
	 return;
      } else {
            return parent::onInvoicingPaymentSelection($item);
     }
}

Yes keep the code in virtualmoney.php
The following user(s) said Thank You: veselinovm
4 years 6 months ago #24552 by veselinovm
Thank you,
please mark as resolved.
4 years 5 months ago #24574 by juloaadmin
Great !
Time to create page: 0.263 seconds
Powered by Kunena Forum