ubiquity-os / permit-generation

A standalone module to generate permits.
1 stars 19 forks source link

Can't Mint Card #101

Open sshivaditya2019 opened 20 hours ago

sshivaditya2019 commented 20 hours ago

I'm having trouble minting a card. I keep getting the error: "The reward has already been claimed by the user." This might be caused by a CORS issue or a problem fetching the IP. I can add logs if that would help.

0x4007 commented 18 hours ago

@rndquu

Although perhaps this should be in pay.ubq.fi

Keyrxng commented 15 hours ago

@sshivaditya2019

  1. When was the permit generated?
  2. Are you using a VPN or anything?
  3. The cards feature would attempt to verify a txhash as far as I know, did your logs contain anything like that?

I guess it didn't get that far and is likely an invalid permit if it's more than a couple weeks old.

Sharing logs is always a good idea though

sshivaditya2019 commented 15 hours ago
  1. When was the permit generated?

It was generated last week.

  1. Are you using a VPN or anything?

No, I’m not using a VPN. I’ve used this feature before, so I’m not sure what changed. Nothing seems different on my end.

  1. The cards feature would attempt to verify a txhash as far as I know, did your logs contain anything like that?

I don’t see any mention of a txhash in the logs.

I guess it didn't get that far and is likely an invalid permit if it's more than a couple weeks old.

I'm not sure what happened. I can see the contract call on GnosisScan, but after that, I started receiving the message: "The reward has already been claimed by the user."

pay.ubq.fi-1730749298302.log

Keyrxng commented 14 hours ago

It was generated last week.

Likely rules out the issue with permits stemming from permit-generation a few weeks ago.

I don’t see any mention of a txhash in the logs.

I'm not sure what happened. I can see the contract call on GnosisScan, but after that, I started receiving the message: "The reward has already been claimed by the user."

Share this info with us dude. explorer, permit etc so we can see on chain what's happening. By the sounds of it the permit was claimed but not 100% without on-chain evidence, that's really the only way to investigate.

Rndquu and EresDev know more about the cards feature than I do but they'd need the infos I've asked for.

sshivaditya2019 commented 13 hours ago

Share this info with us dude. explorer, permit etc so we can see on chain what's happening. By the sounds of it the permit was claimed but not 100% without on-chain evidence, that's really the only way to investigate.

Txn : https://gnosisscan.io/tx/0x318cf62c342ddb50b56b319e2ba6309b4ac506660cf496aaa49da626a84e6be1 Permit: Permit Link

Keyrxng commented 12 hours ago

So the permit was claimed and it looks like it's been claimed correctly to the treasury address as expected, eresdev will probs know more he wrote that feature and he'd likely be the one to resolve the issue, I'll message them on TG to check this issue

Keyrxng commented 12 hours ago

Although perhaps this should be in pay.ubq.fi

This should be transferred

EresDev commented 5 hours ago

First, @0x4007 needs to check if there is sufficient balance at Reloadly.

After this, @sshivaditya2019 your mint request has already partially failed and it is something being addressed in https://github.com/ubiquity/pay.ubq.fi/issues/291. The current solution is manual. I can retry manually for you. I can see the tx hash above. I need to know the country you are minting card from so that you get suitable card.

And just to confirm, do you remember what card were you offered? Was it "Virtual MasterCard International USD US" ?