I'm working on a project and they have are planning to add a feature web payment. I'm glad to say that our client is a technical person and told me to use the paypal. This is my first time integrating a web payment. I've read some docs in developers.paypal and i'm planning to use the paypal express checkout.
我正在开展一个项目,他们正计划添加功能网络付款。我很高兴地说我们的客户是技术人员,并告诉我使用paypal。这是我第一次整合网络支付。我已经在developers.paypal中阅读了一些文档,我打算使用paypal快速结账。
Furthermore I'll be developing this using only client side (Angularjs), is it right decision for me to use paypal express checkout? Will I encounter some security issue here since its client side? The main idea is upon successful payment I have to sync an http request that will trigger that the user has paid.
此外,我将仅使用客户端(Angularjs)开发此功能,对我来说使用paypal快速结账是否正确?从客户端开始,我会遇到一些安全问题吗?主要想法是成功付款后我必须同步一个会触发用户付款的http请求。
Sample idea
.success(function(){
$http.post(...)
});
1 个解决方案
#1
2
Here it's a complete example that will help you: http://www.codeproject.com/Articles/576246/A-Shopping-Cart-Application-Built-with-AngularJS
这里有一个完整的例子可以帮助你:http://www.codeproject.com/Articles/576246/A-Shopping-Cart-Application-Built-with-AngularJS
#1
2
Here it's a complete example that will help you: http://www.codeproject.com/Articles/576246/A-Shopping-Cart-Application-Built-with-AngularJS
这里有一个完整的例子可以帮助你:http://www.codeproject.com/Articles/576246/A-Shopping-Cart-Application-Built-with-AngularJS