Skip to content

Commit

Permalink
added shopeepay channel
Browse files Browse the repository at this point in the history
  • Loading branch information
hisyam committed Dec 10, 2020
1 parent c68d97e commit 06f9a81
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 16 deletions.
3 changes: 3 additions & 0 deletions MOLPayXDKExample/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,7 @@
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
</platform>
<plugin name="molpay-mobile-xdk-cordova" spec="^3.29.1" />
<engine name="android" spec="^8.1.0" />
<engine name="ios" spec="^5.1.1" />
</widget>
12 changes: 6 additions & 6 deletions MOLPayXDKExample/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions MOLPayXDKExample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"cordova-android": "^8.1.0",
"cordova-ios": "^5.1.1",
"cordova-plugin-android-permissions": "^0.10.0",
"cordova-plugin-inappbrowser": "^3.2.0",
"cordova-plugin-inappbrowser": "^4.1.0",
"cordova-plugin-x-toast": "^2.7.2",
"cordova-save-image-gallery": "0.0.26",
"molpay-mobile-cordova-privacyscreen": "^1.0.0",
"molpay-mobile-xdk-cordova": "^3.29.0"
"molpay-mobile-xdk-cordova": "^3.29.1"
}
}
16 changes: 8 additions & 8 deletions MOLPayXDKExample/www/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ var app = {
// MOLPay payment details
var paymentDetails = {
// ------- SDK required data ----------
'mp_amount' : '',
'mp_username' : '',
'mp_password' : '',
'mp_merchant_ID' : '',
'mp_app_name' : '',
'mp_order_ID' : '1234567890',
'mp_amount' : '1.10',
'mp_username': '',
'mp_password': '',
'mp_merchant_ID': '',
'mp_app_name': '',
'mp_order_ID' : '1234',
'mp_currency' : 'MYR',
'mp_country' : 'MY',
'mp_verification_key' : '',
'mp_verification_key': '',
'mp_channel' : 'multi',
'mp_bill_description' : 'description',
'mp_bill_name' : 'name',
Expand All @@ -48,7 +48,7 @@ var app = {
// 'mp_bill_mobile_edit_disabled': true, // Optional, explicitly force disable billing mobile edit.
// 'mp_bill_description_edit_disabled': true, // Optional, explicitly force disable billing description edit.
// 'mp_language': 'EN', // Optional, EN, MS, VI, TH, FIL, MY, KM, ID, ZH.
// 'mp_dev_mode': true // Optional, enable for online sandbox testing.
//'mp_dev_mode': true // Optional, enable for online sandbox testing.
};

var molpayCallback = function (transactionResult) {
Expand Down

0 comments on commit 06f9a81

Please sign in to comment.