The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Start Up and more >> Accounting
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1073605355

Message started by banshee on 01/09/04 at 00:42:34

Title: Accounting
Post by banshee on 01/09/04 at 00:42:34

Hi

I used the EA script and saw some kind of aggrevation with you and madclicker in there, unsure as to why and I kept out of it.

Anyway, your script seems to be the way to go, can you advise how I can add an accounting package to this script please.

Thanks for your help.

Regards


Title: Re: Accounting
Post by Forum Admin on 01/09/04 at 15:56:05

The beta version of eAuction 1.6.2 is running as a test-drive at http://www.everyscript.de/cgi-bin/eAuction162/eAuction.pl

eAccount162.pl  
is included but the output isn't formatted yet.

The admin-part is still a building site   :'(

Title: Re: Accounting
Post by bookswap on 05/12/04 at 20:08:41

Is it possible to get the accountea script to work with this script without altering accountea?

Title: Re: Accounting
Post by Forum Admin on 05/12/04 at 22:03:13

Sure ... should be possible

Title: Re: Accounting
Post by bookswap on 05/16/04 at 03:41:20

Any ideas how?

Title: Re: Accounting
Post by bookswap on 05/20/04 at 19:24:57

Here is what accountea asks to be put into auction.pl.....

Find these lines in auction.pl

#-#############################################
# Main Program
# You do not need to edit anything below this
# line.

After them, add:

require "accountea.pl";

Then at the top of the 'elsif' section,
find this line:

if ($form{'action'} eq 'new') { &new; }

After it, add the following:

#-#############################################
# AccountEA. By Stuart Jones.
#
elsif ($form{'action'} eq 'account_login') { &account_login; }
elsif ($form{'action'} eq 'account_view') { &account_view; }
elsif ($form{'action'} eq 'account_admin') { &account_admin; }
elsif ($form{'action'} eq 'view_admin') { &view_admin; }
elsif ($form{'action'} eq 'user_credit') { &user_credit; }
elsif ($form{'action'} eq 'procpostal') { &procpostal; }
elsif ($form{'action'} eq 'postal_login') { &postal_login; }
elsif ($form{'action'} eq 'paypal_login') { &postal_login("paypal"); }
#
#-#############################################



#########################################
# Create Users Account Upon Registration

By default the script will create a users
account when they first incur a charge.
For some of the following functions to
work you will have to create a users
account upon registration.  This can be
done by adding this line to procreg

&accountcreate ($form{'ALIAS'});

Best to put it after this line:

&sendemail($form{'EMAIL'}, $config{'admin_address'}, 'Auction Password', "PLEASE DO NOT REPLY TO THIS E-MAIL.\r\n\r\nThank you for registering to use the online auctions at $config{'sitename'}!\r\n\r\nYour new password is: $newpass\r\nYour alias (as you entered it) is: $form{'ALIAS'}\r\n\r\nThank you for visiting!");


#########################################
# Auction Closing Charges
#
# These should be placed imediately
# after this line in sub closeit

&sendemail($lastbid[1], $firstbid[1], "Auction Close: $title", "Congratulations!  You are the winner of auction number $item.\r\nYour winning bid was \$$lastbid[2].\r\n\r\nPlease contact the seller to make arrangements for payment and shipping:\r\n\r\n$firstbid[4]\r\n$firstbid[5]\r\n$firstbid[6]\r\n$firstbid[1]\r\n\r\nThanks for using $config{'sitename'}!");

#########################################
# Apply a Fixed Fee (in this case -1.00)
# for auction close provided the reserve
# price has been met.      

&proctransaction ($firstbid[0], 2, "$title Closed","No. $item Close Price $lastbid[2] Reserve Met","-1.00");




I would like to implement this into the eAuction.pl script, but I can't get it to work.  Could someone please help me with this?



Title: Re: Accounting
Post by bookswap on 05/25/04 at 20:21:54

anyone able to help? ???  it would benefit a lot of people

Title: Re: Accounting
Post by Forum Admin on 05/26/04 at 16:53:05

