User Tools

Site Tools


The Paypal payment module uses the Payment Data Transfer (PDT) feature provided by Paypal. This feature must be enabled on the merchant's Paypal account before the WECS Paypal module can be enabled. Note that documentation describing the proper setup of PDT for the merchant's Paypal account is available on the Paypal web site.

When setting up PDT for the merchant account, note that the Windward e-commerce system requires the identity token. This is displayed when PDT is first enabled and is also visible when viewing your merchant Website Payment Preferences page.


If you fail to correctly set up the PDT feature for your Paypal merchant account the Windward e-commerce system will still pass customers over to Paypal to perform the transaction, but will be unable to verify that payment was received. This will prevent their order from being finalized (in essence, they will pay you for an order that you won't receive).

Paypal support is enabled in the administration area of the site, under Module Setup → Payment Module Setup. Available payment modules are listed in a table, currently there is only Paypal.

Click the link labeled install. This will give you access to the Paypal Settings page. There are three setting here: URL (the paypal URL where to send the user), the business and identity token (password).

In the HTML segments that are used when constructing the payment information page for display to the user, you must place one of either <ww:paypal_post_header> or <ww:paypal_header> tags. These are replaced with the necessary form information in order to transfer the customer to the Paypal website to complete the transaction. An important note is that these tags provide only the form header (the opening form tag and the necessary form variables required to make the request to Paypal). They do not provide a submit button, or a closing form tag. This allows the user to use a button or image that fits with the overall appearance of their web site.

A bare minimum example, using just a submit button would looks something like:

   <input type="submit" value="Use Paypal" />

When the user clicks this button, she will be taken to the Paypal web site and asked to submit their details in order to pay the amount that was provided by the Windward e-commerce system. Upon successfully completing the payment process, the Paypal site will send the user back to the Windward e-commerce system. When WECS gets this request, it will ask Paypal to confirm the transaction. This is done behind the scenes, and is just a validation check to ensure that the transaction completed successfully. The site administrator will need to manually reconcile this order against their Paypal account to ensure.

Paypal side of the setup

  1. Log in to your PayPal account.
  2. Click the Profile subtab.
  3. Click Website Payment Preferences in the Seller Preferences column.
  4. Under Auto Return for Website Payments, click the On radio button.
  5. For the Return URL, enter the URL on your site that will receive the transaction ID posted by PayPal after a customer payment.
  6. Under Payment Data Transfer, click the On radio button.
  7. Click Save.
  8. Click Website Payment Preferences in the Seller Preferences column.
  9. Scroll down to the Payment Data Transfer section of the page to view your PDT identity token. Copy this into Notepad.

Webstore Setup is as follows

  1. Log into the Admin Panel
  2. Go to Payment Modules
  3. Install Paypal module
  4. business = main e-mail for paypay account
  5. Identity Token = ID from the above steps

So items are passed to PayPal: will need access to MySQL

update config set value = 'no' where setting = 'paypal_pass_aggregate';
faq/ecomm_paypal.txt · Last modified: 2011/11/24 13:17 by eugene