{"id":26453023,"url":"https://github.com/kuloud/paypal_checkout_sdk","last_synced_at":"2026-05-18T11:05:42.614Z","repository":{"id":186452833,"uuid":"675047370","full_name":"kuloud/paypal_checkout_sdk","owner":"kuloud","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-06T05:57:32.000Z","size":62,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-18T18:53:08.158Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kuloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-05T15:49:07.000Z","updated_at":"2024-11-30T01:39:00.000Z","dependencies_parsed_at":"2024-01-29T08:05:31.513Z","dependency_job_id":null,"html_url":"https://github.com/kuloud/paypal_checkout_sdk","commit_stats":null,"previous_names":["kuloud/paypal_checkout_sdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kuloud/paypal_checkout_sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuloud%2Fpaypal_checkout_sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuloud%2Fpaypal_checkout_sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuloud%2Fpaypal_checkout_sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuloud%2Fpaypal_checkout_sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kuloud","download_url":"https://codeload.github.com/kuloud/paypal_checkout_sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuloud%2Fpaypal_checkout_sdk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265314321,"owners_count":23745244,"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":[],"created_at":"2025-03-18T18:41:40.573Z","updated_at":"2026-05-18T11:05:37.583Z","avatar_url":"https://github.com/kuloud.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎥 Flutter PayPal Checkout\n\n## ⚡ Best and easy way to INTEGRATE PayPal checkout in Flutter application ⚡\n\nMain features of `paypal_checkout_sdk` : \n\n1. `Simple and easy to Connect Flutter with PayPal`\n2. `Plug and Play🚀`\n3. `Event Handlers🚀`\n4. `Easy to follow guide`\n\n## 🎖 Installing\n\n```yaml\ndependencies:\n  paypal_checkout_sdk: ^\u003clatest_version\u003e\n```\n\n### Android\nin `app\\build.gradle`\n\n```\ndefaultConfig {\n    minSdkVersion 17\n    compileSdkVersion 33    \n}\n```\n\n### iOS\n\nNo extra setup is needed\n\n\n## Usage\n\n## ⚡ Setup:\n\n```\nNavigator.of(context).push(MaterialPageRoute(\n    builder: (BuildContext context) =\u003e \n    \n    PaypalCheckout(\n        sandboxMode: true,\n        clientId: \"CLIENT_ID\",\n        secretKey: \"SECRET_KEY\",\n        returnURL: \"RETURN_URL\",\n        cancelURL: \"CANCEL_URL\",\n        transactions: const [\n            {\n                \"amount\": {\n                    \"total\": '70',\n                    \"currency\": \"USD\",\n                    \"details\": {\n                        \"subtotal\": '70',\n                        \"shipping\": '0',\n                        \"shipping_discount\": 0\n                    }\n                },\n                \"description\": \"The payment transaction description.\",\n                \"item_list\": {\n                    \"items\": [\n                        {\n                            \"name\": \"Apple\",\n                            \"quantity\": 4,\n                            \"price\": '5',\n                            \"currency\": \"USD\"\n                        },\n                        {\n                            \"name\": \"Pineapple\",\n                            \"quantity\": 5,\n                            \"price\": '10',\n                            \"currency\": \"USD\"\n                        }\n                    ],\n                    // shipping address is Optional\n                    \"shipping_address\": {\n                        \"recipient_name\": \"Raman Singh\",\n                        \"line1\": \"Delhi\",\n                        \"line2\": \"\",\n                        \"city\": \"Delhi\",\n                        \"country_code\": \"IN\",\n                        \"postal_code\": \"11001\",\n                        \"phone\": \"+00000000\",\n                        \"state\": \"Texas\"\n                    },\n                }\n            }\n        ],\n        note: \"PAYMENT_NOTE\",\n        onSuccess: (Map params) async {\n            print(\"onSuccess: $params\");\n        },\n        onError: (error) {\n            print(\"onError: $error\");\n            Navigator.pop(context);\n        },\n        onCancel: () {\n            print('cancelled:');\n        },\n    ),\n\n));\n\n```\n    \n## ⚡ Events\n\n```\nonSuccess: (Map params) async {\n    print(\"onSuccess: $params\");\n},\n\nonError: (error) {\n    print(\"onError: $error\");\n}\n\nonCancel: () {\n    print('cancelled:');\n}\n\n```\n\n## ⚡ Constructors Parameters\n\n| Parameter | Type | Optional | Description |\n|---|---|---|---\n| `sandboxMode` | bool  | YES | To use PayPal in Sandbox Mode. `Default value = false` |\n| `clientId` | String | NO | Pass the PayPal Client Id. |\n| `secretKey` | String | NO | Pass the PayPal Secret Key. |\n| `returnURL` | String | NO | Return URL on Payment Success. |\n| `cancelURL` | String | NO | Cancel URL on Payment Failed. |\n| `transactions` | List\\\u003cdynamic\u003e | NO | Transaction parameters for making payment |\n| `note` | String | YES | PayPal payment note if any. |\n| `onSuccess` | Function(Dynamic) | YES | Event will be called on Successful payment. |\n| `onError` | Function(Dynamic) | YES | Event will be called on Error/Failed payment. |\n| `onCancel` | Function(Dynamic) | YES | Event will be called on Cancelled payment. |\n\n\n-----------------------------------------------------------------------------\n\n## Copyright \u0026 License\n\nCode and documentation Copyright 2023 [kuloud](https://www.github.com/kuloud). Code released under the [MIT License](./LICENSE). Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuloud%2Fpaypal_checkout_sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkuloud%2Fpaypal_checkout_sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuloud%2Fpaypal_checkout_sdk/lists"}