Coder Social home page Coder Social logo

opencart-plugin's Introduction

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.

opencart-plugin's People

Contributors

bitjson avatar damianbz321 avatar elahurd avatar gasteve avatar gitter-badger avatar ionux avatar jaafit avatar jameswalpole avatar joshuaestes avatar kleetus avatar stefanhuber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opencart-plugin's Issues

Parse Error - Unexpected ')' on line 179.

I am on 2.0.2 and have tried both the 2.0.1 and the 2.1 and neither are working, it installs through extension installer with no issue. But when I go to payments and click the 'Install '+' button I am getting the following error page - Parse error - unexpected ')' on line 179 catalog\controller\payment. This is line 179. Any idea on what can be causing this error?

$network_title = 'Customnet(' . $this->setting('network')['url'] . ')';

Thanks Jay

Open cart 1.5.6.4 issues on last checkout step 6

I get the following error on last step6 confirm order upon clicking Pay with Bitcoin.

JSON parsing error:

Parse error: syntax error, unexpected $end in /home/majcke/public_html/majcke.si/shop/bitpay/bp_lib.php on line 220<br /

Funny thing, there is no code on line 220.

I would greatly appreciate some help on how to resolve the JSON parsing issue.

Test here http://shop.majcke.si

Thank you .

OpenCart 2.0.0.0 -> plugin error

Using the BitPay plugin on OpenCart 2.0.0.0 yields the following error on admin/index.php :

Method Not Implemented

<html> ...

