Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 28th, 2000, 04:02 PM
peter 43 peter 43 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Posts: 1 peter 43 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have just obtained an online merchant account
The bank requires my order forms to create an
Alpha/Numeric code for each order and to pass this
onto their secure credit based card detail { Pay } form
I having problems getting detail from the bank ..
its a pilot program I think
As the bank now puts it
The customer doesn't require any specific invoice
generator or shopping cart
application. All their web site form needs to do is
manage an invoice / customer
reference number that the merchant will use to reconcile
and track his orders.
This number is sent to the payment page and we advise
the merchant is the
payment was successful or not referring back to this
number

I will appreciate any advice
Peter Rice

Reply With Quote
  #2  
Old April 20th, 2000, 05:38 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
@chars=("a".."n","p".."z",1..9);
$invoice_num="";
for ($i=1;$i<=10;$i++) {
$invoice_num .= $chars[rand(@chars)];
}
You should see that I didn't use 0 and o on purpose. This should generate a 10 char randomly. You can then keep this $invoice_num and associate it with the proper order. Of course, you need to keep this $invoice_num somwhere so you can keep track of the orders.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > Help with order form to gererate an invoice number


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT