1.3.1 • Published 4 months ago
rn-paygoal-pg v1.3.1
rn-paygoal-pg
Paygoal payment gateway for react-native app
Installation
For npm
npm install rn-paygoal-pg
For yarn
yarn add rn-paygoal-pg
Usage
import { PayGoalPgComponent } from 'rn-paygoal-pg';
// ...
const TestPG = () => {
return (
<PayGoalPgComponent
amount="10000" // amount should be in paisa only i.e. 10000 paisa for transaction of 100 rupees
email="test@gmail.com"
name="Test"
mobile="9999999999"
orderId="ref@123"
address="Delhi"
uid="123456789"
encryptionKey="123456789"
onComplete = () => {
// onComplete will be invoked in both cases failed or success
// your code here
}
/>
);
};
Props
Param | Type | Mandatory | Description |
---|---|---|---|
style | StyleProp | No | View style prop |
onComplete() | void | No | Function to handle onComplete of payment |
scrollEnabled | boolean | No | Weather the SDK view will be scrollable or not |
amount | string | Yes | Amout of transaction (in Rupees only) |
string | Yes | Email of user | |
name | string | Yes | Name of user |
mobile | string | Yes | Mobile of user |
orderId | string | Yes | Unique refrence ID (Alpha numeric only, no special characters) |
address | string | Yes | Address of user |
uid | string | Yes | Unique ID provided by Paygoal payment gateway team |
encryptionKey | string | Yes | key provided by Paygoal payment gateway team |
Git Repository
https://github.com/CMPundhir/react-native-paygoal-pg.git
Developed By
BiggBrains Solutions Pvt. Ltd.
License
MIT
1.2.8
4 months ago
1.2.7
4 months ago
1.2.6
4 months ago
1.2.5
4 months ago
1.2.4
4 months ago
1.2.3
4 months ago
1.3.1
4 months ago
1.3.0
4 months ago
1.2.9
4 months ago
1.2.0
4 months ago
1.1.1
4 months ago
1.1.0
4 months ago
1.1.9
4 months ago
1.1.8
4 months ago
1.0.9
4 months ago
1.1.7
4 months ago
1.0.8
4 months ago
1.1.6
4 months ago
1.0.7
4 months ago
1.1.5
4 months ago
1.0.6
4 months ago
1.1.4
4 months ago
1.0.5
4 months ago
1.2.2
4 months ago
1.1.3
4 months ago
1.0.4
4 months ago
1.2.1
4 months ago
1.1.2
4 months ago
1.0.3
4 months ago
1.0.2
4 months ago
1.0.1
4 months ago
1.0.0
4 months ago
0.1.4
4 months ago
0.1.3
4 months ago
0.1.2
4 months ago
0.1.1
4 months ago
0.1.0
4 months ago