Seller Charges "> #sellerFeeEmailList# #sellerFeeEmailListNone# "> #sellerFeeEmailZeroOwe# "> #sellerFeeEmailAllToday# "> #sellerFeeEmailCardCharged# "> #sellerFeeEmailCardDeclined# "> #sellerFeeEmailInvoice# ">

Seller charge options updated.


Seller Charge Options

#secureSystemURL#/seller/chargeSeller.cfm?emazecharge

  • The ?emazecharge is added to make it unlikely someone will run the script by calling the url
  • You should also probably add a RequestTimeOut variable to the URL. This will change the number of seconds until the script times out. The server will time out a script to prevent it from running forever. Set the timeout value to a time high enough to run thru the entire script. So the full URL would now be something like:

        #secureSystemURL#/seller/chargeSeller.cfm?emazecharge&RequestTimeOut=500

    This would let the script run for 500 seconds before it times out.

  • The script should be run only from a secure server. It cannot be run from a site running off an IP address. It must be using a domain name.
  • The script is set up to run every X days. But we can customize it to run every night and only process each seller once a month, or something like that. We will build in more flexibility in the future, but we can easily customize it to do anything you want.
  • To make your credit card merchant account information more secure, the script has your CyberCash ID and merchant key hard-coded. So it is not simply plug-and-play. You need to open the seller/sellerCharge.cfm file and enter these 2 ID's (given by CyberCash) directly.

Here is a quick description of how this script works:

  1. We update the commission fees on all closed lots.
  2. We get all fees from the database which have not been paid. This includes all insertion fees, bold fee, featured category fees, featured homepage fees, and commission fees.
  3. For all fees, you can decide whether the fee is processed before or after the lot closes. The commission fee can only be processed after the lot has closed though.
  4. The list of sellers being processed today is emailed to you. If there are no sellers, you get an email saying that and the script stops.
  5. For each sellers, we add up the total fees to be processed.
  6. If their total fees are less than the minimum amount you want to process per transaction, we email the seller and CC you to say you don't owe anything this time around.
  7. If their total fees are greater than or equal to the minimum amount, we bill them. You can also set a free credit that they are not charged for (or are charged separately) which we will subtract from the amount they owe.
  8. If they have not entered their credit card information, we email an invoice to them asking them to pay and CC you. (Admin is CC'd on all emails.) The fees included in that invoice are marked as having been invoiced, but not paid. Later, we will provide a screen to enter when fees have in fact been paid.
  9. If they have entered credit card information, we try to process their credit card using CyberCash version 3.
  10. If their credit card was processed successfully, we email them a summary of all fees we charged in that transaction. Again, admin is CC'd. The fees are marked as paid.
  11. If the credit card was rejected, we do not email the seller. We only email the admin to let them know. All rejected credit cards are sent in one email summary. If you are processing each seller only every X days, you can set the next process date to be sooner than the normal cycle so it will try again sooner. But this is not currently implemented. Don't leave any of the fields below blank though.
  12. We email a summary of all fees processed that day to admin.
Minimum Fee Processed:
# Days Until Next Process When Successful:
# Days Until Next Process When Failure:
# Days Until Next Process When Did Not Meet Minimum:
Initial Free Credit:

When Fees Are Processed
Never Before
Lot
Closes
After
Lot
Closes
Insertion Fee CHECKED> CHECKED> CHECKED>
Bold Fee CHECKED> CHECKED> CHECKED>
Featured Category Fee CHECKED> CHECKED> CHECKED>
Featured Homepage Fee CHECKED> CHECKED> CHECKED>
Commission Fee CHECKED> - CHECKED>

Email Information
From Name: (leave blank for no name)
From Email:
Admin Email CC:

List of Sellers Processed Today (initial email)
Subject:
Message:
Message
when no
sellers:

Sellers Owes No Money For Period (less than minimum)
Subject:
Message:

Seller Invoice (no credit card - you owe us)
Subject:
Message:

Credit Card Charged
Subject:
Message:

Credit Card Declined
Subject:
Message:

Summary of All Sellers/Lots Processed Today
Subject:
Message: