Skip to content

Commit

Permalink
Release 3.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LeowWH committed May 10, 2019
1 parent dcf78d7 commit 63db432
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 28 deletions.
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

<img src="https://user-images.githubusercontent.com/38641542/39353138-654385dc-4a39-11e8-9710-19e5f03ec62e.jpg">

# molpay-mobile-xdk-reactnative-beta
# rms-mobile-xdk-reactnative-beta

This is the beta but functional MOLPay React Native payment module that is ready to be implemented into any React Native project npm install module. An example application project
(MOLPayReactExampleProject) is provided for MOLPayXDK framework integration reference.
This is the beta but functional Razer Merchant Services React Native payment module that is ready to be implemented into any React Native project npm install module. An example application project
(MOLPayReactExampleProject) is provided for Razer Merchant Services XDK framework integration reference.

## Recommended configurations

Expand Down Expand Up @@ -126,7 +126,7 @@ Parameter and meaning:
"paydate" - The transaction date
"order_id" - The transaction order id
"channel" - The transaction channel description
"txn_ID" - The transaction id generated by MOLPay
"txn_ID" - The transaction id generated by Razer Merchant Services
* Notes: You may ignore other parameters and values not stated above
Expand All @@ -138,10 +138,10 @@ Parameter and meaning:
Parameter and meaning:
"Communication Error" - Error starting a payment process due to several possible reasons, please contact MOLPay support should the error persists.
"Communication Error" - Error starting a payment process due to several possible reasons, please contact Razer Merchant Services support should the error persists.
1) Internet not available
2) API credentials (username, password, merchant id, verify key)
3) MOLPay server offline.
3) Razer Merchant Services server offline.
```
## Prepare the Payment detail object
Expand All @@ -151,7 +151,7 @@ var paymentDetails = {
// Optional, REQUIRED when use online Sandbox environment and account credentials.
'mp_dev_mode': false,

// Mandatory String. Values obtained from MOLPay.
// Mandatory String. Values obtained from Razer Merchant Services.
'mp_username' : 'username',
'mp_password' : 'password',
'mp_merchant_ID' : 'merchantid',
Expand Down Expand Up @@ -210,7 +210,7 @@ var paymentDetails = {
// Optional, credit card transaction type, set "AUTH" to authorize the transaction.
'mp_tcctype': '',

// Optional, required valid credit card channel, set true to process this transaction through the recurring api, please refer the MOLPay Recurring API pdf.
// Optional, required valid credit card channel, set true to process this transaction through the recurring api, please refer the Razer Merchant Services Recurring API pdf.
'mp_is_recurring': false,

// Optional, show nominated channels.
Expand Down Expand Up @@ -255,10 +255,10 @@ var paymentDetails = {
## Start the payment module
```
//import molpay package
//import Razer Merchant Services package
var molpay = require("molpay-mobile-xdk-reactnative-beta");

