ng4-paypal-button icon indicating copy to clipboard operation
ng4-paypal-button copied to clipboard

Example of Paypal checkout button with Angular 2/4/5 that passes AOT.

Angular 4 Paypal Checkout

A project demonstrating Angular 4 and Paypal instant checkout integration.
Note: Angular 5 was released, I have updated this sample project to support it.
Learn more about the changes. This project will still work with Angular 2 and 4.

Getting started

  • Clone the project
  • In app.component.ts, change the sandbox/production key to your own personal key. The project will not work if the key is not valid.
  • cd ng4-paypal-button
  • npm install
  • ng serve

AOT Compilation

ng build --prod