[phorm] I'm stumped!

  • From: "Mick" <mick@xxxxxxxxxxxx>
  • To: <phorm@xxxxxxxxxxxxx>
  • Date: Sun, 9 Nov 2003 22:35:14 -0800

Ok, I'm stumped a bit here and could use some help.  I'm using Phorm to order
CDs from a website, log them to a database and then pass the needed
information on to PayPal for payment.  Everything works well until the last
acknowldgement page, ackorder2main.php, which is called from orderform2.php.
ackorder2main.php includes a form which submits the information to PayPal,
this works fine.  What doesn't work well, is the emails sent out in
emailregisterinfo2.txt and emailregisterinfo3.txt.  It doesn't include any of
the customer information, only the order information from the order pages.
Below is what is typically received :

 - - - - - - - - - - - - - - - - -
   has placed an order.

Here's the details of the order :

2 of A Visit with Will CD
1 of The Sonnets CD
$59.85 - CD amount total
$4.79 - Tax
$7.00 - Shipping and handling
$71.64 - Order Total

Please check your PayPal email account to verify payment.

Please ship the order to :




,

You can then update the database after logging in at
http://www.shakespearespeaks.com/login.php

emailorderinfo2.txt
 - - - - - - - - - - - - - - - - -

The automatic email that should be sent to the customer, emailregisterinfo.txt
isn't sent at all.

For someone to order CDs they must be registered and logged in.  Session
variables are then set with their relative shipping information, etc.  I've
somewhat changed the information shown thru ackorder2main.php to show that
these variables are indeed working.  However, they aren't passed thru the
confirmation emails mentioned above.

The other problem I have is that the $orderid which is, $dateordered   =
date("mdy"); combined with the customer ID, $custnumber.  When the $orderid is
logged to the database, it is only the $dateordered variable and not the
combined $orderid.

I've uploaded the related files in a zip file at
http://www.motophotoz.com/shakeorders.zip

I've currently got these forms setup at http://www.motophotoz.com/home.php for
testing, just click on the LogIn button.  I've setup a test user with a
username of guest and a password of guest.  Please feel to run through the
forms and look at the related files to see if anyone can see what my problem
is. I sure can't seem to find it and after pulling hair for the last couple of
days and am afraid I'll be bald soon. :)

Thanks for any help ya'll can give.

Mick Housel
mick@xxxxxxxxxxxx

PS Alan, this is a great program for a great price and it's been well worth
the registration cost.  Thanks for sharing it


-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts:

  • » [phorm] I'm stumped!