diff --git a/docs/docs/guides/purchases.md b/docs/docs/guides/purchases.md index 986b5c82a..fd2d524c6 100644 --- a/docs/docs/guides/purchases.md +++ b/docs/docs/guides/purchases.md @@ -100,7 +100,7 @@ class App extends Component { Then define the method like below and call it when user press the button. ```tsx -import { requestSubscription, requestSubscription } from 'react-native-iap'; +import { requestPurchase, requestSubscription } from 'react-native-iap'; ... class App extends Component { purchase = async (sku: string) => {