0.1.41 • Published 3 years ago

react-native-worldline-payment-gateway v0.1.41

Weekly downloads
8
License
MIT
Repository
github
Last release
3 years ago

react-native-worldline-payment-gateway

Worldline payment gateway for Android and iOS

Installation

npm install react-native-worldline-payment-gateway
yarn add react-native-worldline-payment-gateway

Usage

Android

Add following details in AndroidManifest.xml Note : Replace with your keys

 <meta-data
      android:name="com.worldline.paymentgateway.KEY"
      android:value="6a2bxxxxxxxxxxxxxc236" />

      <meta-data
      android:name="com.worldline.paymentgateway.MID"
      android:value="WL000xxxxxxxx06" />

iOS

Add following details in info.plist Note : Replace with your keys

<key>encryptionKey</key>
<string>6a2bxxxxxxxxxxxxxc236</string>
<key>merchantID</key>
<string>WL000xxxxxxxx06</string>
import WorldlinePaymentGateway from "react-native-worldline-payment-gateway";

// ...

WorldlinePaymentGateway.startPayment({
        order_id: rand.toString(),
        amount: '1300',
        currency: 'INR',
        description: 'Test Transaction from react native',
        transaction_type: 'S',
      }).then(setResponse);

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

0.1.41

3 years ago

0.1.4

3 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago