Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

bitpay/opencart-plugin

Repository files navigation

BitPay for OpenCart

Software License Build Status

Last Cart Version Tested: 2.3.0.2

If you have OpenCart v3, please go to https://github.com/bitpay/opencart3-plugin/releases

Installation

Follow the instructions found in the BitPay for OpenCart Guide

Development Setup

# Clone the repo
$ git clone https://github.com/bitpay/opencart-plugin.git
$ cd ./opencart-plugin

# Install dependencies via Composer
$ composer install

# Set Environment Variables (variables needed can be found in .env.sample)
$ cp .env.sample .env

# After modifying the Environment Variables for your environment setup OpenCart
$ ./bin/robo setup

Development Workflow

# Run PHP Server of OpenCart installation and redirect bash I/O
$ ./bin/robo server &

# Watch for source code changes and copy them to the OpenCart installation
$ ./bin/robo watch

Testing

$ ./bin/robo test

Build

$ ./bin/robo build

# Outputs:
# ./build/bitpay-opencart - the distribution files
# ./build/bitpay-opencart.ocmod.zip - the distribution archive

Contributing

Please see CONTRIBUTING for details.

Support

BitPay Support:

  • Last Cart Version Tested: 2.3.0.2
  • GitHub Issues
    • Open an issue if you are having issues with this plugin.
  • Support
    • BitPay merchant support documentation

OpenCart Support:

License

The MIT License (MIT). Please see License File for more information.