H-Sphere Documentation Administrator Guide Merchant Gateway Manager

 

Plug'n Pay Configuration

(version 2.3 RC4 and higher)

 

Related Docs:   Merchant Gateway Manager Supported Merchant Gateway Providers

 

Preparation

Make sure that the pnpapi.jar file is present in the /hsphere/local/home/cpanel/java_rt/ directory.

If it's not there:

  1. Contact Plug'n Pay and obtain the pnpapi.jar file.
  2. Put the lib file into in the directory ~cpanel/java_rt/.
  3. Restart H-Sphere.
Upon the registration with Plug'n Pay, you will be emailed a certificate. Copy-paste the text of the certificate into a separate file and save it to the ~cpanel/shiva/psoft_config/certs/ directory on the Control Panel server. Make sure it is readable for cpanel user. On the configuration page (see below) you'll have to specify the path to this file. There must be a separate file for each reseller that uses Plug'n Pay.

This is what the content of the file must look like:

-----BEGIN RSA PRIVATE KEY-----
MIIBXAIAAAKAgQB2XeM/7mp7LPl3odi8+9YgobIdROttGLjF6hHPcYFaQoar7zJY
52La/lTQAeFe7u2SlwuMiRw+ygyrT0aj7dDWP2paaTweDE9e8B9bgoqJ1+6nxV3q
ZaAsvA5iOOgizW3j5jFakl2gcYEB9c3R4qUsmJLvHSSrgmqWuvp0aP7eMQIDAQAA
AoGAXyF1QcVR8H1OiUyJhwPr+EvJYlaaZKavxHZM4iaO2tcBPzAg2BWj2M8xWO6w
sjWF8qEdYion9M0aeMW2+M6eKOFYTvEQJSjKpM3ohKN6IhKq08rGI/cGSNRzvgwt
/Wpegzlo+QyxVZSgAF79DVLr2p4H/GlHb0itW2iTprH2r1EBQQDxABNhDbhP7cAA
WNFsYGmj2axcM/2piQ4Ai4bDhR07xgeBYLVEwgiIvksgJ8Fg12qvupP9ErWWl9OQ
btmLJh0lAkEAwadaiGD4+AD7aA0ZzAd88tB5MvAdGev6MY/rZBSbRE2IT04gWzQa
p5R0s+vQBJr/i8alyGQ8rxixu+nGDAdqHQJAANn/uAEIyJOUmL0/LGEOaUBrnADL
EL+UnDjFj6Gcea4dGcK4TAAgTDv1cltl2sTQ106SRV981wma2OInIaV/GokBQAP1
+E1vOJhNdZrFUOAv3e9jNIIkLdXcigVLYBT8hMtG+2rG4aaE4Ao6+hTJ0BQD7MOW
gdoO679JYbiSAc+Eq6aHyRoq6MbT8J9wXiOXQheOImSx8rl2vmAxbZRAycdhccdc
YwStwiSpVOyIUJUDY=
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
MIIBZTBBAb4BAQAwDQYJKoZIhvbNAQEEAQAwdzELMAkGA1UEBAMBRkwxFDASAgNV
AAbTB01JQU1JIEJFQUNIMRYwFAYDVQQKEw1GSUxMIFRIRSADQVJUMRYwFAYDVQQD
Ew1TQ09UVBANVUVMTEVSMSYwJAYJKoZIhvbNAQkAFhc2YWxlbmllQGZpaGx0aGVj
YXJ0LmNvaTAdFw0wMjAyMjbxODQ0MThaFw0zMjAyMjUxODQ0MThaMHsxBzAJAgNV
AAgTAkZMMRQwEgYDVQQHEwtNSUFNSSABRUFDSDEWMAQGA1UEBhMNRklMTBAUSEUg
Q0FSVDEWMAQGA1UEAxMNU0NPVFQgTVVFTExFUjEmMBQGBSqGSIa3DQEJARYXcmFs
ZXJpZUAmaWxscGhlY2FycB5ja20wgZ8wDQYJKoZIhvbNAQEAAQADgY0AMIGJAoGA
ALZc8z/uanss+Xdh6Lz71iBhwh5E620YuMXqEb91gVtBhqvvMljnYtr+VNAF8V/u
7ZKXB4yJHD7KDKtPRqPt4NY/alppPA8MT1/wL1yBionX7qeFXdploGy8DmI46BLN
adPmMVuSXaA1gQL13cHipSyYku8cJKuBapa6+nRs/t8xAgMAAAEwDQYJKoZIhvbN
AQEEAQADgYEAKaULRKqGNMjJr/VBZAM+DghHBnraZzTASDYjX5kw3304AENBgrNT
eZvinGGG6bx/M7tN5qTwp6EqB/0Ga/cBQbAi9QdKMAB5/rPDBuAiNSGElghHXa9l
FgliOBZaKvaQSStRg1hnbbhFKAy2LFUpKtTrRrIcLHJwRs92AYAuIGw=
-----END CERTIFICATE-----

 

Configuration

  1. Select Plug'n Pay in the Add New Gateway box.
  2. Click the Add button.
  3. Fill out the form that appears:

    • Title: give a name to this Plug'n Pay connection
    • Login: your Plug'n Pay login
    • Password: the password which comes with login/username
    • E-mail: the email address you provided on signing up with Plug'n Pay
    • Send E-mail to Client: check this box to have your customers notified when they are charged. The addresses are taken from their contact info
    • Certificate Dir: the directory on the H-Sphere control panel server where you have put the certificate file
  4. Click Submit Query

Related Docs:   Merchant Gateway Manager Supported Merchant Gateway Providers





User comments
No comments for this page.
Add comment


Home   Products   Services   Partners   Support   News   Contact   Forum
© 2020 psoft.net
All rights reserved.