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