|
Preparation
Contact your hosting service provider to work with files on the host server.
Make sure that the payandshop.jar file is present in the
/hsphere/local/home/cpanel/java_rt/ directory and the path to this file
is specified in /hsphere/local/home/cpanel/apache/etc/jserv/jserv.properties
If not:
- Get registered with the PayAndShop and obtain the payandshop.jar file.
- Put the lib file into in the directory ~cpanel/java_rt/.
- Edit /hsphere/local/home/cpanel/apache/etc/jserv/jserv.properties to include the following string:
wrapper.classpath=/hsphere/local/home/cpanel/java_rt/payandshop.jar.
- Restart H-Sphere
Configuration
- Select PayAndShop in the Add New Gateway box.
- Click the Add button.
- Fill out the form that appears:

- Title: give a name to this PayAndShop connection
- Merchant Id: the code given to you by PayAndShop. This is NOT the merchant number supplied by your bank
- Secret: the encryption code given to you by PayAndShop
- Account: your PayAndShop account ID
- Currency: the currency in which your end users will be charged
- Click Submit Query
|