Paypal using Webview

I want to know if I can integrate paypal without using the paypal library for Android. (Maybe use webview)?

If so, is there a tutorial to study the process?

Thanks in advance.

+5
source share
2 answers

Yes; PayPal Mobile Express Checkout. This is basically a mobile view for PayPal Express Checkout. He is dead - easy to implement. Just call SetExpressCheckout, extract the token, redirect to https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=TOKEN and call DoExpressCheckoutPayment when the user returns to your page.

https://developer.paypal.com/webapps/developer/docs/classic/products/mobile-express-checkout/
https://developer.paypal.com/webapps/developer/docs/classic/mobile/gs_MEC/

+4

, Android, , .

:

Donate.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://www.paypal.com/your_paypal")); startActivity(browserIntent); } });

, .

0

All Articles