使用 Webview 的 Paypal [英] Paypal using Webview

查看:44
本文介绍了使用 Webview 的 Paypal的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道我是否可以在不使用 android 的贝宝库的情况下集成贝宝.(可能正在使用 webview)?

I want to know if i can integrate the paypal without using paypal library for android. (May be using webview)?

如果有,有没有教程可以了解这个过程?

If yes, is there any tutorial to know the process?

提前致谢.

推荐答案

Yes;贝宝移动快速结账.它基本上是 PayPal Express Checkout 的移动视图.实施起来非常容易.只需调用 SetExpressCheckout,检索令牌,重定向到 https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=TOKEN 并在用户回到您的页面时调用 DoExpressCheckoutPayment.

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

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

这篇关于使用 Webview 的 Paypal的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