Skip to content

hexcollective/modxsimplecart_paypal_rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Installation

  1. Copy files to core/components/simplecart directory.
  2. Create new payment method with the name paypalrest.
  3. From the context menu of the new payment method select Intall method to create all required method settings.
  4. Create PayPal REST application (or use existing one) to obtain the Client ID and Secret.
  5. Open payment method configuration by selecting Configuration from the context menu and fill settings values as described in configuration.

Configuration

  • clientId - Client ID from PayPal application credentials
  • clientSecret - Secret from PayPal application credentials
  • shipping - whether or not shipping address provided by the client should be used. Possible values - 0 and 1. If option is active, the delivery address should match the validation rules, especially country should be provided as 2-letter code
  • sandbox - enables or disables the sandbox mode, possible values are 0 and 1
  • sandbox.currency - the currency that should be used in sandbox mode
  • debug - enables detailed logging when creating and exeucting the payment

PayPal SDK update

Download latest archive and extract its contents to core/components/simplecart/gateways/paypalrest/lib folder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages