{"id":4797,"url":"https://github.com/square/in-app-payments-react-native-plugin","last_synced_at":"2025-06-13T01:39:08.198Z","repository":{"id":34307898,"uuid":"169495419","full_name":"square/in-app-payments-react-native-plugin","owner":"square","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-07T09:57:35.000Z","size":10297,"stargazers_count":119,"open_issues_count":33,"forks_count":50,"subscribers_count":26,"default_branch":"master","last_synced_at":"2024-11-28T10:07:19.444Z","etag":null,"topics":["in-app-payments","payment-form","sdk"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/square.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-06T23:56:34.000Z","updated_at":"2024-10-15T01:49:02.000Z","dependencies_parsed_at":"2023-02-16T16:01:32.752Z","dependency_job_id":"b7d71afb-fd50-4137-8380-2647ec6394d3","html_url":"https://github.com/square/in-app-payments-react-native-plugin","commit_stats":{"total_commits":172,"total_committers":22,"mean_commits":7.818181818181818,"dds":0.6511627906976745,"last_synced_commit":"542c916d7f22f6a5d694acb2951e1cb259fdd4e9"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/square%2Fin-app-payments-react-native-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/square%2Fin-app-payments-react-native-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/square%2Fin-app-payments-react-native-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/square%2Fin-app-payments-react-native-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/square","download_url":"https://codeload.github.com/square/in-app-payments-react-native-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228587347,"owners_count":17941442,"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":["in-app-payments","payment-form","sdk"],"created_at":"2024-01-05T20:17:24.489Z","updated_at":"2025-06-13T01:39:08.185Z","avatar_url":"https://github.com/square.png","language":"Objective-C","readme":"# React Native plugin for In-App Payments SDK\n[![in-app-payment-react-native-plugin](https://github.com/square/in-app-payments-react-native-plugin/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/square/in-app-payments-react-native-plugin/actions/workflows/main.yml)\n[![npm version](https://badge.fury.io/js/react-native-square-in-app-payments.svg)](https://badge.fury.io/js/react-native-square-in-app-payments)\n\nThe In-App Payments plugin for Square [In-App Payments SDK] is a wrapper for the native Android and iOS SDKs and \nsupports the following native In-App Payments SDK versions:\n\n  * iOS: `1.6.3`\n  * Android: `1.6.6`\n\n## Additional documentation\n\nIn addition to this README, the following is available in the [React Native plugin GitHub repo]:\n\n* [Getting started guide]\n* [Enable Apple Pay guide]\n* [Enable Google Pay guide]\n* [Technical reference]\n* [Troubleshooting guide]\n* [`docs`] - Root directory for all documentation.\n* [`react-native-in-app-payments-quickstart`] - Root directory of the React Native sample app (with walkthrough).\n* [Getting started with the example app]\n\n## Build requirements\n\n### Android\n\n* Android minSdkVersion is API 24 (Nougat, 7.0) or higher.\n* Android Target SDK version: API 33 (Android 13).\n* Android Gradle Plugin: 4.0.0 or greater.\n\n### iOS\n\n* Xcode version: 15.0 or greater.\n* iOS Base SDK: 13.0 or greater.\n* Deployment target: iOS 13.0 or greater.\n\n## In-App Payments SDK requirements and limitations\n\n* In-App Payments SDK cannot issue refunds. Refunds can be issued programmatically using\n  the Refunds API or manually in the [Square Dashboard].\n\n## Sample applications\n* **[Quick start React Native app]:** You can learn how the In-App-Payments React Native plugin is used by [getting started with the example app], a quick-start React Native app that lets you take a payment after completing 6 setup steps. \n* **Quick start backend app:** The [In-App Payments Server Quickstart](https://github.com/square/in-app-payments-server-quickstart) \ntakes the nonce created by the React Native app and uses it to create a payment credited to your Square account. Use this backend sample to quickly create a complete payment flow.\n\n## License\n\n```\nCopyright 2022 Square Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n\n[//]: # \"Link anchor definitions\"\n[In-App Payments SDK]: https://developer.squareup.com/docs/in-app-payments-sdk/what-it-does\n[Square Dashboard]: https://squareup.com/dashboard/\n[Testing Mobile Apps]: https://developer.squareup.com/docs/testing/mobile\n[`docs`]: https://github.com/square/in-app-payments-react-native-plugin/tree/master/docs\n[`react-native-in-app-payments-quickstart`]: https://github.com/square/in-app-payments-react-native-plugin/tree/master/react-native-in-app-payments-quickstart\n[Getting started guide]: https://github.com/square/in-app-payments-react-native-plugin/blob/master/docs/get-started.md\n[Enable Apple Pay guide]: https://github.com/square/in-app-payments-react-native-plugin/blob/master/docs/enable-applepay.md\n[Enable Google Pay guide]: https://github.com/square/in-app-payments-react-native-plugin/blob/master/docs/enable-googlepay.md\n[Technical reference]: https://github.com/square/in-app-payments-react-native-plugin/blob/master/docs/reference.md\n[Troubleshooting guide]: https://github.com/square/in-app-payments-react-native-plugin/blob/master/docs/troubleshooting.md\n[React Native plugin GitHub repo]: https://github.com/square/in-app-payments-react-native-plugin/tree/master\n[Getting started with the example app]: https://github.com/square/in-app-payments-react-native-plugin/tree/master/react-native-in-app-payments-quickstart/README.md\n[Quick start React Native app]: https://github.com/square/in-app-payments-react-native-plugin/tree/master/react-native-in-app-payments-quickstart\n","funding_links":[],"categories":["Components","Objective-C"],"sub_categories":["Monetization"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquare%2Fin-app-payments-react-native-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquare%2Fin-app-payments-react-native-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquare%2Fin-app-payments-react-native-plugin/lists"}