This is an unofficial esewa service integration for react native projects. However it has less issues comparitive to existing esewa react native libraries. TODO: ios integration
yarn add react-native-esewa-service
import Esewa from "react-native-esewa-service";
// ...
Esewa.init(CLIENT_ID, SECRET, ENVIRONMENT)
Esewa.makePayment(PRICE, PRODUCT_NAME, PRODUCT_ID, CALLBACK_URL) -- It returns a promise
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT