@rnw-community/react-native-payments
Version:
Accept Payments with Apple Pay and Android Pay using the Payment Request API.
19 lines (12 loc) • 833 B
Markdown
# Install
Install the package with your package manager, e.g.:
```bash
yarn add @rnw-community/react-native-payments
```
Autolinking picks up the TurboModule on both architectures — no manual `react-native link` step.
Before writing any code, complete the one-time platform setup for every platform you target:
- [iOS quickstart](./quickstart-ios.md) — Apple developer account, merchant ID, `PassKit` import in `AppDelegate`.
- [Android quickstart](./quickstart-android.md) — Google developer account, `play-services-wallet` dependency, test-card allowlist.
- [Expo quickstart](./quickstart-expo.md) — the `app.plugin` entry plus `expo prebuild --clean`.
Then ship a payment sheet by following the [readme quickstart](../../readme.md#quickstart) or the full
[`PaymentRequest` API reference](../api/payment-request.md).