The PayPal Express checkout API has a request parameter for setting a header image to be displayed as part of the checkout flow.
I am currently working on building out the Permissions API, and have noticed that my authentication screen does not display a header image. Browsing through the documentation, I do not see an option for setting this. Could someone please tell me how I can incorporate a header image in the PayPal Permissions API requestPermissions web flow?
Please see a screenshot of the permissions flow I am seeing here: http://i.stack.imgur.com/vrH77.png
Have you tried setting up Custom Payment Pages in your PayPal profile?
Related
I enable WooCommerce rest API and generate Consumer_key and Consumer_secret. I'm developing a mobile app for a WooCommerce store by Flutter. I'm looking for a WooCommerce rest API to login (login) and also to create an account (register) but I can't see the solution. So if anyone has an idea about the login API for my account and registration page please suggest the solution for that, I've been trying for a long time.
Thanks,,
The operation does not work
I'm trying use Auth0 to do a social login with PayPal and other social logins. The other social logins work perfectly, but when I initiate with PayPal I get the error message:
Looks like this action is not supported. Please return and report this
error so that we can support it in the future. (invalid client_id or
redirect_uri)
The client_id and redirect_uri, along with everything else, are exactly according to spec. Any insight?
Thank you.
I solved this problem using the possibly recently created PayPal Sandbox option in Auth0. I may have just not seen it before, but it solved the problem on my dev machine.
Everything I have read (e.g. https://api.slack.com/docs/oauth) makes it seem as though I can only build an app that integrates with a Slack team I manage. E.g. I have to create my Slack Client ID .. etc ... and then I can oAuth users for my team.
What I want to do is allow my app's users to login to my app using their Slack login (for their Slack team I do not control or have access to.) I don't want to force my users to generate a Client ID to use my app. I want them to login the same way Google Login or Facebook Login works.
The closest thing I have found is a "login with slack" HTML button, but I'd like to do it in iOS using Swift.
Is that possible?
Sadly, that's not possible. For google or facebook, the way authentication works is that they provide you a mobile API which handles the communication between your app and their web service. So you task is simply adopt that API, make simple function call and retrieve information for user from the API. For example, the facebook button is provided by the API.
However from a look at slack site, they only have RESTful API documented. So in this case, you have to handle the passing and storing of parameters by yourself, and send HTTP request manually. You can have a look at Alamofire framework, which is the best choice for making HTTP request. Basically, you have to send needed parameter with the specific url though HTTP request to perform a log in action, and you have to parse the respond data and then see if the login is successful or not, etc
Thanks to some help from friends it looks like the answer is yes.
You must first make sure you "Distribute App"
Then set up the permissions you require and "install app" (which is a bit not "smart" since you can accidentally add conflicting permissions and get an error when trying to install).
Once that is done you will get an Auth Token and can make requests for any user to login using oAuth.
You can also trigger a sign in request like so:
https://slack.com/oauth/authorize?client_id=[client id]&scope=identity.basic
Edit: For future Googlers, Slack now also provides a specific documentation page for this type of OAuth grant/login: Sign in with Slack
We have integrated Uber in our android app. Once OAuth is completed, user will be redirected to a web view. Recently in few cases, user is redirected to an error screen (user is entering correct credentials ). Can you direct us to a correct documentation?
I suggest you can start with Android documentation. You can also check out Git repository for rides-android-sdk. And finally best practices from Uber documentation.
Some tips on your troubleshooting:
Make sure you are following proper Oauth2 authentication flow
Check your redirect URL on the application dashboard - and use this URL in your auth process.
Check your scopes - make sure you have a scope selected for required API request.
If you want any further help please specify more info about your app, what you are trying to achieve- what calls are you making, share your authentication flow, and error logs if you have it.
Ok so I am wanting to add the ability for users to use their facebook accounts to register to a site. I have gone through the dev files and various tutorials online. The issue is that no matter what method I follow I have yet been able to get it to work.
I have tried using source from here as well:
http://www.masteringapi.com/tutorials/how-to-use-facebook-registration-plugin-as-your-registration-system/15/
Is there some dependency that I need for the site, some other system for facebook to load right?
Here is the test version of the site: http://ohmsgaming.com/Misc/nstdt/v2/
Your page show an error like "'redirect_uri' should be an absolute url."
Use absolute Uri in redirect Url field of request query to fix the issue.
You can use Open Authentication technique to set up authentication system in your site. And once the user is authenticated you will get the publicly shared information of the user. This information can be registered in website at first login.
I successfully implemented the same in http://www.nowrunning.com using brickred's social auth code.
http://code.google.com/p/socialauth/wiki/GettingStarted