Hey musicman, are you able to send across your working .fla and php, I can't figure out what's wrong when i copy+paste your php script in your last post.
Thanks
that line 37 simply should not be there
It seems that piece-wise copy/paste to the browser window (when posting) sometimes results in that sort of things
Is this error because I have not yet set the Merchant ID and Password in the php script?
I thought maybe it was the undefined data in the card details so this is my actionscript now yet the same error occurs..
it works better when you specify the expiry as 09/09 rather than 0909.
Now, another problem surfaces, however: the script - which is derived from your sample, assumes that ssl:// is supported. This works on my machine but not on yours.
You should upload a phpinfo file to your server and see whether the output mentions anything possibly capable of ssl (e.g. the curl package)
Worked perfectly, it was the "/" that was preventing it from going through
SSL is supported on the server so that's no problem. (i've asked the hosting provider)
but i get this error...
Code:
Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP? (-1208974128)
Fatal error: Maximum execution time of 180 seconds exceeded in /home/artistic/public_html/payment.php on line 170
i've emailed the client's hosting provider to enable ssl on the server if it is available and if it's not available then I would recommend my client to switch providers.
Just got off the phone to the payment gateway provider.
They explained I do not need an SSL certificate from the hosting provider as the payment gateway (securepay) has the certificate installed.
They've told me to speak with the hosting provider to;
1) Re-configure the server's firewall to allow the following url's:
Securepay now sent me this email...maybe you understand more clearly?
Just going by the error message : check that you have configured support for ssl and sockets in your php. Run ./configure --help for the options. You may need openssl installed on your machine (if it isn't already).
remember that funny php error message:
Unable to find the socket transport "ssl" - did you forget to enable it
It is something the hosting provider could fix by installing a php addon or by reinstalling a different version of php.
Have a look ... as I suggested before ... whether they support the curl php extension instead
---> Could you fix the error by installing a php addon or by reinstalling a different version of php?
No. PHP is a major service and it works for everyone as it is. We can'tmake any major changes to such a service just because one third partyscript doesn't work - besides we don't even know what the issue is.
---> Or do you guys support the curl php extension instead?
Yes we do - cURL with SSL support is installed on your server and isused by other customers also.
---> Just double check in regards to my other email if there is a firewall preventing the openssl socket for the url's TEST and LIVE of securepay? Tested and everything seemed to work fine ie. there's no firewallblocking outgoing https access and both urls you provided are accessible.
My mistake...my credit card hasn't yet been activated which is why it is invalid.
Looking at the screenshot below from the merchant account does everything look ok?
I may need you just for a few questions in the next few days if that's ok with you, but all seems to be good
Thanks again for everything!