The EPI - E-Payment Interface

 

Overview | Concept | Licensing | Download | Installation | Sample Code | FAQ

Products | Scripts | Services | Tutorials | Books | Links | Contact | Bulletin Board

Please follow the links below to read the documentation specific to your gateway:

AuthorizeNet | BluePay | CyberCash | Echo Inc. | ESec | FirePay | GO Software(PCCharge)

iBill | Innovative Gateway | IntelliPay | Iongate | IPayment | LinkPoint | NovaInfo | PayBill

PayPal | PaySystems | Plug-n-Pay | Qenta | Skipjack | TeleCash | VeriSign | WorldPay

Plug-n-Pay

Plug-n-Pay is an US based company. As of this writing, Plug-n-Pay supports only transactions in US dollars.

 

What you need to start

You receive from Plug-n-Pay the following information:

  • personalized script URL
  • Merchant ID

 

Gateway Configuration Data

The Plug-n-Pay product homepage is under: http://www.plugnpay.com/

This package uses a SSL backlink method to submit the data to the url provided to you by the merchant gateway, most likely:
https://pay1.plugnpay.com/payment/pnpremote.cgi

You will need the following software installed:

Net::SSLeay v1.15
OpenSSL v0.9.6c

Please check the Net::SSLeay web page for the correct version required:
http://symlabs.com/Net_SSLeay/

For the people that don't have Net::SSLeay installed (NT folks),
there is an alternative submission method using:

LWP::UserAgent
Crypt::SSLeay

Please see the main installation instructions for more information on configuring the SSL modules.

 

Payment Methods

The Supported payment method is CreditCard only.

Valid values for -ACTION

  • TEST
  • AUTH_CAPTURE

To VOID or CREDIT you have to use the manual online terminal.

 

 

Code to use for The CITY Shop

 

$MerchantData = {
  -GATEWAY_NAME           => 'plugnpay',
  -GATEWAY_URL            => '/payment/xxxxpay.cgi', 
-MERCHANT_ID => '123456789012345', -MERCHANT_EMAIL => 'myemail@mydomain.com', -GATEWAY_CONNECT_METHOD => 'SubmitLWPUserAgent', # or SubmitNetSSLeay };

This merchant gateway REQUIRES the form field CCCICNumber. To remind you, this is the 3 digit credit card security number on the back of the card. You can flag this as required in the ShopSetup.pm, as follows:

-SHOP_PAYMENT_DATA_CC_FIELDS_REQUIRED => [qw(CCName CCAddress CCCity          
  CCZip CCState CCCountry CCNumber CCExpires CCCICNumber)],

If you configure this for The CITY Shop, that is all you need to know, and you can return to the installation instructions.

 

Description of the used parameters:

-GATEWAY_URL
This is the relative URL provided to you by the gateway.

-MERCHANT_ID
This is the merchant ID provided to you by the gateway.

-MERCHANT_EMAIL
This is your Merchant Email and is required by the gateway.

-GATEWAY_CONNECT_METHOD
This is the same as the key used by the "normal" payment gateways, and points to the method used to connect to the gateway site, in order to finalize the transaction. The allowed values are "SubmitLWPUserAgent" and "SubmitNetSSLeay"

-LOG_ACTIVITY
This is a flag that you can set on "1" if you want to log the gateway activity

-LOG_FILE_PATH
This is the path where the log file will be created. Note that this is a path only, and the script will create there a file named "PLUGNPAY.log"

 

Used fields

The required fields:

-ORDER_AMOUNT
-CARD_NUMBER
-CARD_EXPIRES
-CARD_CIC_NUMBER
-USER_FULL_NAME (or -USER_FIRST_NAME/-USER_LAST_NAME)
-USER_ADDRESS
-USER_CITY
-USER_STATE
-USER_ZIP
-USER_EMAIL
-USER_COUNTRY

The Optional fields:

-ORDER_NUMBER
-ORDER_DESCRIPTION
-ORDER_TAX
-USER_ADDRESS2
-SHIP_FULL_NAME
-SHIP_ADDRESS
-SHIP_CITY
-SHIP_STATE
-SHIP_ZIP
-SHIP_COUNTRY


Look in the main install documentation for examples of passing the data to perform a transaction.