Skip to content

frankmullenger/silverstripe-payment-paypal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SilverStripe Payment PayPal Module

Work in progress, some changes to the API still to come

Maintainer Contacts

Requirements

  • SilverStripe 3.0.x
  • Payment module 1.0.x

Documentation

This module provides PayPal Express Payment support for the SilverStripe Payment module.

Installation guide

  1. Place this directory in the root of your SilverStripe installation and call it 'payment-paypal'.
  2. Visit yoursite.com/dev/build?flush=1 to rebuild the database.

Usage Overview

Enable in your application YAML config (e.g: mysite/_config/payment.yaml):

PaymentGateway:
  environment:
    'dev'

PaymentProcessor:
  supported_methods:
    dev:
      - 'PayPalExpress'
    live:
      - 'PayPalExpress'

Configure using your PayPal API details in the same file:

PayPalGateway_Express: 
  live:
    authentication:
      username: ''
      password: ''
      signature: ''
  dev:
    authentication:
      username: ''
      password: ''
      signature: ''

Notes:
To get PayPal Sandbox test accounts, follow the PayPal documentation.

If you have "Bad request" problems with PayPal, try to empty the browser cache and cookies.

If you get error 3005 try testing on a different machine/IP address or with different PayPal test accounts which do not have the same credit card details stored.

About

Repository for Silverstripe PayPal Payment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%