whapplepayreactsdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

WhapplepayReactSDK

Overview

WhapplepayReactSDK is a library that allows you to seamlessly integrate WhapplePay's secure payment gateway into your React Native applications. By using this SDK, you can enhance user experience, process payments securely, and optimize checkout flows with WhapplePay's reliable tools tailored specifically for React Native environments.

Features

  • Securely process payments using WhapplePay.
  • Seamlessly integrate WhapplePay's payment gateway into React Native apps.
  • Enhance user trust and satisfaction with reliable payment processing.
  • Optimize checkout flows for a smooth user experience.

Installation

To install WPReactSDK, use npm or yarn:

npm install whapplepayreactsdk

or

yarn add whapplepayreactsdk

Usage

  1. Import WhapplepayReactSDK into your React Native project:
import WhapplePaySDK from 'whapplepayreactsdk';
  1. Initialize WhapplePay with your API keys:
const whapplePay = new WhapplePaySDK({
  apiKey: 'YOUR_API_KEY_HERE',
  secretKey: 'YOUR_SECRET_KEY_HERE',
});
  1. Use WhapplePay methods to process payments:
whapplePay.processPayment({
  amount: 500, // Amount to be charged
  currency: 'USD', // Currency code
  // Other payment details as needed
}).then((response) => {
  console.log(response);
}).catch((error) => {
  console.error(error);
});

For detailed API documentation and examples, refer to the API Reference.

API Reference

For detailed information about WhapplepayReactSDK's API methods and usage examples, please refer to the API Reference.

Contributing

Contributions to WhapplepayReactSDK are welcome! To contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-branch-name).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add new feature').
  5. Push to the branch (git push origin feature/your-branch-name).
  6. Create a new Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For any questions or issues regarding WhapplepayReactSDK, please open an issue on GitHub or contact our support team at support@whapplepay.com.

Package Sidebar

Install

npm i whapplepayreactsdk

Weekly Downloads

11

Version

1.0.2

License

MIT

Unpacked Size

95.7 kB

Total Files

11

Last publish

Collaborators

  • whapplepay