Hi guys,
I'm not really experienced with PHP to a high degree, very very basic knowledge. I took a website for a client which was an e-commerce website in need of a re-host? Sounds Simple enough.
However when uploading the site i found it went to a secure server outside of the one I was hosting it on when it came to submitting the payment. I then had to get access to these files and get them working on locally on my server. This where I'm having trouble...
It's easier to show you the problems rather than try and explain them.
This is the original working version of the payment page:
https://secure.wilkesdesign.com/egowear/pay.php
And this is my version:
http://www.egowear.co.uk/payment/pay.php
Which is essentially a duplicate, all I have changed is the details for it accessing the database on the the server which is included in "inc_db.php"
As well as updating the link in protx.php to the correct TermUrl.
The rest is the same as the original
If you go to the first page and enter no details and just click "Make Payment" at the bottom of the page, you should get several validation errors appear in red at the top of the page.
Do exactly the same on my version, the second link. And nothing seems to happen, no errors nothing.
I'll admit i'm quite out of my depth here now, and I'm betting it's just me missing something obvious. So if anyone has any ideas I'd really appreciate it .
I've attached the source code for the pay.php file as a txt document.
Best Regards
Chris