Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting up web payment using paypal

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.

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.

Sample idea

.success(function(){
   $http.post(...)
});
like image 553
Wondering Coder Avatar asked Nov 01 '22 14:11

Wondering Coder


1 Answers

Here it's a complete example that will help you: http://www.codeproject.com/Articles/576246/A-Shopping-Cart-Application-Built-with-AngularJS

like image 176
Henry H. Avatar answered Nov 15 '22 12:11

Henry H.