{"id":22978261,"url":"https://github.com/nericode/nativescript-paypal-checkout","last_synced_at":"2025-08-13T16:32:29.927Z","repository":{"id":43447061,"uuid":"133711264","full_name":"nericode/nativescript-paypal-checkout","owner":"nericode","description":"Nativescript Plugin for PayPal","archived":false,"fork":false,"pushed_at":"2023-03-01T22:49:32.000Z","size":2642,"stargazers_count":3,"open_issues_count":6,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-13T04:49:59.078Z","etag":null,"topics":["android","nativescript","paypal","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nericode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-16T19:04:00.000Z","updated_at":"2024-05-30T16:42:01.000Z","dependencies_parsed_at":"2023-01-24T10:15:27.830Z","dependency_job_id":null,"html_url":"https://github.com/nericode/nativescript-paypal-checkout","commit_stats":null,"previous_names":["nericodec/nativescript-paypal"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nericode%2Fnativescript-paypal-checkout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nericode%2Fnativescript-paypal-checkout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nericode%2Fnativescript-paypal-checkout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nericode%2Fnativescript-paypal-checkout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nericode","download_url":"https://codeload.github.com/nericode/nativescript-paypal-checkout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229636824,"owners_count":18102354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","nativescript","paypal","typescript"],"created_at":"2024-12-15T01:18:05.579Z","updated_at":"2024-12-15T01:18:06.122Z","avatar_url":"https://github.com/nericode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PayPal Checkout ![apple](https://cdn3.iconfinder.com/data/icons/picons-social/57/16-apple-32.png) ![android](https://cdn4.iconfinder.com/data/icons/logos-3/228/android-32.png)\n\n## Screenshot\n\n\u003cimg alt=\"Android\" src=\"https://res.cloudinary.com/dem02bcqj/image/upload/v1526572004/paypal.png\" width=\"550\"\u003e\n\n## Support\n\nSupport Android \u0026 iOS.\n\n## Installation\n\n```javascript\ntns plugin add nativescript-paypal-checkout\n```\n\n## Usage\n\nIn the demo you will find a test token to test quickly\n\n```javascript\nimport { PaypalCheckout, PaypalOptions } from 'nativescript-paypal-checkout';\n\nprivate paypalCheckout: PaypalCheckout;\n\nthis.paypalCheckout = new PaypalCheckout();\n\nlet options: PaypalOptions = {\n\ttoken: \"TOKEN\", // The token is obtained from the server\n\tamount: \"10\",\n\tcurrencyCode: \"USD\"\n};\n\nthis.paypalCheckout.paypalRequest(options).then(\n\t(nonce) =\u003e {\n\t\tconsole.log(\"Token nonce: \" + nonce);\n\t}, (error) =\u003e {\n\t\tconsole.log(error);\n\t}\n);\n\n```\n\n## Others\n\nCreate token Server-Side : https://developers.braintreepayments.com/start/hello-server/php#generate-a-client-token\n\nMore references: https://developers.braintreepayments.com/guides/paypal/checkout-with-paypal/android/v2\n\nServer-Side Implementation: https://developers.braintreepayments.com/guides/paypal/server-side/php\n\n## Thanks\n\nThanks to @jibon57 the configurations for the plugin\n\nSettings app ios: https://github.com/jibon57/nativescript-braintree\n\n## License\n\nApache License Version 2.0, January 2004\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnericode%2Fnativescript-paypal-checkout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnericode%2Fnativescript-paypal-checkout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnericode%2Fnativescript-paypal-checkout/lists"}