I wouldn't recommend to add this messy code to eAuction.
- the author didn't finished the code
- the code is containing a lot of mistakes
- the code-design is very sloppy
- the included HTM parts are very messy

However ...
if you want to add the 'elsif' block of 'accountea' to eAuction.pl:

- search eAuction.pl for

$event = {
};

- paste the following code as a new line behind it

Code:

   my $account_event = {
               'my_auction'            =>  \&disp_user_auction,
               'account_login'     => \&account_login,
               'account_view'      => \&account_view,
               'account_admin'     => \&account_admin,
               'view_admin'        => \&view_admin,
               'user_credit'       => \&user_credit,
               'procpostal'              => \&procpostal,
               'postal_login'      => \&postal_login,
               'paypal_login'      => \&postal_login("paypal"),
   };

   $event->{$_} = $account_event->{$_} foreach (keys %$account_event);

- follow the instructions of 'accountea'
- keep in mind that the code of eAuction is very different from the code of EveryAuction.

Title: Re: Accounting
Post by bookswap on 05/31/04 at 02:39:51

So will i be able to add lines just as accountea tells me or do I have to use different coding to work with eAuction?  Example being, can i just insert the following code as stated in accountea...

# Create Users Account Upon Registration
 
 By default the script will create a users
 account when they first incur a charge.
 For some of the following functions to
 work you will have to create a users
 account upon registration.  This can be
 done by adding this line to procreg
 
&accountcreate ($form{'ALIAS'});
 
 Best to put it after this line:
 
&sendemail($form{'EMAIL'}, $config{'admin_address'}, 'Auction Password', "PLEASE DO NOT REPLY TO THIS E-MAIL.\r\n\r\nThank you for registering to use the online auctions at $config{'sitename'}!\r\n\r\nYour new password is: $newpass\r\nYour alias (as you entered it) is: $form{'ALIAS'}\r\n\r\nThank you for visiting!");

Title: Re: Accounting
Post by bookswap on 06/08/04 at 16:54:48

can anyone answer this ??? ???

Title: Re: Accounting
Post by Forum Admin on 06/08/04 at 17:49:28

First of all you should try to lure a lot of users to your site.
If you have enough users, then you should try to introduce a fee system.

Title: Re: Accounting
Post by bookswap on 06/11/04 at 02:39:20

Thats the plan, but I need a working accounting program to implement when the time comes. ;)

Title: Re: Accounting
Post by computerglue on 05/24/05 at 07:15:41

For any interested parties, I have written (for a client) the credit card registration for posting items.

I did it a bit different than this, but same idea.  I have 2 separate registration pages, one for sellers, one for buyers.  This is more similar to the way Ebay is doing it now.  For sellers, they must put a credit card on file to be able to post any items.  At the time of registration, the card is verified (not authorized) and when a post is added by that user, the client runs his/her card.  If a buyer tries to post, they are asked to update their billing information.

This really wasnt' too hard, took me around 4 hours total, but had to do some rewrite on quite a few of the subs.  So if anyone is interested in the code email me and I will send it on.  A bit too much to post here.

Didn't think about PayPal, but that integration would be pretty easy, as their EPI is pretty flexible.

Well, onto something else. :)

Glue

Title: Re: Accounting
Post by Dieter Werner on 05/24/05 at 14:51:58

It would be very good if more users of eAuction would contribute some code to the project.  :)

Title: Re: Accounting
Post by bookswap on 05/25/05 at 03:09:49


computerglue wrote:
For any interested parties, I have written (for a client) the credit card registration for posting items.

I did it a bit different than this, but same idea.  I have 2 separate registration pages, one for sellers, one for buyers.  This is more similar to the way Ebay is doing it now.  For sellers, they must put a credit card on file to be able to post any items.  At the time of registration, the card is verified (not authorized) and when a post is added by that user, the client runs his/her card.  If a buyer tries to post, they are asked to update their billing information.

This really wasnt' too hard, took me around 4 hours total, but had to do some rewrite on quite a few of the subs.  So if anyone is interested in the code email me and I will send it on.  A bit too much to post here.

