RazerMS / Mobile-XDK-RazerMS_React_Native

Razer Merchant Services mobile payment for React Native
https://merchant.razer.com/v3/
10 stars 13 forks source link

Runtime errors on both platforms for version 0.27.1 and RN 0.60.5 #29

Closed hpelitebook745G2 closed 5 years ago

hpelitebook745G2 commented 5 years ago

With my project RN version 0.60.5 as of this writing, I already compiled successfully by upgrading to molpay-mobile-xdk-reactnative-beta@0.27.1 from this issue.

However, after following the setup instructions I got a different runtime errors for both platforms on runtime.

For Android:

{"Error":"Communication Error, please check internet connection, username, or password"}
Screen Shot 2019-09-25 at 11 11 00 PM

For iOS:

Cannot read property 'setPaymentDetails' of undefined
Screen Shot 2019-09-25 at 11 02 41 PM

Have I missed anything?

LeowWH commented 5 years ago

Hi @hpelitebook745G2,

For Android:

You will need a valid merchant credentials or a sandbox credentials to use our plugin, you may send your request to sales-sa@razer.com or support-sa@razer.com to ask for one to be created for you thanks.

For iOS:

We cannot reproduce the issue even using RN 0.60.5 project. You may try to init a new plain project and try the auto link installation step. You may also wanna try to uninstall and clean all the manual installation and reinstall our plugin in your own project, then follow the auto link installation step again thanks.

hpelitebook745G2 commented 5 years ago

It works now, thanks!