vocdoni / ui-scaffold

Vocdoni's protocol UI
https://app.vocdoni.io
GNU Affero General Public License v3.0
5 stars 2 forks source link

F/calculator #673

Closed gerouvi closed 3 months ago

gerouvi commented 6 months ago

TODO:

Election cost calculator

refs https://github.com/vocdoni/interoperability/issues/180

github-actions[bot] commented 6 months ago

🚀 Deployed on https://66acf5eba7f4c75fcc1e212b--onvote-stg.netlify.app

github-actions[bot] commented 6 months ago

🚀 Deployed on https://66acf5f48362b36ce752e131--vocdoni-app-dev.netlify.app

github-actions[bot] commented 4 months ago

🚀 Deployed on https://66acf5eafe7aad73002182aa--vocdoni-app-stg.netlify.app

emmdim commented 4 months ago

I approved it because looks good, but prettier complains about something wrong in these new files.

Prettier issues fixed

jpaulet commented 4 months ago

How Vocdoni Works

Vocdoni uses its own public voting blockchain (Vochain) to ensure maximum security, end-to-end verifiability, and a censorship-resistant voting process. To use this infrastructure, users need to expend tokens (a credit representation of the usage of the Vochain) to create the necessary election. Various parameters, such as census size and duration, determine the final voting cost.

Here you can simulate the cost of your voting process and purchase the needed tokens.

elboletaire commented 4 months ago

IMHO the total should be shown always, otherwise selecting anything outside of "Once" will render the left side useless

imatge

jpaulet commented 3 months ago

[ ] - After the Stripe checkout process, the success message is blank, and the "We appreciate your business! A confirmation email will be sent to aulet@vocdoni.org. If you have any questions, please email orders@vocdoni.org." appears in a wrong position.

jpaulet commented 3 months ago

error 'session.New: {"status":400,"message":"If adjustable quantity is enabled, line_items[0][adjustable_quantity][maximum] (10000) must be greater than or equal to line_items[0][quantity] (16853). line_items[0][adjustable_quantity][maximum] can be set as high as 999999, but defaults to 99 if not set.","param":"line_items[0][quantity]","request_id":"req_8GVQ6c7WCTOIgY","request_log_url":"https://dashboard.stripe.com/test/logs/req_8GVQ6c7WCTOIgY?t=1721397251","type":"invalid_request_error"}'

You aborted the action. Without signing, you will not receive the purchased tokens. If this was an error, you can click on "Sign" to continue with the operation. If you want a refund, click on the "Refund" button.