From e054cef4eef7ba232b0a605d60e75e4cac82d96d Mon Sep 17 00:00:00 2001 From: Clement Wong Date: Mon, 18 Jun 2018 10:32:38 +0800 Subject: [PATCH] Release 3.20.1 --- molpay.js | 6 +----- package.json | 2 +- plugin.xml | 5 +---- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/molpay.js b/molpay.js index 088cec0..97bc366 100644 --- a/molpay.js +++ b/molpay.js @@ -1,5 +1 @@ -<<<<<<< HEAD -var _0x4235=['\x22msgType\x22:\x22B4\x22','\x22msgType\x22:\x22C6\x22','style','hidden','position','width','0px','visibility','absolute','100%','=0x0;_0x102909--)this[_0x102909]&&this[_0x102909][_0x5423('0x1')]&&this[_0x102909][_0x5423('0x1')][_0x5423('0x2')](this[_0x102909]);};var isInternalDebugging=!0x1,moduleId=_0x5423('0x6'),wrapperVersion='0',molpaySdkUrl=_0x5423('0x7'),mpopenmolpaywindow=_0x5423('0x8'),mptransactionresults=_0x5423('0x9'),mprunscriptonpopup='mprunscriptonpopup://',mpcloseallwindows='mpcloseallwindows://',mppinstructioncapture=_0x5423('0xa'),molpayresulturl=_0x5423('0xb'),molpaynbepayurl='MOLPay/nbepay.php',b4results=_0x5423('0xc'),c6results=_0x5423('0xd'),molpayPaymentDetails,transactionResultCallback,molpayDiv,mainUiFrame,bankUiWindow,molpayTransactionRequestFrame,isClosingMolpay=!0x1,hideFrame=function(_0xd183ca){_0xd183ca[_0x5423('0xe')]['visibility']=_0x5423('0xf'),_0xd183ca[_0x5423('0xe')][_0x5423('0x10')]='absolute',_0xd183ca[_0x5423('0xe')][_0x5423('0x11')]=_0x5423('0x12'),_0xd183ca['style']['height']=_0x5423('0x12');},showFrame=function(_0xa6e2da){_0xa6e2da['style'][_0x5423('0x13')]='visible',_0xa6e2da['style'][_0x5423('0x10')]=_0x5423('0x14'),_0xa6e2da[_0x5423('0xe')][_0x5423('0x11')]='100%',_0xa6e2da[_0x5423('0xe')]['height']=_0x5423('0x15');},postMolpayResultHandler=function(_0x31acb1){var _0x372c52=_0x31acb1;if(_0x372c52){var _0xdd26c6=new RegExp(_0x5423('0x16')),_0x244b5f=_0xdd26c6[_0x5423('0x17')](_0x372c52);_0x244b5f&&(_0x372c52=_0x372c52[_0x5423('0x18')](0x0,_0x244b5f['index']));var _0x15e292=function(_0x521e05){var _0x31e6b2,_0x3d3340,_0xd2b1a6=_0x521e05,_0x7f64ac=new RegExp('<','g'),_0x8102cf=new RegExp('<'),_0x4481f1=new RegExp('>'),_0x269935=_0xd2b1a6['match'](_0x7f64ac);if(_0xd2b1a6&&_0x269935&&_0x8102cf[_0x5423('0x17')](_0xd2b1a6)&&_0x4481f1[_0x5423('0x17')](_0xd2b1a6))for(var _0x1409d5=_0x269935[_0x5423('0x5')]-0x1;_0x1409d5>=0x0;_0x1409d5--)_0x31e6b2=_0x8102cf[_0x5423('0x17')](_0xd2b1a6)['index'],_0x3d3340=_0x4481f1[_0x5423('0x17')](_0xd2b1a6)[_0x5423('0x19')],_0xd2b1a6=_0xd2b1a6['substring'](0x0,_0x31e6b2)+''+_0xd2b1a6['substring'](_0x3d3340+0x1);return _0xd2b1a6;};_0x372c52=_0x15e292(_0x372c52);var _0x2b284b,_0x4d8e29;if(_0x2b284b=new RegExp(b4results),_0x2b284b[_0x5423('0x1a')](_0x372c52)&&(_0x4d8e29=JSON[_0x5423('0x1b')](_0x372c52))){var _0x545e62=_0x4d8e29[_0x5423('0x1c')];_0x545e62&&mainUiFrame['contentWindow'][_0x5423('0x1d')](_0x545e62);}}},isBankUiWindowClosedByCloseWindowEvent=!0x1,createBankUiWindow=function(_0x53fa76){var _0x3cdbb1=_0x5423('0x1e')+_0x53fa76;bankUiWindow=window['open'](_0x3cdbb1,_0x5423('0x1f'),_0x5423('0x20'));var _0x422e0e=function(_0x4cf43d){isBankUiWindowClosedByCloseWindowEvent||mainUiFrame['contentWindow']['transactionRequest'](),bankUiWindow[_0x5423('0x21')](_0x5423('0x22'),_0x422e0e);};bankUiWindow[_0x5423('0x23')]('exit',_0x422e0e);var _0x134568=function(_0x10c3ce){var _0x276ee9;_0x276ee9=new RegExp(molpaynbepayurl),_0x10c3ce&&_0x276ee9['test'](_0x10c3ce[_0x5423('0x24')])&&(bankUiWindow[_0x5423('0x25')]({'code':_0x5423('0x26')},function(_0x4c6837){}),bankUiWindow[_0x5423('0x25')]({'code':_0x5423('0x27')},function(_0x254a8e){}));};bankUiWindow[_0x5423('0x23')](_0x5423('0x28'),_0x134568);var _0x1cf95a=function(_0x2c543d){var _0x3ae0a9;if(mainUiFrame[_0x5423('0x29')]['nativeWebRequestUrlUpdates']({'requestPath':_0x2c543d['url']}),_0x3ae0a9=new RegExp(molpaynbepayurl),_0x2c543d&&_0x3ae0a9['test'](_0x2c543d[_0x5423('0x24')]))var _0x1cbda7=0xa,_0x14a6ab=0x0,_0x59816d=setInterval(function(){_0x2c45d6();},0x3e8),_0x2c45d6=function(){_0x14a6ab++,_0x14a6ab>_0x1cbda7?clearInterval(_0x59816d):bankUiWindow[_0x5423('0x25')]({'code':'document.body.innerHTML'},function(_0x2a4a5e){var _0x5e391a=_0x2a4a5e[0x0],_0x115ba5=new RegExp(b4results);_0x115ba5[_0x5423('0x1a')](_0x5e391a)&&(postMolpayResultHandler(_0x5e391a),bankUiWindow[_0x5423('0x21')](_0x5423('0x2a'),_0x1cf95a),bankUiWindow['close'](),clearInterval(_0x59816d));});};};bankUiWindow[_0x5423('0x23')](_0x5423('0x2a'),_0x1cf95a);},inAppCallback=function(_0x271ebf){function _0x31ab8b(){window[_0x5423('0x2b')][_0x5423('0x2c')]['showWithOptions']({'message':_0x5423('0x2d'),'duration':0x3e8,'position':_0x5423('0x2e')});}function _0x2007bf(){window[_0x5423('0x2b')][_0x5423('0x2c')][_0x5423('0x2f')]({'message':_0x5423('0x30'),'duration':0x3e8,'position':_0x5423('0x2e')});}function _0x1e24f7(){var _0x271ebf=cordova['plugins']['permissions'];_0x2007bf();var _0x1a14d7=function(){_0x2007bf();};_0x271ebf[_0x5423('0x31')](_0x271ebf[_0x5423('0x32')],function(_0x3caa65){_0x3caa65['hasPermission']?_0x4c4b2f():_0x1a14d7();},_0x1a14d7);}var _0x187953,_0x316cd7;if(_0x271ebf&&_0x271ebf['indexOf'](mpopenmolpaywindow)>-0x1)_0x316cd7=new RegExp(mpopenmolpaywindow,'g'),_0x187953=_0x271ebf[_0x5423('0x33')](_0x316cd7,''),_0x187953&&_0x187953[_0x5423('0x5')]>0x0&&createBankUiWindow(_0x187953);else if(_0x271ebf&&_0x271ebf[_0x5423('0x34')](mpcloseallwindows)>-0x1)isBankUiWindowClosedByCloseWindowEvent=!0x0,bankUiWindow['close']();else if(_0x271ebf&&_0x271ebf['indexOf'](mptransactionresults)>-0x1){if(_0x316cd7=new RegExp(mptransactionresults,'g'),_0x187953=_0x271ebf['replace'](_0x316cd7,''),_0x187953&&_0x187953[_0x5423('0x5')]>0x0){var _0x2f7e90=window[_0x5423('0x35')](_0x187953),_0x5f0c29=JSON[_0x5423('0x36')](JSON[_0x5423('0x1b')](_0x2f7e90));transactionResultCallback(_0x5f0c29),isClosingMolpay&&(molpayDiv[_0x5423('0x37')]='',isClosingMolpay=!0x1),molpayTransactionRequestFrame&&molpayTransactionRequestFrame[_0x5423('0x4')]();}}else if(_0x271ebf&&_0x271ebf[_0x5423('0x34')](mppinstructioncapture)>-0x1){_0x316cd7=new RegExp(mppinstructioncapture,'g'),_0x187953=_0x271ebf[_0x5423('0x33')](_0x316cd7,'');var _0x5783b2=JSON[_0x5423('0x1b')](atob(_0x187953)),_0x2757b4={'data':_0x5783b2[_0x5423('0x38')],'prefix':_0x5783b2[_0x5423('0x39')],'format':'PNG','quality':0x64,'mediaScanner':!0x0};window[_0x5423('0x3a')]['saveBase64Image'](_0x2757b4,function(_0x1816b5){_0x31ab8b();},_0x1e24f7);var _0x4c4b2f=function(){window[_0x5423('0x3a')][_0x5423('0x3b')](_0x2757b4,function(_0x4680d2){_0x31ab8b();},function(_0x51f18f){_0x2007bf();});};}if(_0x271ebf&&_0x271ebf[_0x5423('0x34')](mprunscriptonpopup)>-0x1&&(_0x316cd7=new RegExp(mprunscriptonpopup,'g'),_0x187953=_0x271ebf[_0x5423('0x33')](_0x316cd7,''),_0x187953&&_0x187953[_0x5423('0x5')]>0x0)){var _0x37794e=window[_0x5423('0x35')](_0x187953);bankUiWindow[_0x5423('0x25')]({'code':_0x37794e},function(_0x127072){});}},molpayCredentialsRequestFrame,testMerchantCredentialsCallback,onTestMerchantCredentialsDone=function(_0x1617a2,_0xec11ab){testMerchantCredentialsCallback(_0x1617a2,_0xec11ab),isClosingMolpay&&(molpayDiv[_0x5423('0x37')]='',isClosingMolpay=!0x1),molpayCredentialsRequestFrame&&molpayCredentialsRequestFrame['remove']();},molpayChannelsRequestFrame,testMerchantChannelsCallback,onTestMerchantChannelsDone=function(_0x5672e7,_0x4a6b5d){testMerchantChannelsCallback&&testMerchantChannelsCallback(_0x5672e7,_0x4a6b5d),isClosingMolpay&&(molpayDiv[_0x5423('0x37')]='',isClosingMolpay=!0x1),molpayChannelsRequestFrame&&molpayChannelsRequestFrame['remove']();},exec=require(_0x5423('0x3c'));MOLPay[_0x5423('0x3')]['startMolpay']=function(_0x29e3e6,_0x5f22a3){isClosingMolpay=!0x1,isBankUiWindowClosedByCloseWindowEvent=!0x1;try{molpayPaymentDetails=JSON[_0x5423('0x1b')](_0x29e3e6);}catch(_0x2ecfa4){molpayPaymentDetails=_0x29e3e6;}molpayPaymentDetails['module_id']=moduleId,molpayPaymentDetails['wrapper_version']=wrapperVersion,transactionResultCallback=_0x5f22a3,molpayDiv=document[_0x5423('0x3d')](_0x5423('0x3e')),molpayDiv['style'][_0x5423('0x11')]='100%',molpayDiv[_0x5423('0xe')][_0x5423('0x3f')]=_0x5423('0x12'),molpayDiv['style'][_0x5423('0x40')]=_0x5423('0x12'),mainUiFrame=document['createElement']('iframe');var _0x166327=function(_0x347c5f){mainUiFrame[_0x5423('0x29')][_0x5423('0x41')](JSON[_0x5423('0x36')](molpayPaymentDetails),inAppCallback),mainUiFrame[_0x5423('0x21')](_0x5423('0x42'),_0x166327);};mainUiFrame[_0x5423('0xe')][_0x5423('0x40')]='0px',mainUiFrame[_0x5423('0xe')]['padding']=_0x5423('0x12'),mainUiFrame['style']['width']=_0x5423('0x15'),mainUiFrame[_0x5423('0xe')]['height']='100%',mainUiFrame['id']=_0x5423('0x43'),mainUiFrame[_0x5423('0x44')]=_0x5423('0x45'),mainUiFrame[_0x5423('0x46')]('src',molpaySdkUrl),molpayDiv[_0x5423('0x47')](mainUiFrame),mainUiFrame['addEventListener'](_0x5423('0x42'),_0x166327);},MOLPay['prototype']['transactionRequest']=function(_0x293e36,_0x4e37ce){try{molpayPaymentDetails=JSON['parse'](_0x293e36);}catch(_0x514e75){molpayPaymentDetails=_0x293e36;}molpayPaymentDetails['module_id']=moduleId,molpayPaymentDetails[_0x5423('0x48')]=wrapperVersion,transactionResultCallback=_0x4e37ce,molpayTransactionRequestFrame=document['createElement'](_0x5423('0x49'));var _0x285bd7=function(_0x2d3de5){molpayTransactionRequestFrame['contentWindow'][_0x5423('0x41')](molpayPaymentDetails,inAppCallback),molpayTransactionRequestFrame[_0x5423('0x21')]('load',_0x285bd7);};molpayTransactionRequestFrame['id']=_0x5423('0x4a'),molpayTransactionRequestFrame[_0x5423('0x44')]='always',molpayTransactionRequestFrame[_0x5423('0x46')](_0x5423('0x4b'),molpaySdkUrl),hideFrame(molpayTransactionRequestFrame),document['body'][_0x5423('0x47')](molpayTransactionRequestFrame),molpayTransactionRequestFrame['addEventListener']('load',_0x285bd7);},MOLPay[_0x5423('0x3')][_0x5423('0x4c')]=function(){mainUiFrame['contentWindow'][_0x5423('0x4d')]();},MOLPay['prototype'][_0x5423('0x4e')]=function(_0x3fbaec,_0x1dc3e9){_0x1dc3e9&&(testMerchantCredentialsCallback=_0x1dc3e9),molpayCredentialsRequestFrame=document[_0x5423('0x4f')](_0x5423('0x49'));var _0x15330f=function(_0x4c6bd7){molpayCredentialsRequestFrame[_0x5423('0x29')][_0x5423('0x4e')](_0x3fbaec,onTestMerchantCredentialsDone),molpayCredentialsRequestFrame[_0x5423('0x21')](_0x5423('0x42'),_0x15330f);};molpayCredentialsRequestFrame['allowScriptAccess']='always',molpayCredentialsRequestFrame[_0x5423('0x46')]('src',molpaySdkUrl),hideFrame(molpayCredentialsRequestFrame),document[_0x5423('0x50')][_0x5423('0x47')](molpayCredentialsRequestFrame),molpayCredentialsRequestFrame[_0x5423('0x23')](_0x5423('0x42'),_0x15330f);},MOLPay[_0x5423('0x3')][_0x5423('0x51')]=function(_0x595cff,_0x3ee60a){_0x3ee60a&&(testMerchantChannelsCallback=_0x3ee60a),molpayChannelsRequestFrame=document['createElement'](_0x5423('0x49'));var _0x393692=function(_0x572175){molpayChannelsRequestFrame['contentWindow'][_0x5423('0x51')](_0x595cff,onTestMerchantChannelsDone),molpayChannelsRequestFrame[_0x5423('0x21')](_0x5423('0x42'),_0x393692);};molpayChannelsRequestFrame[_0x5423('0x44')]=_0x5423('0x45'),molpayChannelsRequestFrame[_0x5423('0x46')](_0x5423('0x4b'),molpaySdkUrl),hideFrame(molpayChannelsRequestFrame),document['body'][_0x5423('0x47')](molpayChannelsRequestFrame),molpayChannelsRequestFrame[_0x5423('0x23')]('load',_0x393692);};var molpay=new MOLPay();module['exports']=molpay; -======= -var _0x818b=['toast','showWithOptions','bottom','requestPermission','WRITE_EXTERNAL_STORAGE','hasPermission','indexOf','replace','atob','innerHTML','base64ImageUrlData','filename','saveBase64Image','cordova/exec','startMolpay','module_id','wrapper_version','getElementById','molpay','padding','border','createElement','iframe','updateSdkData','load','mainUiFrame','allowScriptAccess','always','setAttribute','src','transactionRequest','body','closeMolpay','closemolpay','testMerchantCredentials','appendChild','testMerchantChannels','exports','open','InAppBrowser','prototype','remove','removeChild','length','parentElement','molpay-mobile-xdk-cordova','mptransactionresults://','mprunscriptonpopup://','mpcloseallwindows://','mppinstructioncapture://','MOLPay/result.php','MOLPay/nbepay.php','\x22msgType\x22:\x22B4\x22','\x22msgType\x22:\x22C6\x22','style','visibility','hidden','position','absolute','width','0px','height','visible','100%','=0x0;_0xa1aca4--)this[_0xa1aca4]&&this[_0xa1aca4][_0xb818('0x6')]&&this[_0xa1aca4][_0xb818('0x6')][_0xb818('0x4')](this[_0xa1aca4]);};var isInternalDebugging=!0x1,moduleId=_0xb818('0x7'),wrapperVersion='3',molpaySdkUrl='molpay-mobile-xdk-www/index.html',mpopenmolpaywindow='mpopenmolpaywindow://',mptransactionresults=_0xb818('0x8'),mprunscriptonpopup=_0xb818('0x9'),mpcloseallwindows=_0xb818('0xa'),mppinstructioncapture=_0xb818('0xb'),molpayresulturl=_0xb818('0xc'),molpaynbepayurl=_0xb818('0xd'),b4results=_0xb818('0xe'),c6results=_0xb818('0xf'),molpayPaymentDetails,transactionResultCallback,molpayDiv,mainUiFrame,bankUiWindow,molpayTransactionRequestFrame,isClosingMolpay=!0x1,hideFrame=function(_0x1e65e1){_0x1e65e1[_0xb818('0x10')][_0xb818('0x11')]=_0xb818('0x12'),_0x1e65e1[_0xb818('0x10')][_0xb818('0x13')]=_0xb818('0x14'),_0x1e65e1['style'][_0xb818('0x15')]=_0xb818('0x16'),_0x1e65e1[_0xb818('0x10')][_0xb818('0x17')]=_0xb818('0x16');},showFrame=function(_0x28814b){_0x28814b[_0xb818('0x10')][_0xb818('0x11')]=_0xb818('0x18'),_0x28814b[_0xb818('0x10')][_0xb818('0x13')]=_0xb818('0x14'),_0x28814b[_0xb818('0x10')]['width']=_0xb818('0x19'),_0x28814b['style'][_0xb818('0x17')]='100%';},postMolpayResultHandler=function(_0x281f7c){var _0x348891=_0x281f7c;if(_0x348891){var _0x294224=new RegExp(_0xb818('0x1a')),_0x171db2=_0x294224[_0xb818('0x1b')](_0x348891);_0x171db2&&(_0x348891=_0x348891['slice'](0x0,_0x171db2[_0xb818('0x1c')]));var _0x23a63a=function(_0x5d76d1){var _0x15ecde,_0x1fe302,_0x2d0799=_0x5d76d1,_0x3d2a51=new RegExp('<','g'),_0x1160c3=new RegExp('<'),_0x270f4d=new RegExp('>'),_0x7bba17=_0x2d0799[_0xb818('0x1d')](_0x3d2a51);if(_0x2d0799&&_0x7bba17&&_0x1160c3[_0xb818('0x1b')](_0x2d0799)&&_0x270f4d[_0xb818('0x1b')](_0x2d0799))for(var _0x2258a5=_0x7bba17[_0xb818('0x5')]-0x1;_0x2258a5>=0x0;_0x2258a5--)_0x15ecde=_0x1160c3[_0xb818('0x1b')](_0x2d0799)[_0xb818('0x1c')],_0x1fe302=_0x270f4d[_0xb818('0x1b')](_0x2d0799)[_0xb818('0x1c')],_0x2d0799=_0x2d0799['substring'](0x0,_0x15ecde)+''+_0x2d0799['substring'](_0x1fe302+0x1);return _0x2d0799;};_0x348891=_0x23a63a(_0x348891);var _0x4d6407,_0x3d3200;if(_0x4d6407=new RegExp(b4results),_0x4d6407[_0xb818('0x1e')](_0x348891)&&(_0x3d3200=JSON[_0xb818('0x1f')](_0x348891))){var _0x325f54=_0x3d3200[_0xb818('0x20')];_0x325f54&&mainUiFrame[_0xb818('0x21')]['transactionRequestWithTransactionId'](_0x325f54);}}},isBankUiWindowClosedByCloseWindowEvent=!0x1,createBankUiWindow=function(_0x29fe9a){var _0x1fd6b2='data:text/html;base64,'+_0x29fe9a;bankUiWindow=window[_0xb818('0x0')](_0x1fd6b2,_0xb818('0x22'),_0xb818('0x23'));var _0x253268=function(_0x12a1cb){isBankUiWindowClosedByCloseWindowEvent||mainUiFrame[_0xb818('0x21')]['transactionRequest'](),bankUiWindow[_0xb818('0x24')]('exit',_0x253268);};bankUiWindow[_0xb818('0x25')](_0xb818('0x26'),_0x253268);var _0x2b5926=function(_0x56e81f){var _0x729d0d;_0x729d0d=new RegExp(molpaynbepayurl),_0x56e81f&&_0x729d0d['test'](_0x56e81f[_0xb818('0x27')])&&(bankUiWindow[_0xb818('0x28')]({'code':_0xb818('0x29')},function(_0x136c24){}),bankUiWindow[_0xb818('0x28')]({'code':'window.close\x20=\x20function\x20()\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20window.location.assign(window.location);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};'},function(_0x4bac2e){}));};bankUiWindow[_0xb818('0x25')]('loadstop',_0x2b5926);var _0x23246e=function(_0x5ae4a1){var _0x4ff115;if(mainUiFrame[_0xb818('0x21')][_0xb818('0x2a')]({'requestPath':_0x5ae4a1[_0xb818('0x27')]}),_0x4ff115=new RegExp(molpaynbepayurl),_0x5ae4a1&&_0x4ff115[_0xb818('0x1e')](_0x5ae4a1[_0xb818('0x27')]))var _0x40bcf1=0xa,_0x5e4087=0x0,_0x14794c=setInterval(function(){_0x30f31d();},0x3e8),_0x30f31d=function(){_0x5e4087++,_0x5e4087>_0x40bcf1?clearInterval(_0x14794c):bankUiWindow['executeScript']({'code':'document.body.innerHTML'},function(_0x319bbf){var _0x58c9bb=_0x319bbf[0x0],_0x4384ef=new RegExp(b4results);_0x4384ef[_0xb818('0x1e')](_0x58c9bb)&&(postMolpayResultHandler(_0x58c9bb),bankUiWindow['removeEventListener'](_0xb818('0x2b'),_0x23246e),bankUiWindow[_0xb818('0x2c')](),clearInterval(_0x14794c));});};};bankUiWindow[_0xb818('0x25')](_0xb818('0x2b'),_0x23246e);},inAppCallback=function(_0x4ff1a6){function _0x2bf682(){window[_0xb818('0x2d')][_0xb818('0x2e')][_0xb818('0x2f')]({'message':'Image\x20saved\x20success!','duration':0x3e8,'position':_0xb818('0x30')});}function _0x40a3a4(){window[_0xb818('0x2d')][_0xb818('0x2e')]['showWithOptions']({'message':'Image\x20saved\x20fail!','duration':0x3e8,'position':_0xb818('0x30')});}function _0x3cccc2(){var _0x4ff1a6=cordova['plugins']['permissions'];_0x40a3a4();var _0x2fef0e=function(){_0x40a3a4();};_0x4ff1a6[_0xb818('0x31')](_0x4ff1a6[_0xb818('0x32')],function(_0x17e81c){_0x17e81c[_0xb818('0x33')]?_0x3bebe1():_0x2fef0e();},_0x2fef0e);}var _0x4d00e4,_0x3690b2;if(_0x4ff1a6&&_0x4ff1a6[_0xb818('0x34')](mpopenmolpaywindow)>-0x1)_0x3690b2=new RegExp(mpopenmolpaywindow,'g'),_0x4d00e4=_0x4ff1a6[_0xb818('0x35')](_0x3690b2,''),_0x4d00e4&&_0x4d00e4[_0xb818('0x5')]>0x0&&createBankUiWindow(_0x4d00e4);else if(_0x4ff1a6&&_0x4ff1a6['indexOf'](mpcloseallwindows)>-0x1)isBankUiWindowClosedByCloseWindowEvent=!0x0,bankUiWindow[_0xb818('0x2c')]();else if(_0x4ff1a6&&_0x4ff1a6[_0xb818('0x34')](mptransactionresults)>-0x1){if(_0x3690b2=new RegExp(mptransactionresults,'g'),_0x4d00e4=_0x4ff1a6[_0xb818('0x35')](_0x3690b2,''),_0x4d00e4&&_0x4d00e4[_0xb818('0x5')]>0x0){var _0x25bc3c=window[_0xb818('0x36')](_0x4d00e4),_0x5c78e8=JSON['stringify'](JSON[_0xb818('0x1f')](_0x25bc3c));transactionResultCallback(_0x5c78e8),isClosingMolpay&&(molpayDiv[_0xb818('0x37')]='',isClosingMolpay=!0x1),molpayTransactionRequestFrame&&molpayTransactionRequestFrame[_0xb818('0x3')]();}}else if(_0x4ff1a6&&_0x4ff1a6[_0xb818('0x34')](mppinstructioncapture)>-0x1){_0x3690b2=new RegExp(mppinstructioncapture,'g'),_0x4d00e4=_0x4ff1a6[_0xb818('0x35')](_0x3690b2,'');var _0x22a5c9=JSON[_0xb818('0x1f')](atob(_0x4d00e4)),_0x530cfe={'data':_0x22a5c9[_0xb818('0x38')],'prefix':_0x22a5c9[_0xb818('0x39')],'format':'PNG','quality':0x64,'mediaScanner':!0x0};window['imageSaver'][_0xb818('0x3a')](_0x530cfe,function(_0x507bfb){_0x2bf682();},_0x3cccc2);var _0x3bebe1=function(){window['imageSaver'][_0xb818('0x3a')](_0x530cfe,function(_0x5250cb){_0x2bf682();},function(_0x1ca08a){_0x40a3a4();});};}if(_0x4ff1a6&&_0x4ff1a6[_0xb818('0x34')](mprunscriptonpopup)>-0x1&&(_0x3690b2=new RegExp(mprunscriptonpopup,'g'),_0x4d00e4=_0x4ff1a6[_0xb818('0x35')](_0x3690b2,''),_0x4d00e4&&_0x4d00e4['length']>0x0)){var _0x2d1258=window[_0xb818('0x36')](_0x4d00e4);bankUiWindow[_0xb818('0x28')]({'code':_0x2d1258},function(_0x34142b){});}},molpayCredentialsRequestFrame,testMerchantCredentialsCallback,onTestMerchantCredentialsDone=function(_0x4d3d8a,_0x2d4053){testMerchantCredentialsCallback(_0x4d3d8a,_0x2d4053),isClosingMolpay&&(molpayDiv['innerHTML']='',isClosingMolpay=!0x1),molpayCredentialsRequestFrame&&molpayCredentialsRequestFrame[_0xb818('0x3')]();},molpayChannelsRequestFrame,testMerchantChannelsCallback,onTestMerchantChannelsDone=function(_0xee5a6f,_0x2e9b57){testMerchantChannelsCallback&&testMerchantChannelsCallback(_0xee5a6f,_0x2e9b57),isClosingMolpay&&(molpayDiv[_0xb818('0x37')]='',isClosingMolpay=!0x1),molpayChannelsRequestFrame&&molpayChannelsRequestFrame[_0xb818('0x3')]();},exec=require(_0xb818('0x3b'));MOLPay[_0xb818('0x2')][_0xb818('0x3c')]=function(_0x1b877d,_0x302774){isClosingMolpay=!0x1,isBankUiWindowClosedByCloseWindowEvent=!0x1;try{molpayPaymentDetails=JSON[_0xb818('0x1f')](_0x1b877d);}catch(_0x1b5fd2){molpayPaymentDetails=_0x1b877d;}molpayPaymentDetails[_0xb818('0x3d')]=moduleId,molpayPaymentDetails[_0xb818('0x3e')]=wrapperVersion,transactionResultCallback=_0x302774,molpayDiv=document[_0xb818('0x3f')](_0xb818('0x40')),molpayDiv['style']['width']=_0xb818('0x19'),molpayDiv['style'][_0xb818('0x41')]=_0xb818('0x16'),molpayDiv['style'][_0xb818('0x42')]=_0xb818('0x16'),mainUiFrame=document[_0xb818('0x43')](_0xb818('0x44'));var _0x7d1a6e=function(_0x8ab40c){mainUiFrame['contentWindow'][_0xb818('0x45')](JSON['stringify'](molpayPaymentDetails),inAppCallback),mainUiFrame['removeEventListener'](_0xb818('0x46'),_0x7d1a6e);};mainUiFrame['style'][_0xb818('0x42')]='0px',mainUiFrame[_0xb818('0x10')][_0xb818('0x41')]=_0xb818('0x16'),mainUiFrame[_0xb818('0x10')]['width']=_0xb818('0x19'),mainUiFrame[_0xb818('0x10')][_0xb818('0x17')]=_0xb818('0x19'),mainUiFrame['id']=_0xb818('0x47'),mainUiFrame[_0xb818('0x48')]=_0xb818('0x49'),mainUiFrame[_0xb818('0x4a')](_0xb818('0x4b'),molpaySdkUrl),molpayDiv['appendChild'](mainUiFrame),mainUiFrame[_0xb818('0x25')](_0xb818('0x46'),_0x7d1a6e);},MOLPay['prototype'][_0xb818('0x4c')]=function(_0x4c4e8c,_0x2a7fc3){try{molpayPaymentDetails=JSON['parse'](_0x4c4e8c);}catch(_0x1b3ba7){molpayPaymentDetails=_0x4c4e8c;}molpayPaymentDetails[_0xb818('0x3d')]=moduleId,molpayPaymentDetails[_0xb818('0x3e')]=wrapperVersion,transactionResultCallback=_0x2a7fc3,molpayTransactionRequestFrame=document['createElement']('iframe');var _0x4031be=function(_0x2cb048){molpayTransactionRequestFrame[_0xb818('0x21')][_0xb818('0x45')](molpayPaymentDetails,inAppCallback),molpayTransactionRequestFrame[_0xb818('0x24')]('load',_0x4031be);};molpayTransactionRequestFrame['id']='molpayTransactionRequestFrame',molpayTransactionRequestFrame[_0xb818('0x48')]='always',molpayTransactionRequestFrame[_0xb818('0x4a')](_0xb818('0x4b'),molpaySdkUrl),hideFrame(molpayTransactionRequestFrame),document[_0xb818('0x4d')]['appendChild'](molpayTransactionRequestFrame),molpayTransactionRequestFrame[_0xb818('0x25')]('load',_0x4031be);},MOLPay[_0xb818('0x2')][_0xb818('0x4e')]=function(){mainUiFrame[_0xb818('0x21')][_0xb818('0x4f')]();},MOLPay[_0xb818('0x2')][_0xb818('0x50')]=function(_0x555e43,_0x1458c2){_0x1458c2&&(testMerchantCredentialsCallback=_0x1458c2),molpayCredentialsRequestFrame=document[_0xb818('0x43')](_0xb818('0x44'));var _0x4cb98b=function(_0x4a8416){molpayCredentialsRequestFrame[_0xb818('0x21')][_0xb818('0x50')](_0x555e43,onTestMerchantCredentialsDone),molpayCredentialsRequestFrame['removeEventListener'](_0xb818('0x46'),_0x4cb98b);};molpayCredentialsRequestFrame[_0xb818('0x48')]=_0xb818('0x49'),molpayCredentialsRequestFrame[_0xb818('0x4a')](_0xb818('0x4b'),molpaySdkUrl),hideFrame(molpayCredentialsRequestFrame),document[_0xb818('0x4d')][_0xb818('0x51')](molpayCredentialsRequestFrame),molpayCredentialsRequestFrame[_0xb818('0x25')](_0xb818('0x46'),_0x4cb98b);},MOLPay['prototype']['testMerchantChannels']=function(_0x44ad99,_0x56e61c){_0x56e61c&&(testMerchantChannelsCallback=_0x56e61c),molpayChannelsRequestFrame=document[_0xb818('0x43')](_0xb818('0x44'));var _0x28e3b0=function(_0x5b7083){molpayChannelsRequestFrame[_0xb818('0x21')][_0xb818('0x52')](_0x44ad99,onTestMerchantChannelsDone),molpayChannelsRequestFrame[_0xb818('0x24')](_0xb818('0x46'),_0x28e3b0);};molpayChannelsRequestFrame['allowScriptAccess']=_0xb818('0x49'),molpayChannelsRequestFrame[_0xb818('0x4a')](_0xb818('0x4b'),molpaySdkUrl),hideFrame(molpayChannelsRequestFrame),document[_0xb818('0x4d')][_0xb818('0x51')](molpayChannelsRequestFrame),molpayChannelsRequestFrame['addEventListener'](_0xb818('0x46'),_0x28e3b0);};var molpay=new MOLPay();module[_0xb818('0x53')]=molpay; ->>>>>>> temp +var _0xe19a=['loadstart','toast','showWithOptions','bottom','plugins','Image\x20saved\x20fail!','permissions','requestPermission','WRITE_EXTERNAL_STORAGE','hasPermission','indexOf','replace','close','atob','stringify','base64ImageUrlData','filename','PNG','imageSaver','saveBase64Image','innerHTML','cordova/exec','module_id','wrapper_version','getElementById','padding','border','createElement','iframe','updateSdkData','load','mainUiFrame','allowScriptAccess','always','setAttribute','src','appendChild','molpayTransactionRequestFrame','closemolpay','testMerchantCredentials','body','exports','open','prototype','remove','parentElement','length','removeChild','molpay-mobile-xdk-cordova','mptransactionresults://','mprunscriptonpopup://','mpcloseallwindows://','MOLPay/result.php','\x22msgType\x22:\x22B4\x22','\x22msgType\x22:\x22C6\x22','style','visibility','position','absolute','width','0px','100%','height','=0x0;_0x2e6abb--)this[_0x2e6abb]&&this[_0x2e6abb][_0xae19('0x3')]&&this[_0x2e6abb]['parentElement'][_0xae19('0x5')](this[_0x2e6abb]);};var isInternalDebugging=!0x1,moduleId=_0xae19('0x6'),wrapperVersion='1',molpaySdkUrl='molpay-mobile-xdk-www/index.html',mpopenmolpaywindow='mpopenmolpaywindow://',mptransactionresults=_0xae19('0x7'),mprunscriptonpopup=_0xae19('0x8'),mpcloseallwindows=_0xae19('0x9'),mppinstructioncapture='mppinstructioncapture://',molpayresulturl=_0xae19('0xa'),molpaynbepayurl='MOLPay/nbepay.php',b4results=_0xae19('0xb'),c6results=_0xae19('0xc'),molpayPaymentDetails,transactionResultCallback,molpayDiv,mainUiFrame,bankUiWindow,molpayTransactionRequestFrame,isClosingMolpay=!0x1,hideFrame=function(_0x1c6507){_0x1c6507[_0xae19('0xd')][_0xae19('0xe')]='hidden',_0x1c6507[_0xae19('0xd')][_0xae19('0xf')]=_0xae19('0x10'),_0x1c6507[_0xae19('0xd')][_0xae19('0x11')]=_0xae19('0x12'),_0x1c6507['style']['height']='0px';},showFrame=function(_0x4a2e39){_0x4a2e39[_0xae19('0xd')][_0xae19('0xe')]='visible',_0x4a2e39[_0xae19('0xd')][_0xae19('0xf')]=_0xae19('0x10'),_0x4a2e39[_0xae19('0xd')][_0xae19('0x11')]=_0xae19('0x13'),_0x4a2e39['style'][_0xae19('0x14')]=_0xae19('0x13');},postMolpayResultHandler=function(_0xc15a17){var _0x594809=_0xc15a17;if(_0x594809){var _0x387d2e=new RegExp(_0xae19('0x15')),_0x5edb46=_0x387d2e[_0xae19('0x16')](_0x594809);_0x5edb46&&(_0x594809=_0x594809[_0xae19('0x17')](0x0,_0x5edb46['index']));var _0x2f0236=function(_0xba97d6){var _0x75d2e1,_0x12a9d8,_0x5187a5=_0xba97d6,_0x16874d=new RegExp('<','g'),_0x475ba4=new RegExp('<'),_0x43432f=new RegExp('>'),_0x288f39=_0x5187a5[_0xae19('0x18')](_0x16874d);if(_0x5187a5&&_0x288f39&&_0x475ba4[_0xae19('0x16')](_0x5187a5)&&_0x43432f['exec'](_0x5187a5))for(var _0x4764e0=_0x288f39[_0xae19('0x4')]-0x1;_0x4764e0>=0x0;_0x4764e0--)_0x75d2e1=_0x475ba4[_0xae19('0x16')](_0x5187a5)['index'],_0x12a9d8=_0x43432f[_0xae19('0x16')](_0x5187a5)['index'],_0x5187a5=_0x5187a5[_0xae19('0x19')](0x0,_0x75d2e1)+''+_0x5187a5[_0xae19('0x19')](_0x12a9d8+0x1);return _0x5187a5;};_0x594809=_0x2f0236(_0x594809);var _0x45497e,_0x10d4c6;if(_0x45497e=new RegExp(b4results),_0x45497e['test'](_0x594809)&&(_0x10d4c6=JSON[_0xae19('0x1a')](_0x594809))){var _0x3a40e7=_0x10d4c6[_0xae19('0x1b')];_0x3a40e7&&mainUiFrame['contentWindow'][_0xae19('0x1c')](_0x3a40e7);}}},isBankUiWindowClosedByCloseWindowEvent=!0x1,createBankUiWindow=function(_0x5a7d8e){var _0x191606=_0xae19('0x1d')+_0x5a7d8e;bankUiWindow=window[_0xae19('0x0')](_0x191606,'_blank',_0xae19('0x1e'));var _0x2c8971=function(_0x15836d){isBankUiWindowClosedByCloseWindowEvent||mainUiFrame[_0xae19('0x1f')][_0xae19('0x20')](),bankUiWindow['removeEventListener'](_0xae19('0x21'),_0x2c8971);};bankUiWindow[_0xae19('0x22')](_0xae19('0x21'),_0x2c8971);var _0x1cebed=function(_0x4682e7){var _0x189938;_0x189938=new RegExp(molpaynbepayurl),_0x4682e7&&_0x189938[_0xae19('0x23')](_0x4682e7[_0xae19('0x24')])&&(bankUiWindow['executeScript']({'code':_0xae19('0x25')},function(_0x4b5f19){}),bankUiWindow['executeScript']({'code':_0xae19('0x26')},function(_0x3f0e8a){}));};bankUiWindow[_0xae19('0x22')](_0xae19('0x27'),_0x1cebed);var _0x4b0cb9=function(_0x381f3a){var _0x3db5e1;if(mainUiFrame[_0xae19('0x1f')][_0xae19('0x28')]({'requestPath':_0x381f3a[_0xae19('0x24')]}),_0x3db5e1=new RegExp(molpaynbepayurl),_0x381f3a&&_0x3db5e1[_0xae19('0x23')](_0x381f3a[_0xae19('0x24')]))var _0x46cee8=0xa,_0x9fe1e8=0x0,_0x23859a=setInterval(function(){_0x135235();},0x3e8),_0x135235=function(){_0x9fe1e8++,_0x9fe1e8>_0x46cee8?clearInterval(_0x23859a):bankUiWindow[_0xae19('0x29')]({'code':_0xae19('0x2a')},function(_0x32db01){var _0x547f56=_0x32db01[0x0],_0x5163e5=new RegExp(b4results);_0x5163e5[_0xae19('0x23')](_0x547f56)&&(postMolpayResultHandler(_0x547f56),bankUiWindow[_0xae19('0x2b')]('loadstart',_0x4b0cb9),bankUiWindow['close'](),clearInterval(_0x23859a));});};};bankUiWindow['addEventListener'](_0xae19('0x2c'),_0x4b0cb9);},inAppCallback=function(_0x12c4cb){function _0x31a95c(){window['plugins'][_0xae19('0x2d')][_0xae19('0x2e')]({'message':'Image\x20saved\x20success!','duration':0x3e8,'position':_0xae19('0x2f')});}function _0x221614(){window[_0xae19('0x30')][_0xae19('0x2d')][_0xae19('0x2e')]({'message':_0xae19('0x31'),'duration':0x3e8,'position':_0xae19('0x2f')});}function _0x5a4b67(){var _0x12c4cb=cordova[_0xae19('0x30')][_0xae19('0x32')];_0x221614();var _0x4f293d=function(){_0x221614();};_0x12c4cb[_0xae19('0x33')](_0x12c4cb[_0xae19('0x34')],function(_0x156587){_0x156587[_0xae19('0x35')]?_0x5a5385():_0x4f293d();},_0x4f293d);}var _0x2bc8f8,_0x186de3;if(_0x12c4cb&&_0x12c4cb[_0xae19('0x36')](mpopenmolpaywindow)>-0x1)_0x186de3=new RegExp(mpopenmolpaywindow,'g'),_0x2bc8f8=_0x12c4cb[_0xae19('0x37')](_0x186de3,''),_0x2bc8f8&&_0x2bc8f8[_0xae19('0x4')]>0x0&&createBankUiWindow(_0x2bc8f8);else if(_0x12c4cb&&_0x12c4cb['indexOf'](mpcloseallwindows)>-0x1)isBankUiWindowClosedByCloseWindowEvent=!0x0,bankUiWindow[_0xae19('0x38')]();else if(_0x12c4cb&&_0x12c4cb[_0xae19('0x36')](mptransactionresults)>-0x1){if(_0x186de3=new RegExp(mptransactionresults,'g'),_0x2bc8f8=_0x12c4cb[_0xae19('0x37')](_0x186de3,''),_0x2bc8f8&&_0x2bc8f8['length']>0x0){var _0x289cc5=window[_0xae19('0x39')](_0x2bc8f8),_0x3c693b=JSON[_0xae19('0x3a')](JSON[_0xae19('0x1a')](_0x289cc5));transactionResultCallback(_0x3c693b),isClosingMolpay&&(molpayDiv['innerHTML']='',isClosingMolpay=!0x1),molpayTransactionRequestFrame&&molpayTransactionRequestFrame[_0xae19('0x2')]();}}else if(_0x12c4cb&&_0x12c4cb[_0xae19('0x36')](mppinstructioncapture)>-0x1){_0x186de3=new RegExp(mppinstructioncapture,'g'),_0x2bc8f8=_0x12c4cb[_0xae19('0x37')](_0x186de3,'');var _0x43ffad=JSON[_0xae19('0x1a')](atob(_0x2bc8f8)),_0x2276bc={'data':_0x43ffad[_0xae19('0x3b')],'prefix':_0x43ffad[_0xae19('0x3c')],'format':_0xae19('0x3d'),'quality':0x64,'mediaScanner':!0x0};window[_0xae19('0x3e')]['saveBase64Image'](_0x2276bc,function(_0x4c8c87){_0x31a95c();},_0x5a4b67);var _0x5a5385=function(){window[_0xae19('0x3e')][_0xae19('0x3f')](_0x2276bc,function(_0x40f5cb){_0x31a95c();},function(_0x1cad85){_0x221614();});};}if(_0x12c4cb&&_0x12c4cb[_0xae19('0x36')](mprunscriptonpopup)>-0x1&&(_0x186de3=new RegExp(mprunscriptonpopup,'g'),_0x2bc8f8=_0x12c4cb[_0xae19('0x37')](_0x186de3,''),_0x2bc8f8&&_0x2bc8f8['length']>0x0)){var _0x54190e=window['atob'](_0x2bc8f8);bankUiWindow[_0xae19('0x29')]({'code':_0x54190e},function(_0x2e87db){});}},molpayCredentialsRequestFrame,testMerchantCredentialsCallback,onTestMerchantCredentialsDone=function(_0x29d5f1,_0x26096a){testMerchantCredentialsCallback(_0x29d5f1,_0x26096a),isClosingMolpay&&(molpayDiv[_0xae19('0x40')]='',isClosingMolpay=!0x1),molpayCredentialsRequestFrame&&molpayCredentialsRequestFrame[_0xae19('0x2')]();},molpayChannelsRequestFrame,testMerchantChannelsCallback,onTestMerchantChannelsDone=function(_0x59f514,_0x45fe38){testMerchantChannelsCallback&&testMerchantChannelsCallback(_0x59f514,_0x45fe38),isClosingMolpay&&(molpayDiv[_0xae19('0x40')]='',isClosingMolpay=!0x1),molpayChannelsRequestFrame&&molpayChannelsRequestFrame[_0xae19('0x2')]();},exec=require(_0xae19('0x41'));MOLPay[_0xae19('0x1')]['startMolpay']=function(_0x5c6344,_0x26704b){isClosingMolpay=!0x1,isBankUiWindowClosedByCloseWindowEvent=!0x1;try{molpayPaymentDetails=JSON[_0xae19('0x1a')](_0x5c6344);}catch(_0x48df21){molpayPaymentDetails=_0x5c6344;}molpayPaymentDetails[_0xae19('0x42')]=moduleId,molpayPaymentDetails[_0xae19('0x43')]=wrapperVersion,transactionResultCallback=_0x26704b,molpayDiv=document[_0xae19('0x44')]('molpay'),molpayDiv[_0xae19('0xd')]['width']=_0xae19('0x13'),molpayDiv[_0xae19('0xd')][_0xae19('0x45')]=_0xae19('0x12'),molpayDiv[_0xae19('0xd')][_0xae19('0x46')]=_0xae19('0x12'),mainUiFrame=document[_0xae19('0x47')](_0xae19('0x48'));var _0x34ab52=function(_0x536533){mainUiFrame[_0xae19('0x1f')][_0xae19('0x49')](JSON[_0xae19('0x3a')](molpayPaymentDetails),inAppCallback),mainUiFrame[_0xae19('0x2b')](_0xae19('0x4a'),_0x34ab52);};mainUiFrame['style'][_0xae19('0x46')]=_0xae19('0x12'),mainUiFrame[_0xae19('0xd')][_0xae19('0x45')]='0px',mainUiFrame['style'][_0xae19('0x11')]=_0xae19('0x13'),mainUiFrame[_0xae19('0xd')][_0xae19('0x14')]=_0xae19('0x13'),mainUiFrame['id']=_0xae19('0x4b'),mainUiFrame[_0xae19('0x4c')]=_0xae19('0x4d'),mainUiFrame[_0xae19('0x4e')](_0xae19('0x4f'),molpaySdkUrl),molpayDiv[_0xae19('0x50')](mainUiFrame),mainUiFrame[_0xae19('0x22')](_0xae19('0x4a'),_0x34ab52);},MOLPay['prototype']['transactionRequest']=function(_0x55e0b2,_0x1bdc63){try{molpayPaymentDetails=JSON['parse'](_0x55e0b2);}catch(_0x52340e){molpayPaymentDetails=_0x55e0b2;}molpayPaymentDetails[_0xae19('0x42')]=moduleId,molpayPaymentDetails['wrapper_version']=wrapperVersion,transactionResultCallback=_0x1bdc63,molpayTransactionRequestFrame=document[_0xae19('0x47')](_0xae19('0x48'));var _0x2c13b8=function(_0x454229){molpayTransactionRequestFrame[_0xae19('0x1f')][_0xae19('0x49')](molpayPaymentDetails,inAppCallback),molpayTransactionRequestFrame['removeEventListener'](_0xae19('0x4a'),_0x2c13b8);};molpayTransactionRequestFrame['id']=_0xae19('0x51'),molpayTransactionRequestFrame[_0xae19('0x4c')]=_0xae19('0x4d'),molpayTransactionRequestFrame[_0xae19('0x4e')](_0xae19('0x4f'),molpaySdkUrl),hideFrame(molpayTransactionRequestFrame),document['body'][_0xae19('0x50')](molpayTransactionRequestFrame),molpayTransactionRequestFrame[_0xae19('0x22')](_0xae19('0x4a'),_0x2c13b8);},MOLPay[_0xae19('0x1')]['closeMolpay']=function(){mainUiFrame[_0xae19('0x1f')][_0xae19('0x52')]();},MOLPay[_0xae19('0x1')][_0xae19('0x53')]=function(_0x3ae7be,_0x48cd6d){_0x48cd6d&&(testMerchantCredentialsCallback=_0x48cd6d),molpayCredentialsRequestFrame=document[_0xae19('0x47')](_0xae19('0x48'));var _0xd75ac2=function(_0x4b8684){molpayCredentialsRequestFrame['contentWindow']['testMerchantCredentials'](_0x3ae7be,onTestMerchantCredentialsDone),molpayCredentialsRequestFrame['removeEventListener'](_0xae19('0x4a'),_0xd75ac2);};molpayCredentialsRequestFrame[_0xae19('0x4c')]='always',molpayCredentialsRequestFrame[_0xae19('0x4e')]('src',molpaySdkUrl),hideFrame(molpayCredentialsRequestFrame),document[_0xae19('0x54')]['appendChild'](molpayCredentialsRequestFrame),molpayCredentialsRequestFrame[_0xae19('0x22')](_0xae19('0x4a'),_0xd75ac2);},MOLPay[_0xae19('0x1')]['testMerchantChannels']=function(_0x1c732a,_0x7df3ec){_0x7df3ec&&(testMerchantChannelsCallback=_0x7df3ec),molpayChannelsRequestFrame=document[_0xae19('0x47')](_0xae19('0x48'));var _0x1a20d0=function(_0x306460){molpayChannelsRequestFrame['contentWindow']['testMerchantChannels'](_0x1c732a,onTestMerchantChannelsDone),molpayChannelsRequestFrame[_0xae19('0x2b')](_0xae19('0x4a'),_0x1a20d0);};molpayChannelsRequestFrame['allowScriptAccess']=_0xae19('0x4d'),molpayChannelsRequestFrame['setAttribute']('src',molpaySdkUrl),hideFrame(molpayChannelsRequestFrame),document[_0xae19('0x54')][_0xae19('0x50')](molpayChannelsRequestFrame),molpayChannelsRequestFrame[_0xae19('0x22')]('load',_0x1a20d0);};var molpay=new MOLPay();module[_0xae19('0x55')]=molpay; \ No newline at end of file diff --git a/package.json b/package.json index 34bf55d..bd656c0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "molpay-mobile-xdk-cordova", - "version": "3.20.0", + "version": "3.20.1", "description": "MOLPay official in-app payment module for Cordova", "cordova": { "id": "molpay-mobile-xdk-cordova", diff --git a/plugin.xml b/plugin.xml index 44259e9..78a0fd9 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,7 +1,7 @@ + version="3.20.1"> MOLPay XDK for Cordova MOLPay official in-app payment module for Cordova MOLPay Mobile Division @@ -27,8 +27,5 @@ Payment images - - Payment images -