//start molpay payment
//start Razer Merchant Services payment
molpay.startMolpay(paymentDetails, function(data){
//callback after payment success
console.log(data);
Expand All @@ -282,11 +282,11 @@ Navigate to `node_modules/molpay-mobile-xdk-reactnative-beta/android/src/main/ja

1) The user initiate a cash payment, upon completed, the XDK will pause at the “Payment instruction” screen, the results would return a pending status.

2) The user can then click on “Close” to exit the MOLPay XDK aka the payment screen.
2) The user can then click on “Close” to exit the Razer Merchant Services XDK aka the payment screen.

3) When later in time, the user would arrive at say 7-Eleven to make the payment, the host app then can call the XDK again to display the “Payment Instruction” again, then it has to pass in all the payment details like it will for the standard payment process, only this time, the host app will have to also pass in an extra value in the payment details, it’s the “mp_transaction_id”, the value has to be the same transaction returned in the results from the XDK earlier during the completion of the transaction. If the transaction id provided is accurate, the XDK will instead show the “Payment Instruction" in place of the standard payment screen.
4) After the user done the paying at the 7-Eleven counter, they can close and exit MOLPay XDK by clicking the “Close” button again.
4) After the user done the paying at the 7-Eleven counter, they can close and exit Razer Merchant Services XDK by clicking the “Close” button again.
## XDK built-in checksum validator caveats
Expand All @@ -298,12 +298,12 @@ Navigate to `node_modules/molpay-mobile-xdk-reactnative-beta/android/src/main/ja

## Support

Submit issue to this repository or email to our support@molpay.com
Submit issue to this repository or email to our support-sa@razer.com

Merchant Technical Support / Customer Care : support@molpay.com<br>
Sales/Reseller Enquiry : sales@molpay.com<br>
Marketing Campaign : marketing@molpay.com<br>
Channel/Partner Enquiry : channel@molpay.com<br>
Media Contact : media@molpay.com<br>
R&D and Tech-related Suggestion : technical@molpay.com<br>
Abuse Reporting : abuse@molpay.com
Merchant Technical Support / Customer Care : support-sa@razer.com<br>
Sales/Reseller Enquiry : sales-sa@razer.com<br>
Marketing Campaign : marketing-sa@razer.com<br>
Channel/Partner Enquiry : channel-sa@razer.com<br>
Media Contact : media-sa@razer.com<br>
R&D and Tech-related Suggestion : technical-sa@razer.com<br>
Abuse Reporting : abuse-sa@razer.com
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ android {

dependencies {
implementation 'com.facebook.react:react-native:+'
implementation 'com.molpay:molpay-mobile-xdk-android:3.22.0'
implementation 'com.molpay:molpay-mobile-xdk-android:3.24.0'
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion ios/MOLPayXDK.bundle/molpay-mobile-xdk-www/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html> <html> <head> <meta charset="utf-8"> <title></title> <meta name="description" content=""> <!-- <meta name="viewport" content="width=device-width"> --> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> <meta name="format-detection" content="telephone=no"> <!-- Place favicon.ico and apple-touch-icon.png in the root directory --> <link rel="stylesheet" href="styles/vendor.34eb91d2.css"> <link rel="stylesheet" href="styles/main.9f3e4059.css"> </head> <body ng-app="molpayXsdkApp"> <div class="header"> </div> <div id="app-body" class="app-body container-fluid"> <div class="row"> <div class="hidden-xs col-sm-2 col-md-3 col-lg-4"></div> <div class="col-xs-12 col-sm-8 col-md-6 col-lg-4" ng-view=""></div> <div class="hidden-xs col-sm-2 col-md-3 col-lg-4"></div> </div> </div> <div ng-cloak ng-show="isStarting || isLoading" class="text-center"> <br> <p>{{label_preparing}}</p> <p>{{label_pleasewait}}</p> </div> <div class="footer"> </div> <div ng-cloak ng-show="isLoading || D7ARequeryActiveNow" class="loading text-center vertical-center"> <div class="loadingbackground"></div> <i class="fa fa-spinner fa-spin fa-3x"></i> <div class="loading-text">{{label_loading}}</div> </div> <script src="scripts/vendor.0f21d638.js"></script> <script src="scripts/scripts.a5e580d7.js"></script> </body> </html>
<!doctype html> <html> <head> <meta charset="utf-8"> <title></title> <meta name="description" content=""> <!-- <meta name="viewport" content="width=device-width"> --> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> <meta name="format-detection" content="telephone=no"> <!-- Place favicon.ico and apple-touch-icon.png in the root directory --> <link rel="stylesheet" href="styles/vendor.34eb91d2.css"> <link rel="stylesheet" href="styles/main.68a3f254.css"> </head> <body ng-app="molpayXsdkApp"> <div class="header"> </div> <div id="app-body" class="app-body container-fluid"> <div class="row"> <div class="hidden-xs col-sm-2 col-md-3 col-lg-4"></div> <div class="col-xs-12 col-sm-8 col-md-6 col-lg-4" ng-view=""></div> <div class="hidden-xs col-sm-2 col-md-3 col-lg-4"></div> </div> </div> <div ng-cloak ng-show="isStarting || isLoading" class="text-center"> <br> <p>{{label_preparing}}</p> <p>{{label_pleasewait}}</p> </div> <div class="footer"> </div> <div ng-cloak ng-show="isLoading || D7ARequeryActiveNow" class="loading text-center vertical-center"> <div class="loadingbackground"></div> <i class="fa fa-spinner fa-spin fa-3x"></i> <div class="loading-text">{{label_loading}}</div> </div> <script src="scripts/vendor.993ae4d8.js"></script> <script src="scripts/scripts.05dcd223.js"></script> </body> </html>

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "molpay-mobile-xdk-reactnative-beta",
"version": "0.22.0",
"description": "MOLPay mobile payment for React Native (BETA)",
"version": "0.24.0",
"description": "Razer Merchant Services mobile payment for React Native (BETA)",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand All @@ -20,7 +20,7 @@
"merchant",
"service"
],
"author": "MOLPay Mobile Division",
"author": "Razer Merchant Services Mobile Division",
"license": "ISC",
"bugs": {
"url": "https://github.com/MOLPay/molpay-mobile-xdk-reactnative-beta/issues"
Expand Down

0 comments on commit 63db432

Please sign in to comment.