Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please provide esversion: 6 code. #33

Open
Thumati-Arjun opened this issue Mar 14, 2021 · 3 comments
Open

Please provide esversion: 6 code. #33

Thumati-Arjun opened this issue Mar 14, 2021 · 3 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@Thumati-Arjun
Copy link

Hello Hatem,

I'm using this plugin for outsystems, where the the esversion: 6 is only used,
I tried to change the script to esversion: 6 but it all fails and throws an error for all the parameter passing functions (i.e AppleWallet.checkCardEligibilityBySuffix is not a function. (In 'AppleWallet.checkCardEligibilityBySuffix(suffix, success, fail)', 'AppleWallet.checkCardEligibilityBySuffix' is undefined))

It will be helpful if you provide me the esversion: 6 code.

Thank you!

@tomavic
Copy link
Owner

tomavic commented Mar 20, 2021

@Thumati-Arjun Hi

Let me check it and will get back to you soon. Please follow up here if I needed more clarification from you. Thanks 🙏

@tomavic tomavic added question Further information is requested help wanted Extra attention is needed labels Mar 20, 2021
@Thumati-Arjun
Copy link
Author

Hello Hatem,

I have changed the code as below,

function Success(res) {
var Success = true;
var OutResponse = res;
var ErrorCode = 0;
$resolve();

}

function Fail(err) {
var Success = false;
var ErrorCode = 1;
var ErrorMessage = err;
$resolve();

}
var cardSuffix = AccountNumberSuffix;
AppleWallet.checkCardEligibilityBySuffix(cardSuffix, Success, Fail);

This is giving true response always even though the card details are invalid.

Can you please help me in resolving this issue?

Thanks in advance.

@tomavic
Copy link
Owner

tomavic commented Jul 13, 2021

@Thumati-Arjun Hi

Let me check and get back to you ASAP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants