- Copy files to
core/components/simplecart
directory. - Create new payment method with the name
paypalrest
. - From the context menu of the new payment method select
Intall method
to create all required method settings. - Create PayPal REST application (or use existing one) to obtain the
Client ID
andSecret
. - Open payment method configuration by selecting
Configuration
from the context menu and fill settings values as described in configuration.
clientId
- Client ID from PayPal application credentialsclientSecret
- Secret from PayPal application credentialsshipping
- whether or not shipping address provided by the client should be used. Possible values -0
and1
. If option is active, the delivery address should match the validation rules, especially country should be provided as 2-letter codesandbox
- enables or disables the sandbox mode, possible values are0
and1
sandbox.currency
- the currency that should be used in sandbox modedebug
- enables detailed logging when creating and exeucting the payment
Download latest archive and extract its contents to core/components/simplecart/gateways/paypalrest/lib
folder.