Closed JohnnySheffield closed 8 years ago
Is it maybe a typo in status.WaitingForCard
where status should have capital S?
Unfortunately, nope:
HandPointPlugin.java:481: error: cannot find symbol
if (statusInfo.getStatus() == Status.WaitingForCard) {
symbol: variable Status
location: class HandPointPlugin
I'm working on a Cordova/Ionic plugin, so it might be some Cordova issue, but this works: transactionResult.getFinStatus() == FinancialStatus.AUTHORISED
, so it seems it's on the HandPoint side?
I'm working around with statusInfo.getMessage() and then comparing strings, so it's not a show stopper, but wanted to report nevertheless.
Can you try StatusInfo.Status.WaitingForCard
?
:100: :+1:
StatusInfo.Status.WaitingForCard
works!
You guys are superb, thanks so much! Closing.
When i try something like this:
it results with the following error:
i tried with
Status.WaitingForCard
,Status.WAITINGFORCARD
- no luck.Not sure am i doing something wrong - but similar works flawlessly when trying to access financial status eg.: