### Configuring Plug-n-Pay Payment Plug-in

Plug'n Pay Technologies, Inc. ("PNP") is a USA based company specializing in Internet payment solutions.

To start accepting payments using the PNP services, first of all you need to set up the Merchant account with them.

After your Merchant account is set up, you receive the following:

- Personalized script URL to send your transactions.
- The user name and password that identify your transactions on the Plug-n-Pay side and allow you to log in to the Merchant administrative area at the Plug-n-Pay website.

These requisites should be specified in the plug-in configuration form.

The Plug-n-Pay plug-in supports the following transaction types:

- Sale - a single-step transaction without pre-authorization;
- Preauth - the purchase amount is being reserved and the transaction suspended till authorization.
- Capture - the reserved amount was withdrawn after a transaction authorization.
- AuthReversal' - a transaction cancelled on the 'Preauth' stage.
- Capture Reversal' - a transaction was cancelled on the 'Capture' stage, but before a transaction was actually finished.
- Credit - a transaction was finished, but after this the amount was refunded,

To configure the Plug-n-Pay Plug-in:

1. Click the Edit button on the plug-in screen. Fill the form that appears:
   1. Type the Plug-n-Pay server hostname into the Server field.
   2. Enter the port number where the Plug-n-Pay server listens for transaction requests into the Server Port field.
   3. Into the Path to CGI-script field, enter the path to be appended to the Plug-n-Pay server hostname to form the URL to send transaction requests.
   4. Type your user name received from the Plug-n-Pay on your Merchant account registration into the Name field.
   5. Type your password received from the Plug-n-Pay on your Merchant account registration into the Password field.
   6. Type the e-mail specified by you on your Plug-n-Pay Merchant account registration into the E-mail field.
   7. Select at least one credit card type to be accepted by the plug-in from the Available credit card types menu. To select a credit card type to accept with the plug-in, click on a card type name and then click the >> button to move a card type to the Supported Card Types menu. To select several card types in series, hold down SHIFT, and then click the first and last card types of the group. To select several card types that are nonadjacent in the list, hold down CTRL, and click a credit card type.
   8. Select the type of transactions to process: if you want to make the Preauth-Capture transactions only, then check the Preauthorization enabled box, if you want to process the Sale transactions only, then leave this box clear.
   9. You can enable the CVV checking on the Plug-n-Pay site. If you check the Enable CVV checking box, the CVV code of every credit card used will be sent to the Plug-n-Pay server. The CVV designation is outlined earlier in this guide.
   10. In case you have enabled the CVV checking (step i), you can set the CVV checking as a mandatory condition for transactions processing. To reject transactions if the CVV verification is not available at the Plug-n-Pay website, check the Reject transaction if CVV verification service is unavailable box. To process transactions without respect to the CVV verification service availability, leave this box clear.
   11. You can enable the AVS checking for credit cards used. The AVS designation is described earlier in this guide. To set the AVS to be passed as a strict requirement for transactions processing, check the Reject transaction if AVS is unavailable box.
   12. For the AVS checking, you can explicitly set the types of mismatches detected, when transactions must be rejected. Please, select one of the variants from the Reject transaction according to AVS check result drop-down menu. In this case, Never means that transactions will be approved without respect to possible AVS mismatches. Any of the other mismatch types, if detected, will result in the automated transaction voiding on the payment gateway side.
   13. Similarly to the CVV checking, you can set the AVS availability as a mandatory condition for transactions processing. To reject transactions if the AVS is not passed, check the Reject transaction if AVS is unavailable box. To process transactions without respect to the AVS availability and in accordance with the rejection rule for the AVS mismatch type selected (step l), leave this box clear.
   14. Key in the Button title. For example, this could be the name of payment system. This title will be displayed directly on the button for online-payment at HSPstore, on the final stage of subscription registration, when a customer selects how to pay for the services ordered.
   15. You can add both the short and the detailed description. Quick description of a payment method will be displayed below the button. The Long description of a payment method will be displayed in a separate section entitled Pay Online.
2. Click the Update button.

Please send us your feedback on this help page