
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
liteapi-react-native-payment-wrapper
Advanced tools
[](https://github.com/stripe/stripe-react-native/blob/master/LICENSE)
This component is designed to simplify the payment process for developers integrating liteAPI. It connects to liteAPI to calculate the price of the selected room and generates a payment form displaying the total amount due, all with just a few lines of code.
Node 18 or higher
Install the package with:
npm install liteapi-react-native-payment-wrapper
or
yarn add liteapi-react-native-payment-wrapper
The LiteAPI Payment requires Xcode 14.1 or later and is compatible with apps targeting iOS 13 or above. You'll need to run pod install in your iOS directory to install the native dependencies.
cd ios && pod install
Supports Android 5.0 (API level 21) and above; your compileSdkVersion must be 34. Android Gradle plugin supports version 4.x and above.
[OFFER-ID]: You can retrieve the offerID by using the hotels rates API endpoint, as detailed in the documentation.[YOUR-API-KEY]: Your LiteAPI API KEYimport { PayButton } from 'liteapi-react-native-payment-wrapper';
import LiteAPIPayment from 'liteapi-react-native-payment-wrapper/dist/LiteAPIPayment';
function App() {
const handlePaymentSuccess = (transactionId: string) => {
// Handle the book service
};
const handlePaymentFailure = () => {
// handle Payment failure
};
return (
<LiteAPIPayment sandbox={false}>
<PayButton
offerId="[OFFER-ID]"
apiKey="[YOUR-API-KEY]"
onPaymentSucceeded={handlePaymentSuccess}
onPaymentFailed={handlePaymentFailure}
buttonColor="blue"
textColor="white"
borderRadius={10}
buttonWidth={200}
buttonHeight={50}
fontWeight="bold"
buttonTitle="Book now"
/>
</LiteAPIPayment>
);
}
Once the payment is successful, the onPaymentSucceeded callback is triggered to retrieve the transactionId. You can then use this ID directly with the booking service to confirm the booking following the payment. See documentation
FAQs
[](https://github.com/stripe/stripe-react-native/blob/master/LICENSE)
We found that liteapi-react-native-payment-wrapper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.