susom / redcap-em-giftcard-reward

An EM to help automate the reward of gift cards for survey and other participation
MIT License
4 stars 1 forks source link

Challenge code field not supplied and library repository records not updating #4

Closed theTroi closed 9 months ago

theTroi commented 2 years ago

The external module sends an email with the reward URL field when logic is met but does not include the challenge_code field. In addition, the record isn't saving information after an email is sent to a participant/participant clicks on the reward URL to 'claim' it. Therefore, the next participant received the same reward code due to it not being marked off as claimed.

yasukawa commented 2 years ago

Are you using version v2.0? If so, I found a bug and have fixed it. I submitted a new version to the consortium v2.0.1 just now which should fix the record information not saving.

I have not seen the issue with the challenge code not displaying when it is filled in. By design, it will not display when empty or when the egift_number is a web address instead of an alphanumeric string. Can you give me more information on when the challenge code is not displaying.

123andy commented 9 months ago

Closing this as non-responsive.