Configuring Activation Server for PayPal KeyGen

To configure the Activation Server to work with the PayPal KeyGen, you must edit the Web.Config file to add the PayPal IPN settings. In addition, you must add your outgoing (SMTP) email server settings for sending the order confirmation email with the Activation Key to the customer.

To Edit the Web.Config File

1.       Use an editor to open the Web.Config file from the following directory:

\ACTIVATIONSERVER\PRECOMPILEDWEB\MANAGER

2.       Edit the following XML tags for the PayPal IPN settings:

<add key="PayPalPostBackURL" value="https://www.sandbox.paypal.com/cgi-bin/webscr"/>

<add key="PayPalReceiverEmail" value="YourReceiverEmail@xxx.xxx"/>

 

Where

https://www.sandbox.paypal.com/cgi-bin/webscr: The PayPal Sandbox postback URL, used for testing the integration.

To switch to use the live PayPal site, edit the postback URL to: https://www.paypal.com/cgi-bin/webscr.

YourReceiverEmail@xxx.xxx: Your receiver email that you registered with PayPal.

 

3.       Edit the outgoing (SMTP) email server settings. See the topic SMTP Configuration.

 

note NOTE: You can use the provided Activation Server utility (available in \ActivationServer\Util\ASUtil.exe) to help configure and verify that your SMTP settings are correct. If you can send an email from the utility successfully, you can use the same settings in the Web.Config file.

 

See Also

·         Order Confirmation Email Template

·         Testing PayPal KeyGen

·         PayPal Purchase Button

·         Product Upgrade Purchase

·         SMTP Configuration

·         Email Template