Reputation: 197
I was following the steps in this link to perform wallet Kit codelab:
https://developer.huawei.com/consumer/en/codelab/HMSWalletKit/index.html#5
All steps before step 7 were done successfully. I successfuly ran these methods:
HwLoyaltyModelTest.createLoyaltyModel(),
HwLoyaltyInstanceTest.createLoyaltyInstance(),
I also successfully ran these methods to get back the model data and instance for verification:
HwLoyaltyModelTest.getLoyaltyModel(),
HwLoyaltyInstanceTest.getLoyaltyInstance()
(logs are available on request)
However, in step 7, when I accessed the following URL in the browser to try to add the card, I got an error. The URL is:
Here is the screenshot in the browser when I failed:
There is no other messages or information for this error in the browser.
I appreciate for any feedbacks or hints.
Upvotes: 1
Views: 189
Reputation: 214
when ever your generating the Instance you need to change Instance ID,JWEStr must be encoded.if the JWEStr is not encoded then it wont work follow below link you will get some idea.
Upvotes: 1
Reputation: 1076
If you need further details here is a nice article about wallet kit : https://forums.developer.huawei.com/forumPortal/en/topicview?tid=0201254289105300220&fid=0101187876626530001
Upvotes: 2