nBill Community nBill Home Page
21/May/2012, 10:42:35 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Click Here for the nBill home page, or take a tour.  
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: User Subscription Plugin / account_expiry  (Read 1176 times)
TheBelgarion
Jr. Member
**
Offline Offline

Posts: 30


View Profile WWW
« on: 18/November/2009, 08:58:48 PM »

I had some trouble setting up TT and other payment methods.

Current workflow is like that:

- manually creating invoices via cron_job ( because PDF generation took too long during the Payment process)
- dont use pending orders ( because I wand to send the invoice as PDF to the costumer)

Now I had to disable account plugin as it would still upgrade the account due to the Order ( even for non-payed TT - which is not the wanted behavior )

Questions:
- is there an easy way to hack the plugin so that it would only "UPGRADE" account that payed by other methods like paypal,CC but not TT)
- Currently even the CC payment Invoice marked as "unpaid"  and the Order marked as "processing" not sure if i missed a setting than calling (gateway_processing() in the gateway which would mark the invoice as paid -> But the Plugin still upgrades the Account!? I guess that has something to do with the supposed workflow as well!?
Logged

B2B Import & Export Portal www.europrompt.com
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #1 on: 18/November/2009, 09:04:42 PM »

Sorry, but it is designed to use pending orders for this very reason - so you can wait until payment is received before taking any action. Trying to work around the slow PDF generator that way creates complications, and whilst it might be technically possible to hack around with the code to make it work, I cannot really provide support for that.

An alternative possibility you might want to try is to set 'auto create invoice' to 'no' on the order form, but still have 'pending until paid' set to 'yes'. That way, the invoice will not be generated (but the cron job can be used to generate the invoice instead, as you are doing), but the pending order mechanism is kept intact.

As for the order status, it will be set to processing by default, but if the product record has 'auto fulfil orders' set to 'yes', it will go straight to 'completed'.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!