I have a set up with fairly straightforward perl scripts which has worked fine
My set up is as follows
1.CUSTOMER GIVES THEIR DETAILS
[CSVwrite]
2.CUSTOMER SEES A SUMMARY OF THEIR DETAILS
[CSVread]
3.CUSTOMER (hopefully!) proceeds to place an order with payment processor.
OK - it is the final step which is now an issue. Initially I have used Paypal, but have now signed up with a 'proper' merchant account.
They require a fixed page to submit from.
currently my page comes out as
[mysite.com...]
[12345 or 24758, whatever the specific order is]
Is there a way of 'dropping' the show command from the browser URL. If not, does anyone have any suggestions as to how resolve this (the only idea I've had so far is to then post to another page, but for various reasons I feel that is a very unsatisfactory solution)
I've also asked about mod_rewrite, but that doesn't seem possible this way around.
just to clarify - this URL is what comes up in the browser
my merchant account would accept
[mysite.com...]
its the rest which is a problem
Any advice greatly appreciated.
James
EDIT - I'm wondering if, rather than complicating things, would this be resolved by using some form of SSI? if so, how straightforward is that?
Your csvread.pl script can read the $ENV{'PATH_INFO'} variable for the '12345' param.
The nice thing is that since it doesn't have a question mark in the URL, it looks like a regular URL, but it contains all the info of a single parameter "GET" type URL.
They require a fixed page to submit from. ...Is there a way of 'dropping' the show command from the browser URL.
Two things: one, the fixed page is usually on their site? Does your gatway accept silent post? If it does and your cart is on a secure server - you can do this by performing a curl directly from your site and a URL is not an issue.
If you can't do any of that, how about passed variable support? That is, can you pass a var to the payment processor and when they return to your site it's a button on a form with your variables in a hidden field, or is it just a link?
While I posted this, I was also looking into using mod_rewrite:
[webmasterworld.com...]
But I would like to thank volatilegx and rocknbill for their suggestions. Much appreciated.
Best regards,
James