All Projects → tyrw → angular-paypal-checkout

tyrw / angular-paypal-checkout

Licence: MIT license
Angular directive for running PayPal's in-context checkout flow

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to angular-paypal-checkout

Accessible Html5 Video Player
Accessible HTML5 Video Player
Stars: ✭ 2,384 (+16928.57%)
Mutual labels:  paypal
ngx-access
Add access control to your components using hierarchical configuration with logical expressions.
Stars: ✭ 21 (+50%)
Mutual labels:  directive
codizer-core
Laravel CMS, CRM, E-Commerce
Stars: ✭ 43 (+207.14%)
Mutual labels:  paypal
Test Payment Cards
Cheatsheet of test payment cards for various payment gateways
Stars: ✭ 217 (+1450%)
Mutual labels:  paypal
paypal-messaging-components
PayPal JavaScript SDK - messaging components
Stars: ✭ 24 (+71.43%)
Mutual labels:  paypal
graphql-directive-rest
GraphQL directive for easy integration with REST API
Stars: ✭ 39 (+178.57%)
Mutual labels:  directive
Ngx Paypal
Paypal integration for Angular
Stars: ✭ 160 (+1042.86%)
Mutual labels:  paypal
ngx-localstorage
An Angular wrapper for localstorage/sessionstorage access.
Stars: ✭ 27 (+92.86%)
Mutual labels:  directive
angular-datetime-inputs
📅 Angular directives for datetime inputs
Stars: ✭ 20 (+42.86%)
Mutual labels:  directive
angular-ellipsis
A simple lightweight library for Angular which removes excess text and add ellipsis symbol to end of text before text overflows container
Stars: ✭ 16 (+14.29%)
Mutual labels:  directive
angular-inviewport
A simple lightweight library for Angular with no other dependencies that detects when an element is within the browser viewport and adds a "sn-viewport-in" or "sn-viewport-out" class to the element
Stars: ✭ 72 (+414.29%)
Mutual labels:  directive
remark-directive
remark plugin to support directives
Stars: ✭ 137 (+878.57%)
Mutual labels:  directive
angular-cron-gen
A basic way to for users to graphically build a cron expression using Angular.
Stars: ✭ 36 (+157.14%)
Mutual labels:  directive
Gimel
Big Data Processing Framework - Unified Data API or SQL on Any Storage
Stars: ✭ 216 (+1442.86%)
Mutual labels:  paypal
svg-pan-zoom-container
A vanilla-js module for adding zoom-on-wheel and pan-on-drag behavior to inline SVG elements.
Stars: ✭ 31 (+121.43%)
Mutual labels:  directive
Expresscart
A fully functioning Node.js shopping cart with Stripe, PayPal, Authorize.net, PayWay, Blockonomics, Adyen, Zip and Instore payments.
Stars: ✭ 2,069 (+14678.57%)
Mutual labels:  paypal
ngx-timeago
⏰ Live updating timestamps in Angular 6+
Stars: ✭ 70 (+400%)
Mutual labels:  directive
angular-simple-slider
An AngularJS directive providing a simple slider functionality
Stars: ✭ 15 (+7.14%)
Mutual labels:  directive
ngx-malihu-scrollbar
Angular 2+ scrollbar customization using Malihu jQuery Custom Scrollbar plugin
Stars: ✭ 59 (+321.43%)
Mutual labels:  directive
TheBankster
A personal finance tool in PHP
Stars: ✭ 15 (+7.14%)
Mutual labels:  paypal

angular-paypal-checkout

Angular 1.x directive for running PayPal's in-context checkout flow

PayPal Checkout Button

Demo here (need your server for it to go through flow): http://plnkr.co/edit/9kycqo2Dl879gQFoMdrP?p=preview

Your server should receive the client's request, communicate with PayPal, and return the approval_url. For this directive, my server essentially does the following

paypal.payment.createAsync dataObj
.then (payment) ->
  approval_url = payment.links[1]
  res.send { href: approval_url.href }

But you can use a different format as needed. The important thing is to not have the server redirect (as shown in PayPal docs), but simply return the url for the client to handle.

With that said, you can use the PayPal button like so:

<paypal-checkout></paypal-checkout>

PayPal's docs aren't the best, but they may help with issues: https://developer.paypal.com/docs/classic/express-checkout/in-context/integration/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].