Advice and answers from the BitPay Team

First, you'll have to enable Magento's own error logging:

  • In the admin control panel, navigate to System > Configuration > Developer > Log Settings and set the Enabled option to Yes
  • Check the permissions on the /var/log folder inside your Magento installation since that is the place where Magento's log files are stored. It should be set to 777.
$ ls -l /var/www/html/magento/var/log
drwxrwxrwx 7 apache apache 238 May 26 10:22 log

Note: If the directory is not show the rwxrwxrwx permissions then you will need to modify them using the chmod command:

$ ls -l /var/www/html/magento/var/log
drwxr-xr-x 7 apache apache 238 May 26 10:22 log
$ sudo chmod 777 /var/www/html/magento/var/log
$ ls -l
drwxrwxrwx 7 apache apache 238 May 26 10:22 log

For information on the chmod and ls commands, see: and

  • Finally, in the BitPay payment plugin under System > Configuration > Sales > Payment Methods, set the Debug setting to Yes and save the changes.
  • Now when you view the /var/log folder in your Magento installation directory, it will contain the bitpay debug log file named payment_bitpay.log that you can use to troubleshoot any issues.
$ ls -l
total 40
-rwxrwxrwx 1 apache apache 12913 Nov 20 2014 payment_bitpay.log
-rwxrwxrwx 1 apache apache 1546 Nov 20 2014 system.log

There are usually other log files in this directory which could also be helpful when debugging errors on your store, namely the system.log and exception.log files. If you contact the BitPay support team for assistance, the contents of these log files may provide more clues to the problem. Basically the idea here is to provide as much information as possible to help our Engineers help you!

Did this answer your question?