Adding the payment service to the shop

These documentation pages are no longer maintained. Please visit the new documentation site.

The following items describe how to set up the payment service.

  • Extract the eZPaypal extension in the "[exponential_root]/extension" directory. Create this directory if it does not exist.
  • We must now enable the extension in Exponential. Therefore the site.ini.append(.php) file must be edited. If you want to enable this extension in all sites then you have to edit the [exponential_root]/settings/override/site.ini.append file. If the extension must be available for a specific site then you have to edit the site.ini.append file from the [exponential_root]/settings/siteaccess/[yoursite]/ directory.

The settings file in the override directory should have the following lines:

 

[ExtensionSettings]

ActiveExtensions[]=ezpaypal

The settings file in the siteaccess directory should have the following lines:

[ExtensionSettings]

ActiveAccessExtensions[]=ezpaypal
  • Add a new workflow in the standard group with the following settings:
    name: shop
    (event) description: Paypal Payment Service
    (event) type: shop
  • Go to the trigger page and select the 'shop' workflow for the following row:
    module: shop
    function: check out
    connection type: before
  • The currency of the English language is set to pounds. Unfortunately, the Paypal payment service does not support this currency. Therefore we modify the currency to dollars. This is possible by change the language to American-English. Another method is to modify the currency in the language file. Edit the following file:
/share/locale/eng-GB.ini

And change the currency values to:

   

[Currency]

Symbol=$

Name=American Dollar

ShortName=USD

Comments

Contents

Building an Exponential shop

Setting up the TSCM layout
Setting up a simple shop
Extending the shop with a Paypal paym...
    Workflows and triggers
    Paypal Payment Service
    Adding the payment service to the shop
    Testing


Created

13/12/2004
3:09:43 pm
by Raymond Bosman

Last updated

13/12/2004
3:09:43 pm
by Raymond Bosman

Authors

Raymond Bosman



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.