-
Notifications
You must be signed in to change notification settings - Fork 41
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
PR: pick & offer the single best virtual card to user #277
Conversation
when local intl card is unavailable
as list card is not loading all cards anymore
Hey there, curious to know if you have any remarks on this project, and if there is anything we can do to speed things along? The development velocity is a bit slower than expected. |
True. The conversation reward plugin kept me occupied and I have been feeling a bit burned out. This is going to finish in a day or two. Right now, I am updating the UI and removing everything unnecessary as we don't have lists of cards anymore. This PR gets you a virtual card feature that can be deployed. Here is how it looks right now. |
Lets definitely just make a page on dao.ubq.fi/card-minting to host all this information. Can you post the text here? I can make the page in a couple of minutes. |
Card MintingOne of the ways to get paid in the DevPool is by minting a virtual Visa or Mastercard. These virtual cards offer convenience, security, and ease of use, allowing you to quickly access your funds once your contribution is accepted. How It WorksWhen you contribute to DevPool and your pull request is accepted and merged, you’ll receive a reward permit URL. This URL will take you to the UbiquityPay webpage, where you can claim your reward through various options, including minting a virtual Visa or Mastercard. If you choose to mint a virtual card, your full reward amount will be converted into a redeem code. Follow the provided instructions with the redeem code to activate and use your virtual card. Types of Virtual CardsThanks to our partnership with Reloadly, we offer a variety of virtual Visa and Mastercard options. Our system selects the best card for you based on your location, card features, and availability. If a high-feature virtual card is unavailable, you’ll be offered the next best option. Our top-tier virtual cards are tokenized Mastercards with international capabilities. These cards offer enhanced security and a superior user experience. If these cards are unavailable due to location or stock, you will be offered an international Visa card or a local Visa/Mastercard option. You can see the exact card you’re being offered when you visit UbiquityPay with your reward permit URL. Fees & DiscountsSome virtual cards have associated fees and potential discounts. On the reward permit page, you’ll see a "Value" displayed for the card, which represents the amount available on the card after fees and discounts are applied. Currently, minting a virtual card consumes your entire reward, but in future updates, you’ll have the option to specify the exact amount you wish to load onto the card. LimitationsPlease note that virtual Visa and Mastercard cards are subject to regulations and may not be available in all countries. If your country isn’t supported, you’ll be notified when you visit the reward permit URL, and you’ll have the option to choose a different payment method. It’s also important to exercise caution when minting a virtual card, as they may not be accepted by all merchants. Unfortunately, there are no refunds for virtual cards, and they are non-exchangeable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I attempted to QA the logic locally but I wasn't able to get past the loading screen for some reason despite having QA'd the feature in the past.
The worker was repeatedly spamming two functions and I wasn't able to debug why I couldn't progress further after trying both the sandbox and production APIs and checking the original setup instructions I can only add a couple minor comments.
It would be awesome if you could setup a dedicated README or add a section to the main one with any setup that is different from development
and anything else that is relevant please, I don't feel as sure-footed about what to expect and I expect new contributors will feel the same.
instead of an array,
This probably happens when anvil gets stuck. Why anvil gets stuck sometimes, I am not sure. Maybe the RPC it gets is slow or becomes slower later. For now, you can just restart anvil. If you want to check if anvil is working correctly, then transfer some test token using anvil, if you don't get confirmatino, then the problems is anvil, and just restart anvil.
The readme is mostly up to date:
This is the sequence of commands One thing that is missing in the readme is wrangler.toml file config. Just add correct api keys, and in this config
Here, true or false value is string in quotes. I will add the info about wrangler in readme. So give it a try and let me know how it goes. Also, maybe your keys are not correct as we had some changes at Reloadly account. Send me message on telegram and I will give you new keys. If I remember correctly, sandbox keys are still the old ones and they haven't changed. |
I have added information to readme. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's some minor stuff. Once addressed you can merge.
QA video looks pretty solid. Just minor cosmetic improvements I see I will need to address at some point after trying it out in production. When can we start using? Also soon we should only support ubiquity dollars for card minting to boost its utility. |
Co-authored-by: アレクサンダー.eth <[email protected]>
Co-authored-by: アレクサンダー.eth <[email protected]>
Co-authored-by: アレクサンダー.eth <[email protected]>
Co-authored-by: アレクサンダー.eth <[email protected]>
Co-authored-by: アレクサンダー.eth <[email protected]>
Co-authored-by: アレクサンダー.eth <[email protected]>
Co-authored-by: アレクサンダー.eth <[email protected]>
You can start using it now, but it would be nice to have this #291 implemented
Here, it should be as simple as replacing the token address of WXDAI in the constants for this feature. However, it assumes the following
|
@0x4007 I got some redeem codes during testing that you can use if you want. I have added those redeem codes to Gift cards file in google docs that I have shared with you previously on your email. |
Resolves #273
How to test the best card based on location?
You can either use a vpn to change your IP to see the result. Or, you can also use adblock like ublock origin to block ip location tracking, and fallback to your OS timezone. Change OS timezone to see results. Just so you know, permit amount also matters. If your location results in a mastercarad international, but your reward permit is too low for it to mint, you get a next option if any in the amount range.
QA
qa3-no.mp4