Didn't think about PayPal, but that integration would be pretty easy, as their EPI is pretty flexible.

Well, onto something else. :)

Glue



Great Job!  Could you try implementing the Paypal integration...I think it would benefit many people here until eAuction162 is released ;D

Title: Re: Accounting
Post by computerglue on 05/25/05 at 04:19:08

Dieter,
It's a nice script, you have obviously put alot of time into development.  I'd be happy to help with whatever in my spare time. (however little there is) :)

bookworm,
I emailed you the copy, hope you get it.  Haven't integrated PayPal yet, since it wasn't on this client's spec list, but I can write that in down the road (possibly after my vacation next week.)

Remember, this is an accounting addon so that people must PAY to post auctions but they can BID for free.  So there are two registrations.   Didn't want to confuse anyone.  The addon features for payment accepted by auction posters is different and that will be a nice addon in Dieter's next release.  Shouldn't be too hard though, since it's just adding a few fields/field to the item DB and i've already done that for multiple fields.  Will be a nice feature though.

I'll look for that new release to see what new damage I can do. :)

Glue

Title: Re: Accounting
Post by blackdragon on 03/05/06 at 06:23:52

well i tryed these code i can't get it to work yet

Title: Re: Accounting
Post by Dieter Werner on 03/05/06 at 12:33:19


blackdragon wrote:
well i tryed these code i can't get it to work yet

I never have seen this code - so I can't reply to any questions regarding it.

Title: Re: Accounting
Post by workpage707 on 03/10/06 at 19:23:52

Can i charge for posting a bid?

Title: Re: Accounting
Post by workpage707 on 03/10/06 at 20:15:46


Forum Admin wrote:
I wouldn't recommend to add this messy code to eAuction.
- the author didn't finished the code
- the code is containing a lot of mistakes
- the code-design is very sloppy
- the included HTM parts are very messy

However ...
if you want to add the 'elsif' block of 'accountea' to eAuction.pl:

- search eAuction.pl for

$event = {
};

- paste the following code as a new line behind it

Code:
   my $account_event = {
               'my_auction'            =>  \&disp_user_auction,
               'account_login'     => \&account_login,
               'account_view'      => \&account_view,
               'account_admin'     => \&account_admin,
               'view_admin'        => \&view_admin,
               'user_credit'       => \&user_credit,
               'procpostal'              => \&procpostal,
               'postal_login'      => \&postal_login,
               'paypal_login'      => \&postal_login("paypal"),
   };

   $event->{$_} = $account_event->{$_} foreach (keys %$account_event);

- follow the instructions of 'accountea'
- keep in mind that the code of eAuction is very different from the code of EveryAuction.





i tried this and my page comes up blank?

Title: Re: Accounting
Post by computerglue on 03/11/06 at 01:20:12

I would post the entire code, but it will not let me.  Any ideas admin?  I really don't want to post it in 12 sections.

Glue

Title: Re: Accounting
Post by Dieter Werner on 03/11/06 at 10:20:19


computerglue wrote:
I would post the entire code, but it will not let me.  Any ideas admin?  I really don't want to post it in 12 sections.

Glue

Make a zip file, upload it to your server and post the download-link.

Title: Re: Accounting
Post by computerglue on 03/12/06 at 04:09:06

Fair enough,
I've actually gone ahead and loaded it up as a text file at http://www.a-nett.net/download/eauction.txt

Remember, I've modified some of the database text fields to match a timeshare site and added some custom fields for that purpose.  Hopefully you can extract what is needed.  I added 2 subs for Seller Registration and Buyer Registration.

Email me with any questions.
Glue

Title: Re: Accounting
Post by workpage707 on 03/13/06 at 21:23:45

where do i find the credit card info that seller and buyer inputs

Title: Re: Accounting
Post by computerglue on 03/14/06 at 01:44:51

It is put in the data file in the appropriate fields.  You could also write it to have the fields added to the notification email to the admin.  If you don't know how to do this, you're probably better off hiring somebody. :)

Glue

The eAuction Support Forums » Powered by YaBB 2.2!
YaBB © 2000-2007. All Rights Reserved.