I'm trying to implement in my CI project this code:
http://www.sanwebe.com/2012/07/paypal-expresscheckout-with-php/comment-page-2#comments
But i get this error, when i try to login with my sandbox account.
"We are unable to validate your information. Please try again."
I configured the config.php with the right credential and i try to login with another sandbox account.
Why i get this error?
PayPal's sandbox has a bug. Delete your cookies and it will work.
Related
I am getting the following error when I try to setup notification using gsutil command:
gsutil notification watchbucket https://APPLICATION-ID.appspot.com/cron gs://bucket
Watching bucket gs://APPLICATION-ID.appspot.com/ with application URL https://APPLICATION-ID.appspot.com/cron ...
Watch bucket attempt failed:
AccessDeniedException: 403 Forbidden
You attempted to watch a bucket with an application URL of:
https://APPLICATION-ID.appspot.com/cron
which is not authorized for your project. Please ensure that you are using
Service Account authentication and that the Service Account's project is
authorized for the application URL. Notification endpoint URLs must also be
whitelisted in your Cloud Console project. To do that, the domain must also be
verified using Google Webmaster Tools. For instructions, please see:
https://cloud.google.com/storage/docs/object-change-notification#_Authorization
AccessDeniedException: 403 Forbidden
I have followed all the steps from the url below for Notification Authorization:
https://cloud.google.com/storage/docs/object-change-notification
But I am still getting the above error. What step am I missing ?
Thanks
I have fixed the issue myself. I had missed "https://" while adding the domain name.
Thanks
"Error validating verification code. Please make sure your redirect_uri is identical to the one you used in the OAuth dialog request"
My app with fb login works great in my localhost env, but fails with the above on a live domain name flow.
facebook/graph-sdk 5.3.1 Facebook SDK for PHP
With the above sdk, login helper getLoginUrl() returns the following (decoded)
https://www.facebook.com/v2.2/dialog/oauth?client_id=###...&state=#a#b#c...&response_type=code&sdk=php-sdk-5.3.1&redirect_uri=https://my.live.domain.net/&scope=email
And Client OAuth Settings > Valid OAuth redirect URIs contains precicely
https://my.live.domain.net/
Has anyone else cleared this hurdle?
I'm using this php wrapper, successfully getting a code from pinterest using the link generated according to the docs:
$loginurl = $pinterest->auth->getLoginUrl($callback_url, array('read_public'));
Then when I run this:
$token = $pinterest->auth->getOAuthToken($_GET['code']);
It works fine on my local server, but when I try to run it on our Dreamhost server, I get:
Pinterest error (code: 403) with message: Forbidden
I looked through the error documentation Pinterest supplies, but I can't find anything relating to 403 errors when retrieving oauth tokens.
The only two places I've seen mention of 403 errors when requesting oauth tokens from Pinterest's API have concluded that Pinterest is blocking the ips or the user agent string.
I've tried manually overriding the user agent string to no avail.
I've tried contacting Pinterest to find out if there is anything I'm missing and they directed me here.
Make sure the Dreamhost server is using an HTTPS URL e.g. is using TLS. That could be the reason why you get a 403.
Hi please support to troubleshoot the below error in Wechat Sandbox API Config:
I am integrating Wechat API in PHP application. I have created a test account in Wechat Sandbox API. But when configuring the API with URL and token its shows "Unable to configure".
When checking the ajax response it throws : {"errcode":-106,"errmsg":"token check fail"}
Thank you.
I got the "Unable to configure" message when testing the Getting Started wiki sample too. Trying to reach wx_sample.php returned a 500 Internal Server Error.
It was fixed after changing the owners for my directory and file, after that the token could be set in the sandbox - 'API Config'.
I'm using abraham's twitter oauth class (https://github.com/abraham/twitteroauth) to connect and update twitter. I had it working during testing but now I'm trying to put it onto my live server I'm getting a 401 Could Not Authenticate error.
The original connection works ok (200 response) but when I use $connection->get('account/verify_credentials'); it just 401's and says it cannot authenticate.
From looking at the $connection object, the [consumer] callback_url property is blank. Could this be the problem?
Cheers
Apparently I didnt need to be running this unless I've already authenticated once through twitter, for some reason I was trying to run this directly after connecting, obviously there were no auth tokens so it wouldn't authenticate.
Silly me.