Hi
I previously posted a message asking for a paypal alternative and have decided to stick with them.
I am now communicating with the sandbox test environment and can view basic text in my browser on completion of the handshake.
However, I would like to execute a cab file from this script and have tried to add a some basic javascript to do this. I have removed all other browser messages.
The statement in my CGI script I have added is shown below:
print header(), start_html("Thank you for your purchase!",-script=>'document.write("<object CLASSID='clsid:771CEE6D-6EBA-4525-A559-8952BFD15336' CODEBASE='setup.cab#Version=1,00,0000' BORDER=0 VSPACE=0 HSPACE=0 ALIGN=TOP HEIGHT=0% WIDTH=0%></object>");',end_html());
I am receiving the following error when trying to run the CGI script:
syntax error at sandboxpdt.cgi line 14,
near "'document.write("
If anyone has any advice here it would be greatly appreciated.
Thanks in advance
GB





