Skip to content

damianbz321/opencart3-plugin

 
 

Repository files navigation

Notice

This is a Community-supported project.

If you are interested in becoming a maintainer of this project, please contact us at support@bitpay.com. Developers at BitPay will attempt to work along the new maintainers to ensure the project remains viable for the foreseeable future.

BitPay for OpenCart

Software License Build Status

Last OpenCart Version Tested: 3.0.2.0 (not compatible with v2 branch)

Installation

Follow the instructions found in the BitPay for OpenCart Guide

Server requirements

PHP > 5.5 or PHP > 7.0, with the following PHP plugins enabled:

  • GMP or BCMATH
  • OpenSSL
  • JSON
  • CURL

Development Setup

# Clone the repo
$ git clone https://github.com/bitpay/opencart3-plugin.git
$ cd ./opencart3-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 OpenCart Version Tested: 3.2.0.2 (not compatible with v2 branch)
  • Support
    • BitPay merchant support documentation

OpenCart Support:

License

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

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 79.2%
  • HTML 20.8%