Forum Moderators: coopster

Message Too Old, No Replies

cybersource and the shared host environment

cybersource and the shared host environment

         

interactive gun

5:12 pm on Feb 26, 2005 (gmt 0)

10+ Year Member



hello everyone, Once again I am beating my head against the wall (because it's fun and educational too!) but the blockade is too great.
Has anyone ever used cybersource gateway on a shared linux environment? There is one step completely frustrating here, and my host says it is able to be completed using .htaccess rather than the php.ini file, but I can't find anything to support this. The documentation states:

3. Copy phpN_cybersource.so into the PHP extension directory, where N is:
4 if your PHP version is 4.x.x or
5 if your PHP version is 5.0.0.
If you do not know where the PHP extension directory is, look inside php.ini
and search for "extension_dir". The value it is set to is the PHP extension
directory. If you do not already have "extension_dir" set to an explicit
directory:
a. Create an extension directory (outside of the client installation
directory).
b. Set "extension_dir" to that directory.
c. Copy the phpN_cybersource.so file to that directory location.
4. In php.ini, look for the section "Dynamic Extensions", and add the following
line anywhere before the next section:

extension=cybersource.so

and then, save your change.

jatar_k

5:22 pm on Feb 27, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Did you get it to work? I have never used cybersource.

what exactly is the problem you are having?

interactive gun

7:56 pm on Feb 28, 2005 (gmt 0)

10+ Year Member



not yet but getting closer... (I think) Cybersource has a 'simple' API set up, and for the most part it looks straightforward, unless you have a shared hosting environment.
It has been three days now, and I am pretty sure the .htaccess file should look like (when you don't have php.ini access:

php_value extension_dir /home/user/public_html/extension
php_value extension php4_cybersource.so

then I ran the export LD_LIBRARY_PATH

and now I get:
Call to undefined function: cybs_load_config()

which is a command from one of their libraries so there has to be a variable, somewhere. I've emailed the support over there, and called, but I think there is only one person who handles it all, so I'm back to aggrivating myself. Either my .htaccess file is incorrect, or some other varible is missing.

I've never used them either, till now....

their docs are at: (I'll write the new manual when I'm done)

[apps.cybersource.com...]