Skip to content

WhapplePay/react-native-whapplepay-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

sdk for react native applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published