nBill Community
21/May/2012, 10:41:56 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Click Here
for the nBill home page, or
take a tour
.
Home
Help
Search
Login
Register
nBill Community
>
Version 1.x
>
Payment Gateways
>
User Subscription Plugin / account_expiry
Pages: [
1
]
« previous
next »
Print
Author
Topic: User Subscription Plugin / account_expiry (Read 1176 times)
TheBelgarion
Jr. Member
Offline
Posts: 30
User Subscription Plugin / account_expiry
«
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
Posts: 4,563
Re: User Subscription Plugin / account_expiry
«
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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Official Announcements
-----------------------------
nBill Extensions (nTicket, nCart, etc.)
-----------------------------
=> nBill Extension Support
-----------------------------
Version 2.x
-----------------------------
=> Installation, Upgrades, and Licensing
=> General Questions/Comments
=> Payment Gateways
=> Language Packs and Translation
=> Community Tips
=> Suggestions
=> General Feedback
=> Documentation
=> Bug Reports
-----------------------------
Version 1.x
-----------------------------
=> Installation and Licensing
=> General Questions/Comments
=> Payment Gateways
=> Language Packs and Translation
=> General Feedback
=> Documentation
=> Bug Reports
-----------------------------
User to User
-----------------------------
=> Services Wanted
Loading...