I am integrating a paypal in my website. I referred this link -
link
But this gives me an error -
Undefined index: log.FileName
…\vendor\paypal\rest-api-sdk-php\lib\PayPal\Log\PayPalLogger.php66
I don't know why it is not working still it's a same code of above link.
First thing first. As you can see, the sdk is not able to create a log file at the given location. Can you please provide write permissions to make that happen ? That should let your see the right error message
Related
I've been following the documentation for the webhook verification to get our app verified and keep getting error saying Undefined index: HTTP_X_SHOPIFY_HMAC_SHA256
Tried getting it using laravel builtin function $request->header('HTTP_X_SHOPIFY_HMAC_SHA256') and also $_SERVER['HTTP_X_SHOPIFY_HMAC_SHA256'] but both are still returning the same error.
Can anyone point me to a solution to this, been stuck with this problem for a week now.
Thanks
I am trying to make a child theme for 'Moove' in moodle 3.6! But as soon as I update my database and click on theme selector button, I get an HTTP 500 error!
I follow the instruction from the blog below, but apparently, I am doing something wrong. Can sb help me please?
https://edwiser.org/blog/create-child-theme-moodle/
Error 500 usually means there is something wrong in your scripts/configuration.
First thing to do would be to enable debugging messages to see what exactly is wrong.
Here you can find how to enable debug output to get more detailed error messages: https://docs.moodle.org/36/en/Debugging#In_config.php
I cant seem to find the error log of authorize.net api.
I have Laravel application which uses "authorizenet/authorizenet" package and the code where I try to create a customer profile, I get following error:
"Error getting valid response from API. Check log file for error details"
Can anyone tell me whereto find these logs? and what it's name?
I tried in /var/logs folder but i cant seem to find it.
if someone else has this issue, here is the solution.
The authorize.net has changed their endpoints from https://api.authorize.net to https://api2.authorize.net which is one of the possible reasons that you might get this error.
So if you are hardcoding these endpoints in your code then update it to the new one or if you are using library constant for it, same as me:
\net\authorize\api\constants\ANetEnvironment::SANDBOX
\net\authorize\api\constants\ANetEnvironment::PRODUCTION
Then simply update your library by running:
composer update authorizenet/authorizenet
This is how I resolved it and it seems to be the best way so far because it will update their library to take everything up to date if they have changes something else and you started experiencing this issue.
I hope it helps
I am using fb_graph2(1.1.1) in my rails project. My goal is to get all pages/accounts associated with a particular account. I am using this document as a reference. And below is my code line which I wrote to get accounts. For some reason I am getting an error "An unknown error has occurred."
It would be great if someone can guide where and what am I doing wrong. Thanks!
FbGraph2::User.me(<ACCESS_TOKEN>).accounts
I am setting up a Magento(v. 1.6.1.0) site.
To access the API, I needed to create a rule (Admin > System > Web Services > Rules > Add new rule).
When I click the button, I got the following error.
Fatal error: Call to a member function toHtml() on a non-object in /home/dinamal7/public_html/app/code/core/Mage/Adminhtml/Block/Api/Editroles.php on line 52
I ran some research about the issue but couldn't find any solution. Can anybody help me?
Thanks.
Sam
#Sam, looks like there is some problem with the object calling that particular function. As you can see, it is indicating the core file, which is not supposed to have any errors. You can try and replace the "core" folder of your current installation with the one extracted fresh. This should do the trick.