View Single Post
  #10 (permalink)  
Old 06-22-11, 12:53 PM
pezza pezza is offline
Newbie Coder
 
Join Date: Feb 2010
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Still no joy with this

Hi,

Well I am back again, this time I am still trying to get this blasted ePDQ working with traditional ASP (client decided not to go with the new .NET cart)

I have to say though, i am "almost" there and I am successfully handling the response back from ePDQ and the status in the database is being updated correctly. The only bit that I cannot get to work now, is the Thank You page where I now need to grab the status from the database to display details of the transaction.

The problem is, ePDQ send the order id AND status back to my routine, which updates the database, but only the order id is sent back to the Thank You page for reconciliation. This means that my Thank You page now needs to get the information from the database and the Thank You page is not working. This is a generic page that covers responses from various payment gateways including a custom routine, which is where i come in Problem is, that it uses an #include file to bring in the so-called oid and transaction status but for security purposes (enforced by EPDQ!) I have to secure the folder where this script is, and i think that is making the Thank You page return a 500 Internal Server Error.

My first question would be the hopefully simple one...is it possible to call an #include file by specifying security credentials? Or should this not be the issue?

Secondly, I know that i have my order id returned is present so maybe there is just something different that i need to do in the custom section of the Thank You page to correctly use the oid to query the database and pull back the information to display. If that is the case, can anyone help me with this?

I can obviously provide the full Thank You page code.

I would really appreciate it if someone could help me with this final piece of the jigsaw

Thank you

Andrew
Reply With Quote