bitpay / opencart-plugin

Opencart payment plugin for Bitpay.com
MIT License
31 stars 47 forks source link

Error!Connect bitpay31232321312312312312 #55

Closed courtiercai closed 6 years ago

courtiercai commented 6 years ago

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 support@bitpay.com 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

pieterpoorthuis commented 6 years ago

It looks like you're missing the BitPay PHP library.

Please make sure you installed the release (https://github.com/bitpay/opencart-plugin/releases/download/v2.2/bitpay-opencard.ocmod.zip) and not the source code.

pieterpoorthuis commented 6 years ago

The release you're pointing to is for OpenCart v3.

Which version of OpenCart are you running?

courtiercai commented 6 years ago

Hi,The version:3.0.2.1

2018-01-26 17:03 GMT+08:00 Pieter Poorthuis notifications@github.com:

The release you're pointing to is for OpenCart v3.

Which version of OpenCart are you running?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bitpay/opencart-plugin/issues/55#issuecomment-360722538, or mute the thread https://github.com/notifications/unsubscribe-auth/AYuURyzhOA0lj5sIzPzV74FmXrfLVpsRks5tOZTdgaJpZM4RuAHi .

pieterpoorthuis commented 6 years ago

I'm checking what the possible cause is

courtiercai commented 6 years ago

and My server has the 'Bitpay\PrivateKey' in the system. Thank you

Uncaught Error: Class 'Bitpay\PrivateKey' not found in

pieterpoorthuis commented 6 years ago

I've updated the release with a new directory structure. Can you download & install this version: https://github.com/bitpay/opencart3-plugin/releases/download/v3.0/bitpay-opencart.ocmod.zip

courtiercai commented 6 years ago

thankyou

2018年1月26日 下午7:46,"Pieter Poorthuis" notifications@github.com写道:

I've updated the release with a new directory structure. Can you download & install this version: https://github.com/bitpay/ opencart3-plugin/releases/download/v3.0/bitpay-opencart.ocmod.zip

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bitpay/opencart-plugin/issues/55#issuecomment-360764904, or mute the thread https://github.com/notifications/unsubscribe-auth/AYuUR9NtlwtoLZhspScJqJ3whQJsO4nzks5tObsZgaJpZM4RuAHi .

pieterpoorthuis commented 6 years ago

I haven't been able to reproduce this error, but I'll dive deeper to find out what happens

courtiercai commented 6 years ago

OK。Thans

2018-01-26 22:13 GMT+08:00 Pieter Poorthuis notifications@github.com:

I haven't been able to reproduce this error, but I'll dive deeper to find out what happens

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bitpay/opencart-plugin/issues/55#issuecomment-360794952, or mute the thread https://github.com/notifications/unsubscribe-auth/AYuUR6AoEd7IGHOe8wQZeMK6VTCx9YDzks5tOd1vgaJpZM4RuAHi .

courtiercai commented 6 years ago

Thank you.Look forward to your reply.

2018-01-26 22:13 GMT+08:00 Pieter Poorthuis notifications@github.com:

I haven't been able to reproduce this error, but I'll dive deeper to find out what happens

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bitpay/opencart-plugin/issues/55#issuecomment-360794952, or mute the thread https://github.com/notifications/unsubscribe-auth/AYuUR6AoEd7IGHOe8wQZeMK6VTCx9YDzks5tOd1vgaJpZM4RuAHi .

pieterpoorthuis commented 6 years ago

The issue is related to using VqMod. Quick fix is to disable VqMod.

We are looking to fix the issue in the BitPay plugin, but I can't provide a timeline yet.

pieterpoorthuis commented 6 years ago

Fixed in release v2.2.1