I want to press an Android button and automatically direct the user to the PayPal site with all the relevant data POSTED along also. Is this possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If PayPal offers a URL where you can supply the data you want via a GET request (i.e., encoded form variables as part of the URL itself), then yes — just convert the URL into a
UriviaUri.parse(), then callstartActivity()on anACTION_VIEWIntenton thatUri.If PayPal does not offer a URL with GET parameters to accomplish what you want, then no, it is not possible.