---
title: "在 React Native SDK 中手动实现付费墙"
description: "了解如何使用 Adapty SDK 在您的 React Native 应用中手动实现付费墙。"
---

## 接受购买 \{#accept-purchases\}

如果您正在使用自己实现的付费墙，可以通过 `makePurchase` 方法将购买处理委托给 Adapty。这样，我们将处理所有用户场景，您只需处理购买结果即可。

:::important
`makePurchase` 适用于在 Adapty 看板中创建的产品。请确保按照[快速入门指南](quickstart)在看板中配置产品及其获取方式。
:::

<CustomDocCardList ids={['react-native-quickstart-manual', 'fetch-paywalls-and-products-react-native', 'present-remote-config-paywalls-react-native', 'react-native-making-purchases', 'react-native-restore-purchase', 'react-native-troubleshoot-purchases']} />

## 观察者模式 \{#observer-mode\}

如果您想从头实现自己的购买处理逻辑，但仍希望享受 Adapty 的高级分析功能，可以使用观察者模式。

:::important
请在[此处](observer-vs-full-mode)了解观察者模式的限制。
:::

<CustomDocCardList ids={['implement-observer-mode-react-native', 'report-transactions-observer-mode-react-native', 'react-native-troubleshoot-purchases']} />