• Online Demo
  • 30-day Free Trial
  #1  
Old 02-02-2010, 10:10 AM
agisthos agisthos is offline
Junior Member
 
Join Date: Apr 2009
Posts: 26
Default Add another pay option?

At the moment I am having to choose 'Other' when using a certain manual payment method that is not listed. Where in the database is the 'Pay Type' so I can add this new option?

Also am I able to set the invoice number further forward?
Reply With Quote
  #2  
Old 02-02-2010, 06:59 PM
Paul's Avatar
Paul Paul is offline
Blesta Developer
 
Join Date: Apr 2006
Location: Wherever I go, there I am.
Posts: 936
Send a message via AIM to Paul Send a message via MSN to Paul
Default

Quote:
Originally Posted by agisthos View Post
At the moment I am having to choose 'Other' when using a certain manual payment method that is not listed. Where in the database is the 'Pay Type' so I can add this new option?

Also am I able to set the invoice number further forward?
You can manually add to this list by editing the file inc/condef.php, specifically the serialized array for PAYTYPES

To change the next invoice number, go into php My Admin and selcet the invoices table and select Operations at the top. Then change the auto_increment value to the invoice number you'd like the next one to start with. Keep in mind this field is limited to roughly 2 billion, so it's a good idea not to set the number too large.
__________________
Paul
Misc Stuff Guy

Blesta
Professional Billing
www.blesta.com
Reply With Quote
  #3  
Old 02-04-2010, 09:10 AM
agisthos agisthos is offline
Junior Member
 
Join Date: Apr 2009
Posts: 26
Default

Thanks for invoice info.

But adding a new pay type did not work because there is somewhere else it has to be added other than condef.php

For example

"worldpayfuturepay" => _PAYTYPES_WORLDPAYFUTURE

When in Blesta that paytype appears in the drop down list as 'WorldPay FuturePay'
Reply With Quote
  #4  
Old 02-04-2010, 05:07 PM
Paul's Avatar
Paul Paul is offline
Blesta Developer
 
Join Date: Apr 2006
Location: Wherever I go, there I am.
Posts: 936
Send a message via AIM to Paul Send a message via MSN to Paul
Default

_PAYTYPES_WORLDPAYFUTURE is defined in the language file language/en-us.php

.. but you don't have to add it there. If you only use 1 language, you can just type it in in quotes

for example

"worldpayfuturepay" => "WorldPay FuturePay"
__________________
Paul
Misc Stuff Guy

Blesta
Professional Billing
www.blesta.com
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
where is this option ??!!! naja7host General Discussion 6 01-27-2009 08:51 PM
Need More option in billing area system naja7host Feature Requests 5 12-18-2008 11:57 PM
Plesk Module Cody Modules & Gateways 4 03-15-2008 04:39 AM


All times are GMT. The time now is 03:33 AM.