<title> 501 Method Not Implemented</title>
<p> GET to /admin/index.php not supported <br/>
</p>
<p> Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request</p>
...
</html>```

Compser error

[Composer\Json\JsonValidationException]
"./composer.json" does not match the expected JSON schema:

  • require : array value found, but a object is required

server comunication error

Hello I have correctly installed and configured the bitcoin module for opencart v 1.5.6

When I try to checkou it say server comunication error

Attached screenshot

You can test by your self creating a fake account on www.gcshop.it
error

Using V2.0. Installed fine and am getting this error

Parse error: syntax error, unexpected '[' in /CHANGEDFORPRIVACY/admin/controller/payment/bitpay.php on line 179

Whenever I try to open "edit" screen for the bitpay payment plugin I get an error. Any idea where I can start troubleshooting this?

openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in

Hi,

I have installed open cart 3.0 and with bitpay plugin 3.0.2 and php version 7.0

When I click on connect to bitpay i get below error and it does not redirect to bitpay.

Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in /home/exchangerpoint/public_html/shop.exchangerpoint.com/system/library/encryption.php on line 23Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in /home/exchangerpoint/public_html/shop.exchangerpoint.com/system/library/encryption.php on line 23Warning: Cannot modify header information - headers already sent by (output started at /home/exchangerpoint/public_html/shop.exchangerpoint.com/admin/controller/startup/error.php:34) in /home/exchangerpoint/public_html/shop.exchangerpoint.com/system/library/response.php on line 36

Integrated invoice instead of redirect?

Not so much an issue but a feature request. I'd love to see the option to display BitPay invoice within the cart flow as opposed to sending to BitPay.com

My own personal reasoning for this is to test compatibility with shapeshift.io as my understanding is its not something I can currently integrate.

Opencart 2.1.0.2

After installing when I go to the edit button, where I will be entering the bitpay details I get the following error :

Fatal error: Call to undefined method Loader::library() in /home/mydomain.com/public_html/admin/controller/payment/bitpay.php on line 25

    $this->load->library('bitpay');

Opencart 2.3.0.2

I cannot install extension. I receive error: Fatal error: Class 'bitpay' not found in /home/mypage/public_html/mypage/system/engine/loader.php on line 110

Error!Connect bitpay31232321312312312312

Fatal Error: The BitPay payment extension was not installed correctly or the files are corrupt. Please reinstall the extension. If this message persists after a reinstall, contact [email protected] with this message. in /alidata/www/phpwind/myshop/vqmod/vqcache/vq2-system_library_bitpay.php on line 34
Fatal error: Uncaught Error: Class 'Bitpay\PrivateKey' not found in /alidata/www/phpwind/myshop/vqmod/vqcache/vq2-system_library_bitpay.php:134 Stack trace: #0 /alidata/www/phpwind/myshop/vqmod/vqcache/vq2-system_library_bitpay.php(66): Bitpay->generateId() #1 /alidata/www/phpwind/myshop/admin/controller/extension/payment/bitpay.php(333): Bitpay->getPairingUrl() #2 /alidata/www/phpwind/myshop/vqmod/vqcache/vq2-system_storage_modification_system_engine_action.php(79): ControllerExtensionPaymentBitpay->connect() #3 /alidata/www/phpwind/myshop/admin/controller/startup/router.php(26): Action->execute(Object(Registry), Array) #4 /alidata/www/phpwind/myshop/vqmod/vqcache/vq2-system_storage_modification_system_engine_action.php(79): ControllerStartupRouter->index() #5 /alidata/www/phpwind/myshop/system/engine/router.php(67): Action->execute(Object(Registry)) #6 /alidata/www/phpwind/myshop/system/engine/router.php(56): Router->execute(Object(Action)) #7 /alidata/www/phpwind/myshop/system/framework.php(188): Router->dispatch(Objec in /alidata/www/phpwind/myshop/vqmod/vqcache/vq2-system_library_bitpay.php on line 134

Bitpay stoped working suddenly

My bitpay stoped working out of nowere
It worked fine before. but it does not rederict to the invoice now when the customer press pay with bitpay,

My error log = 2014-12-07 23:51:23 - [ERROR] IPN Received no data

I have no clue what this is could someone assist me please?
Regards Cubuss

API key keeps disconnecting

I know this issue is a bit specific but hopefully someone can help me out. I am using your opencart plugin for your store, however over the last 6 months or so I notice that my connection seems to become invalid and the API keys drop about once a week. This causes the plugin to stop and not be able to connect to the API server rendering it useless. I have checked the logs of the plugin and I am only getting messages about the service not being enabled once its offline and customers go through the checkout. It’s gotten so bad I’ve needed to setup coinpayments as an alternative just so I don’t lose sales.

Support for OpenCart v3

OpenCart v3 was released in June 2017

Current plugin does not work with OpenCart v3. Putting v3 support on the roadmap.

Missing Enable Extension in OpenCart 2.2.0.0

Unsure if this is because of a new directory structure with 2.2.0.0, but after installing the 2.0 release I notice that there is no model for bitpay added under /admin/model/payment which makes me unable to enable the extension.

Issue on OC v2

Just downloaded and installed the module, but when I try to edit to insert API i always get
Indirect modification of overloaded property ControllerPaymentBitpay::$data has no effect in /var/www/admin/controller/payment/bitpay.php on line 83

Opencart 2.3

Can't disable Bitpay when use reccuringPayment.

my version can.

/catalog/model/extension/payment/bitpay.php
bitpay.php.zip

Config erro

I installed opencart v2.0.1.1 successfully,but configration in trouble. Erro log show
''' Call to undefined method ControllerPaymentBitpay::render() in \admin\controller\payment\bitpay.php on line 335 '''

Doesn't work with OC 2.0.3.1

Payment Method is not found in;
admin/index.php?route=extension/module OR
admin/index.php?route=extension/payment

It looks Like, the downloadable OCMOD Version from Github Contains wrong Folder Structures for this Opencart Version (2.0.3.1). Can you check that please?

Latest Softalacious OC 2.0.2.0 Errors

                $network_title = 'Customnet(' . $this->setting('network')['url'] . ')';

this line gives Parse error: syntax error, unexpected '[', expecting ')' in various places in the source file. opencart 2.0.2.0 using ssl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.