jbeee / braintree-payments

Opencart payment extension for Braintree payment service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

braintree-payments

Braintree Payments Opencart module is the simple and lightweight implementation of braintree.com payment service for Opencart. It's licensed under MIT license, feel free to use it in any project or modify the source code at your will.

Getting Started

Installation

The most convenient way to install the extension is with Composer, add following code to your composer.json file:

{
  "require": {
    "andyvr/braintree-payments": "@dev"
  },
  "scripts": {
    "post-install-cmd": [
      "sh ./vendor/andyvr/braintree-payments/extension-install.sh"
    ]
   }
}

If you don't use Composer you can just copy over admin, catalog and vendor folders to your Opencart root.

Setup

Activate the extension thru your Opencart Admin Panel.

The extension uses the Braintree API. You need to enter either Sandbox or Production Public/Private API keys and the Merchant ID on the extension settings page.

In order to obtain this information please login to your Braintree account dashboard, click on Account in the top right corner of the page, then API Keys.

When switching to Production mode please replace API keys and Merchant ID with Production ones and change Transaction Mode setting to Production. You're all set to accept credit card payments thru Braintree.

About

Opencart payment extension for Braintree payment service

License:MIT License


Languages

Language:PHP 66.4%Language:Smarty 33.1%Language:Shell 0.5%