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:
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.
update config set value = 'no' where setting = 'paypal_pass_aggregate';