First of all, sorry for my English.
Well, I'm trying to log in to microsoft account with android, I use the github example that provide Microsoft (https://github.com/OfficeDev/O365-Android-Connect). I follow all the steps but in the end when I try to connect with my account the server throws an exception.
Error:
SERVER_ERROR:2016-01-28 11:05:38-cc63876c-3c31-48aa-9847-513381e09296-IOException:https://login.microsoftonline.com/common/oauth2/token ver:1.1.7
I can't find any information about this problem. Someone knows what is happening?
Thanks for all.
Aitor.
The IOException could be caused by a number of situations.
Let's see if we can come up with more information:
Were you able to see the login page and provide credentials?
What happens if you open a browser in your device and go to
https://login.microsoftonline.com/common/oauth2/token
Can you share some of the logs before and after the error?
Thanks ricalo, in this case, the IOException is throwing because the email account what I'm using is a MSA account (Managed Service Accounts) instead of an Office 365 account.
Related
We are working on an Apache Cordova plugin based on remote-pay-android-go SDK that will allow Ionic/Cordova applications to integrate with the Clover Go device.
Here is the link to the plugin. We have implemented basic methods to init, connect, disconnect and make a sale. We are getting the error message "Transaction Declined. Please use another form for Payment" with reason "charge_declined", whenever we perform sale through the device.
I tried the example code in the remote-pay-android-go SDK and the code gives the same error for sale from the device and works well for the manual transaction.
Can someone help me understanding where we may be missing?
Thanks in advance!
I was able to get past this by following a recent answer by David Marginian on the Clover forum.
I believe there is something going on with the gateway emulator on sandbox, we are looking into it. In the meantime try transactions > 50 dollars, they should go through fine.
I think as the default currency is set to cents, the values I tried always remained below 50 dollars.
I want to create user at Mesibo but i am facing some issues :
Sorry, we can't find that page It seems the page you’re looking for doesn’t exist. Maybe you’re on the wrong track, maybe you found a broken link. Who knows?
Please anyone here to help related to these issues and also help to complete my this task and I am using following URL for creating a user at "Mesibo".
"https://mesibo.com/api/api.php?token=cn9cvk6gnm15e7lrjb2k7ggggax5h90n5x7dp4sam6kwitl2hmg4cmwabet4zgdw&op=useradd&appid=com.mesibo.demoapp&addr=18005550001"
token = Application Token
appid = Android or iOS app id (for example, com.mesibo.xxx). In case of web, just pass, ‘web’ as appid. Note that, for security reasons, the token generated for a particular appid will only be usable on app matching that appid.
addr = end point address, for example, a user phone number.
Thanks
Instead of "https://mesibo.com/api/api.php?..." use "https://api.mesibo.com/api.php?token=..."
I am working on payment process in my application. I am following the authorize.net sample example
as per the steps I imported library and the code but when I am testing in test mode with account created I am getting error response. I tested it in emulator. In the guide they provide for help there is no notes for this error message about what is the real solution.
Error Code: 87
Error message: Transactions of this market type is not processed on this system.
Can anybody suggest on this ?
This error indicates that the account that you are using was created for Card Present (retail) transactions, but you are trying to integrate to the Card Not Present (e-commerce) APIs or vice versa. Simply create and use a new sandbox account with the correct type.
You can read more about it here.
This is driving me MAAAADDDD
I'm trying to implement "Log In With PayPal" on Android.
I'm using this sample app to try to get the login screen to show up. https://github.com/SeraphimSerapis/PayPal-Access-Android-Example
I have created an app on the https://devportal.x.com/ website as instructed, I just want to use OAuth 2.0, I did all the settings, no luck.
Also, followed the answer in here https://stackoverflow.com/a/16199165/546439 i.e. created a seller account on developers.paypal and clearly chosen login with paypal access and credentials etc, still no luck
I don't even know whether I should get the credentials from x.com or paypal.com, each of them give the same options but they return different keys, I am so lost.
Please help.
UPDATE: added auth URL I am sending
all of these are not working
https://identity.x.com/xidentity/resources/authorize?client_id=AXbPkxDchMYBBAWn2UExvLytvvbJDDXn6u-9nWNgF_J7SZmwQkdDTwxHkuKe&scope=https://identity.x.com/xidentity/resources/profile/me&redirect_uri=http%3A%2F%2Faccess.com%2Findex.php&response_type=code
https://identity.x.com/xidentity/resources/authorize?client_id=ATL6BhBqBYAwJnolhJDT04El5GtxxDzTMAQEb5kkCdZVDrMr_v5bWlPpw7nN&scope=https://identity.x.com/xidentity/resources/profile/me&redirect_uri=http%3A%2F%2Faccess.com%2Findex.php&response_type=code
https://identity.x.com/xidentity/resources/authorize?client_id=6956fcaf5d9fb4bbea22af7ce7f4cc7a&scope=https://identity.x.com/xidentity/resources/profile/me&redirect_uri=http%3A%2F%2Faccess.com%2Findex.php&response_type=code
This error meaning that you are sending wrong client_Id "or not sending it" within the URI asking for token which is sent to authorize URL /authorize?client_id={client_id}, please share your URI to check it.
client_id string Unique client identifier obtained through the
application registration process. Required.
from https://developer.paypal.com/webapps/developer/docs/api/
I stumpled across a similar problem. I already hat an REST app running and tried to implement PayPal Login. Everytime I tried to use the sandbox client_id I got the same error message as you.
Took me some time to figure out, that, in my own stupidity, I tried to call
https://www.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize
instead of
https://www.sandbox.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize
Now everything works for me
I had faced the same issue, I know this is a old issue and my solution may not be of much help. But I felt like sharing my fix.
I use devise for authentication and I wanted to implement PayPal login.
I configured omniauth for paypal inside config/initializers/devise.rb file. But by default the authentication path was "https://www.paypal.com/". As #Ello mentioned in his answer we need "https://www.sandbox.paypal.com/" url path for sandbox.
Then I figured out that we can change the url path to sandbox by passing sandbox as true in omniauth configuration.
So this is what I did in devise config file to resolve the issue
config.omniauth :paypal, PAYPAL_CLIENT_ID, PAYPAL_APP_SECRET, scope: PAYPAL_PERMISSIONS, sandbox: true
I've spend about 5 hours searching ways how to authorize to Google+ in my Android app.
I need to get user id, his name and avatar.
I have all required data such Client ID and Client Secret.
I've tryied this code https://github.com/imellon/Google-Plus-Android-Sample#readme but when I call
execute()
method in
GoogleAuthorizationCodeGrant
class, I get 400 Bad Request Error. And I don't know why.
I couldn't find any example how to authorize via google-api-java-client.
If anyone has working example how to solve my problem - please help me!
The Google+ Android starter application demonstrates this use case:
http://code.google.com/p/google-plus-java-starter/source/browse/#hg%2Fandroid