|
|
Line 1: |
Line 1: |
− | [http://scaleslea.freewebpage.org/text/directory/tariffa-rca/ tariffa rca] [http://getraylo.freeweb7.com/img/styles/squadra-calcio.htm squadra calcio] [http://kopapguw.homeblock.com/topic/these-words/ these words] [http://www.freewebtown.com/prncessprncipe/library/html/tu-vuo.htm tu vuo] [http://coarmago.t35.com/content/view/everbody-s/ everbody s gotta learn sometime] [http://www.freewebtown.com/starbriteyellow/resources/articles/div-x.htm div x lettori] [http://benevolently.freehostia.com/content/view/happy-xmas/ happy xmas war is over] [http://mcwardlo.t35.com/library/html/sigla-telefilm/ sigla telefilm buffy] [http://selemku.t35.com/text/directory/live-sex.htm live sex pictures] [http://benevolently.freehostia.com/content/view/offerte-lavoro/ offerte lavoro bari] [http://greensticky.freehostia.com/library/html/fotocamere-digitali/ fotocamere digitali kodak cx 7525] [http://licohwar.homeblock.com/library/html/miwa-oshiro/ miwa oshiro] [http://greensticky.freehostia.com/library/html/pendrive-lettori/ pendrive lettori] [http://kopapguw.homeblock.com/topic/er-lebt/ er lebt nog] [http://grahrens.125mb.com/view/new/sat-keys/ sat keys viacces] [http://failtoexpress.freehostia.com/html/www-ferrari.htm www ferrari] [http://grahrens.125mb.com/view/new/sole-mio/ sole mio] [http://grahrens.125mb.com/view/new/john-candy/ john candy] [http://selemku.t35.com/text/directory/ospedali-a.htm ospedali a gap francia] [http://getm0ney.freewebpage.org/lib/becco/ becco] [http://benevolently.freehostia.com/content/view/cerca-giochi/ cerca giochi violenti] [http://greensticky.freehostia.com/library/html/kiera-sky/ kiera sky] [http://boreldar.t35.com/text/directory/sexstar.htm sexstar] [http://failtoexpress.freehostia.com/html/lampade-da.htm lampade da terra ufficio] [http://gawelzba.t35.com/library/html/luna-di.htm luna di togni] [http://mcwardlo.t35.com/library/html/ventola-vcool/ ventola vcool] [http://lorcaxon.homeblock.com/data/banda-larga/ banda larga] [http://zoelverd.freeweb7.com/description/lib/lg-pxrv/ lg 42px4rv] [http://www.freewebtown.com/prncessprncipe/library/html/usher-ft.htm usher ft ludacris yeah] [http://flheddin.125mb.com/content/view/g-konica.htm g400 konica minolta] [http://mcwardlo.t35.com/library/html/socket/ socket 370] [http://mcwardlo.t35.com/library/html/film-daredevil/ film daredevil] [http://flheddin.125mb.com/content/view/mezzanino.htm mezzanino] [http://lorcaxon.homeblock.com/data/lancia-lybra/ lancia lybra 2 4 jtd] [http://mauballe.125mb.com/web/victoria-silvstedt/ victoria silvstedt mg] [http://saline-joy.freehostia.com/web/yamaha-dsp.htm yamaha dsp z9] [http://oedi.freehostia.com/text/directory/calde-notti/ calde notti destate] [http://saline-joy.freehostia.com/web/diffusore-scaffale.htm diffusore scaffale] [http://www.freewebtown.com/starbriteyellow/resources/articles/benevento-incontri.htm benevento incontri] [http://coarmago.t35.com/content/view/color-spreading/ color spreading v1.10] [http://grahrens.125mb.com/view/new/gocci-di/ gocci di memoria] [http://saline-joy.freehostia.com/web/canzoni-di.htm canzoni di paso adelante] [http://greensticky.freehostia.com/library/html/eddie-guerrero/ eddie guerrero images] [http://greensticky.freehostia.com/library/html/erano-nove/ erano nove celibi] [http://licohwar.homeblock.com/library/html/glay/ glay] [http://flheddin.125mb.com/content/view/hockey-ta.htm hockey ta tavolo] [http://greensticky.freehostia.com/library/html/metal-building/ metal building] [http://failtoexpress.freehostia.com/html/sara.htm sara] [http://kopapguw.homeblock.com/topic/sony-pm/ sony p42m1] [http://selemku.t35.com/text/directory/nuova-alfa.htm nuova alfa romeo benzina auto nuove] [http://huruple.125mb.com/text/directory/c-usb/ c336 usb driver] [http://kopapguw.homeblock.com/topic/lg-dr/ lg dr 4800] [http://scaleslea.freewebpage.org/text/directory/maxtor-diamondmax/ maxtor diamondmax plus 9 80 gb] [http://selemku.t35.com/text/directory/tutti-computer.htm tutti computer] [http://coarmago.t35.com/content/view/principe-di/ principe di piemonte] [http://www.freewebtown.com/starbriteyellow/resources/articles/hd-esterno.htm hd esterno usb 2 0 250gb] [http://coarmago.t35.com/content/view/laghetto/ laghetto] [http://beshennayabelka.freehostia.com/content/view/shpat-kasapi.htm shpat kasapi axhami] [http://gawelzba.t35.com/library/html/the-sims.htm the sims fuori tutti xbox] [http://huruple.125mb.com/text/directory/trans-domina/ trans domina] [http://flheddin.125mb.com/content/view/philips-b.htm philips 109b50 19] [http://failtoexpress.freehostia.com/html/singole-veneto.htm singole veneto] [http://www.freewebtown.com/prncessprncipe/library/html/fox-.htm fox parker 1975 srl] [http://www.freewebtown.com/starbriteyellow/resources/articles/quin-file.htm quin file midi] [http://scaleslea.freewebpage.org/text/directory/immagini-doi/ immagini doi] [http://zoelverd.freeweb7.com/description/lib/daasa/ daasa] [http://benevolently.freehostia.com/content/view/twisted-metal/ twisted metal black] [http://saline-joy.freehostia.com/web/tele-per.htm tele per pittura] [http://coarmago.t35.com/content/view/sigla-memole/ sigla memole] [http://licohwar.homeblock.com/library/html/audio/ audio 7 1] [http://getraylo.freeweb7.com/img/styles/aspirapolvere-batterie.htm aspirapolvere batterie ricaricabili] [http://flheddin.125mb.com/content/view/lighting-brek.htm lighting brek] [http://greensticky.freehostia.com/library/html/latex-lingerie/ latex lingerie] [http://coarmago.t35.com/content/view/frigoriferi-incasso/ frigoriferi incasso combinato] [http://mcwardlo.t35.com/library/html/hub-/ hub 5 porte ethernet] [http://kopapguw.homeblock.com/topic/mare-dei/ mare dei tropici] [http://selemku.t35.com/text/directory/black-eyed.htm black eyed pears] [http://greensticky.freehostia.com/library/html/hitachi-/ hitachi 400 gb hard disk e floppy] [http://lorcaxon.homeblock.com/data/tommy-vee/ tommy vee testo] [http://oedi.freehostia.com/text/directory/vacanze-alternative/ vacanze alternative] [http://wainfan.t35.com/view/new/telefilm-paso.htm telefilm paso adelante] [http://wainfan.t35.com/view/new/ascolta-tutti.htm ascolta tutti i miei sbagli subsonica] [http://selemku.t35.com/text/directory/rammstein-america.htm rammstein america mp3] [http://www.freewebtown.com/starbriteyellow/resources/articles/parafrasi-del.htm parafrasi del ii canto del purgatorio] [http://getm0ney.freewebpage.org/lib/xbox-controller/ xbox controller s] [http://gawelzba.t35.com/library/html/the-best.htm the best of john belushi] [http://coarmago.t35.com/content/view/ricevitori-audiovideo/ ricevitori audio-video] [http://lorcaxon.homeblock.com/data/copertina-ascolta/ copertina ascolta pooh] [http://www.freewebtown.com/prncessprncipe/library/html/dragstar.htm dragstar 650] [http://coarmago.t35.com/content/view/el-mordisco/ el mordisco] [http://gawelzba.t35.com/library/html/sara-pino.htm sara pino daniele] [http://licohwar.homeblock.com/library/html/warburg-otto/ warburg, otto] [http://huruple.125mb.com/text/directory/aquolina-profumo/ aquolina profumo] [http://beshennayabelka.freehostia.com/content/view/francesco-e.htm francesco e chiara] [http://getm0ney.freewebpage.org/lib/link-erotic/ link erotic] [http://selemku.t35.com/text/directory/mobil-turi.htm mobil turi srl] [http://failtoexpress.freehostia.com/html/viaggio-columbus.htm viaggio columbus] [http://beshennayabelka.freehostia.com/content/view/uol-com.htm uol com] [http://getm0ney.freewebpage.org/lib/sangue-chiama/ sangue chiama] [http://gawelzba.t35.com/library/html/chitarr.htm chitarr] [http://scaleslea.freewebpage.org/text/directory/daquino-sonia/ daquino sonia] [http://flheddin.125mb.com/content/view/pisello-grosso.htm pisello grosso] [http://huruple.125mb.com/text/directory/terratec/ terratec 5 1] [http://lorcaxon.homeblock.com/data/lettore-dvd/ lettore dvd dvx sintonizzatore portatile] [http://beshennayabelka.freehostia.com/content/view/jej-czarne.htm jej czarne oczy iwan i delfin] [http://lorcaxon.homeblock.com/data/atlante-di/ atlante di anatomia umana libri] [http://benevolently.freehostia.com/content/view/ni-una/ ni una lagrima mas] [http://www.freewebtown.com/starbriteyellow/resources/articles/giochi-nudi.htm giochi nudi] [http://www.freewebtown.com/prncessprncipe/library/html/somewhere-over.htm somewhere over the rainbow h arlen] [http://benevolently.freehostia.com/content/view/hd-portatile/ hd portatile toshiba] [http://selemku.t35.com/text/directory/divx-portatili.htm divx portatili] [http://huruple.125mb.com/text/directory/motorola-v/ motorola v3 auricolare] [http://oedi.freehostia.com/text/directory/dj-senol/ dj senol] [http://www.freewebtown.com/starbriteyellow/resources/articles/dj-team.htm dj team] [http://failtoexpress.freehostia.com/html/peugeot-.htm peugeot 206 1.4 xt] [http://www.freewebtown.com/boogiejames/topic/www-alalba.htm www alalba it] [http://oedi.freehostia.com/text/directory/filecabi/ filecabi] [http://zoelverd.freeweb7.com/description/lib/elenco-abbonati/ elenco abbonati nome anna] [http://failtoexpress.freehostia.com/html/canon.htm canon 1120] [http://www.freewebtown.com/prncessprncipe/library/html/ravegnini.htm ravegnini] [http://oedi.freehostia.com/text/directory/mario-bross/ mario bross 4] [http://beshennayabelka.freehostia.com/content/view/delitti-in.htm delitti in forma di stella] [http://mcwardlo.t35.com/library/html/summer-go/ summer go] [http://kopapguw.homeblock.com/topic/irradio-combi/ irradio combi] [http://greensticky.freehostia.com/library/html/auto-noleggio/ auto noleggio lucca] [http://www.freewebtown.com/boogiejames/topic/star-blazers.htm star blazers. serie 2. vol. 05] [http://www.freewebtown.com/starbriteyellow/resources/articles/traina.htm traina] [http://beshennayabelka.freehostia.com/content/view/guado-al.htm guado al tasso] [http://selemku.t35.com/text/directory/maggiolo.htm maggiolo] [http://www.freewebtown.com/prncessprncipe/library/html/masterizzatore-double.htm masterizzatore double layer] [http://oedi.freehostia.com/text/directory/conaju/ conaju] [http://www.freewebtown.com/starbriteyellow/resources/articles/callao.htm callao] [http://coarmago.t35.com/content/view/www-ic/ www ic 3 cert it] [http://selemku.t35.com/text/directory/psp-rechargeable.htm psp rechargeable handle pad] [http://kopapguw.homeblock.com/topic/nokia-/ nokia 6600 programmi istallare] [http://getm0ney.freewebpage.org/lib/video-de/ video de michael vieth] [http://grahrens.125mb.com/view/new/scarpe-gabbana/ scarpe gabbana] [http://lorcaxon.homeblock.com/data/toyota-land/ toyota land cruiser sol] [http://coarmago.t35.com/content/view/elitos/ elitos] [http://kopapguw.homeblock.com/topic/canciones-de/ canciones de simpleplan] [http://getraylo.freeweb7.com/img/styles/tubi-e.htm tubi e tubazioni in metalli non ferrosi] [http://failtoexpress.freehostia.com/html/smak-doun.htm smak doun] [http://licohwar.homeblock.com/library/html/wallsend/ wallsend] [http://www.freewebtown.com/starbriteyellow/resources/articles/jimny-disel.htm jimny disel] [http://greensticky.freehostia.com/library/html/www-skynet/ www skynet com] [http://flheddin.125mb.com/content/view/audigy-nx.htm audigy nx usb] [http://mcwardlo.t35.com/library/html/dir-en/ dir en grey] [http://www.freewebtown.com/boogiejames/topic/pesci-lecce.htm pesci lecce] [http://selemku.t35.com/text/directory/vedere-il.htm vedere il mondo tramite il satellite di googlee] [http://boreldar.t35.com/text/directory/san-giovanni.htm san giovanni bianco] [http://lorcaxon.homeblock.com/data/nortek-lettore/ nortek lettore di mp3 1gb] [http://mcwardlo.t35.com/library/html/parmalat/ parmalat] [http://selemku.t35.com/text/directory/gioco-del.htm gioco del memory] [http://mcwardlo.t35.com/library/html/ivana-spagna/ ivana spagna e penso a te] [http://kopapguw.homeblock.com/topic/gipsy-king/ gipsy king immagini] [http://mcwardlo.t35.com/library/html/endeavour-trasporti/ endeavour (trasporti)] [http://huruple.125mb.com/text/directory/liquid/ liquid] [http://www.freewebtown.com/prncessprncipe/library/html/sanguinanti.htm sanguinanti] [http://beshennayabelka.freehostia.com/content/view/zucchero-arriva.htm zucchero arriva la bomba] [http://coarmago.t35.com/content/view/nuova-software/ nuova software house europea al debutto] [http://gawelzba.t35.com/library/html/www-postales.htm www postales com] [http://www.freewebtown.com/prncessprncipe/library/html/italiua.htm italiua] [http://licohwar.homeblock.com/library/html/hotel-del/ hotel del sesso] [http://mauballe.125mb.com/web/www-b/ www b a l it] [http://benevolently.freehostia.com/content/view/dediche/ dediche] [http://mcwardlo.t35.com/library/html/na-raz/ na raz] [http://getm0ney.freewebpage.org/lib/dmc-fz/ dmc fz1 panasonic] [http://boreldar.t35.com/text/directory/luigi-revenger.htm luigi revenger] [http://getm0ney.freewebpage.org/lib/tps-france/ tps france] [http://failtoexpress.freehostia.com/html/epson-stylus.htm epson stylus photo stampanti] [http://flheddin.125mb.com/content/view/miami-vice.htm miami vice vol 1] [http://scaleslea.freewebpage.org/text/directory/www-office/ www office blue it] [http://failtoexpress.freehostia.com/html/incontri-chat.htm incontri chat donna sposate] [http://mauballe.125mb.com/web/frases/ frases] [http://beshennayabelka.freehostia.com/content/view/obi-bermudez.htm obi bermudez] [http://getm0ney.freewebpage.org/lib/picasso-elegance/ picasso elegance] [http://gawelzba.t35.com/library/html/elo-live.htm elo live at wembley dvd] [http://greensticky.freehostia.com/library/html/nokia-gsm/ nokia gsm] [http://beshennayabelka.freehostia.com/content/view/costeau.htm costeau] [http://oedi.freehostia.com/text/directory/indiana-line/ indiana line] [http://scaleslea.freewebpage.org/text/directory/comune-di/ comune di floridia] [http://licohwar.homeblock.com/library/html/camera-pantelleria/ camera pantelleria] [http://www.freewebtown.com/prncessprncipe/library/html/donne-porche.htm donne porche gratis] [http://selemku.t35.com/text/directory/custodia-subacquea.htm custodia subacquea ixus] [http://greensticky.freehostia.com/library/html/snaidero/ snaidero] [http://scaleslea.freewebpage.org/text/directory/tracce-prima/ tracce prima prova esame di stato 2004] [http://grahrens.125mb.com/view/new/non-sono/ non sono] [http://www.freewebtown.com/starbriteyellow/resources/articles/come-fly.htm come fly with me frank sinatra] [http://lorcaxon.homeblock.com/data/ericsson-con/ ericsson con fotocamera] [http://getm0ney.freewebpage.org/lib/www-marinemax/ www marinemax com] [http://www.freewebtown.com/starbriteyellow/resources/articles/koshu.htm koshu] [http://huruple.125mb.com/text/directory/grante-fratello/ grante fratello] [http://benevolently.freehostia.com/content/view/file-attivazioni/ file attivazioni v7] [http://www.freewebtown.com/prncessprncipe/library/html/barbecue-foppapedretti.htm barbecue foppapedretti] [http://benevolently.freehostia.com/content/view/img-tool/ img tool] [http://www.freewebtown.com/boogiejames/topic/romasan-pietroburgo.htm roma-san pietroburgo] [http://www.freewebtown.com/prncessprncipe/library/html/traballa.htm traballa] [http://getraylo.freeweb7.com/img/styles/telefonino-resistente.htm telefonino resistente] [http://oedi.freehostia.com/text/directory/timbri-piacenza/ timbri piacenza] [http://scaleslea.freewebpage.org/text/directory/rosanna-conti/ rosanna conti] == Pricing Plans ==
| + | == Pricing Plans == |
| Adding Pricing Plans is pretty easy, but has the potential to cause a lot of pain for other users. PLEASE use your new pricing plan in production on YOUR installation for a period of time before contributing back. | | Adding Pricing Plans is pretty easy, but has the potential to cause a lot of pain for other users. PLEASE use your new pricing plan in production on YOUR installation for a period of time before contributing back. |
| | | |
Revision as of 15:08, 13 August 2007
Pricing Plans
Adding Pricing Plans is pretty easy, but has the potential to cause a lot of pain for other users. PLEASE use your new pricing plan in production on YOUR installation for a period of time before contributing back.
The part_pkg class links the packages to the database. The plan field indicates which pricing plan to use. The pricing plans are are found in FS/FS/part_pkg/. You will find such favorites as "flat" and "prorate" as well as new hits like "voip". You are welcome (and encouraged) to add your own plans and share them with the rest of us. Here's how to do it (I'm assuming that you have access to the code so that you can follow along):
- Find a package that is close to what you want to do. For example, if you wanted to add a plan that would give you until the end of the month for free and then charge you every month therafter, you would probably want to start with the prorate package because it's pretty similar.
- Make a copy of the old package under a new name. In this example you may want to call it free_rest_of_month.pm
- Change the following:
- %info hash - This is the description and fields for this package. The data here will be loaded upon instantiation and will be available for you to use in calculating the charge for this package. You should set the fieldorder and any defaults as appropriate.
- calc_setup - This sub returns the amount to be added to the invoice line item if the setup date is null. you can do some magic here, but be VERY careful. The flat_delayed module does some of this magic. You won't have to add this one for our example.
- calc_recur - This sub returns the amount to be added to the invoice line item. For examples of interesting recurs check out the voip packages. The most boring package, flat, just returns the value of recur from the package definition. We want to return the recur from the package definition if the last_bill and setup are set. We also want to be sure to do the $$sdate magic so that the next bill date is set correctly. We don't return anything if this is the first bill.
- calc_remain - If you are accruing revenue, then you will defer revenue for accounts that prepay. This allows you to give them credit for the service that they've paid for when they cancel. This method calculates it for you. Be careful here because this is essentially giving back money.
- is_free_options -
- is_prepaid - If you're building a prepaid plan, this has to be 1
Once you've updated these methods, go ahead and create an account and take it for a spin. Remember, if you're changing an existing plan, then PLEASE run it in your production environment before contributing back. Good Luck!
Services
Exports