Paypal-checkout-components: [Question ] is there an npm command to install paypal-checkout ?

Created on 31 Aug 2018  路  6Comments  路  Source: paypal/paypal-checkout-components

im trying to use paypal-checkout with my angularjs app (mean stack) but there is no clear way of installation in docs only the integration part ...thanks.

outdated

Most helpful comment

i totally agree i dont even know what to put here ... im wasting too much time man

$scope.client = {
                ...
            };

            $scope.payment = function() {
                ...
            };

            $scope.onAuthorize = function(data) {
                ...
            };
        });

All 6 comments

You have to add their checkout script to your page before using their code examples, thats about it. Not sure if there is an NPM installation.

<script src="https://www.paypalobjects.com/api/checkout.js" data-version-4></script>

That said I think whats really missing from these docs is a complete description of the API available. Right now it's just a bunch of examples, or so it feels, I want to read the full API of whats available with the checkout widget and see what parameteres and responses each of the function are.

Might have to read the code to figure it out but it would be nice if this was detailed for us given how useful it would be to everyone.

i totally agree i dont even know what to put here ... im wasting too much time man

$scope.client = {
                ...
            };

            $scope.payment = function() {
                ...
            };

            $scope.onAuthorize = function(data) {
                ...
            };
        });

Agreed, this has to be one of the most painful libraries / API's I've had to work with over the last 2 years.

i tried braintree before too same thing... i dont know if there is a simple alternative to this i just want to add payment to my mean stack app..

We support npm using the paypal-checkout package. Please let me know if you have any specific problems using this package.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

i7eo picture i7eo  路  3Comments

hosseinfs picture hosseinfs  路  6Comments

deejbee picture deejbee  路  5Comments

webdeb picture webdeb  路  3Comments

PhilibertDugas picture PhilibertDugas  路  5Comments