KlimaDAO / klimadao

Monorepo for the official KlimaDAO site, dApp, components and design system.
https://klimadao.finance
MIT License
90 stars 71 forks source link

2159 reenable fiat for icr #2291

Closed sprrwhwk closed 4 months ago

sprrwhwk commented 4 months ago

Description

Fiat payments were disabled for ICR projects. Now that offsetra supports ICR, we can re-enable fiat payments for ICR projects with this PR.

Related Ticket

Closes #2159

How to Test

  1. Open an ICR listing
  2. Choose 1 tonne
  3. Choose credit card payment
  4. Use this card: 4242 4242 4242 4242, expiry 02/42, CVC: 222
vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
carbonmark ✅ Ready (Inspect) Visit Preview Feb 19, 2024 2:23pm
carbonmark-api ✅ Ready (Inspect) Visit Preview Feb 19, 2024 2:23pm
demo-integration ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2024 2:23pm
klimadao-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2024 2:23pm
1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **carbon** | ⬜️ Ignored ([Inspect](https://vercel.com/klimadao/carbon/38NoQrrci8FoSGXpL65bJ79J96Ah)) | [Visit Preview](https://carbon-git-2159-reenable-fiat-for-icr-klimadao.vercel.app) | | Feb 19, 2024 2:23pm |
sprrwhwk commented 4 months ago

@sprrwhwk getting an error calculating total cost Screenshot 2024-02-19 at 1 30 25 PM

Can you try again post https://discord.com/channels/1135827610434289727/1209133382722789408/1209228955794677760 ?

Also you might have to create a listing that is cheaper as the server wallet has only around 22$ left so the existing ICR-4-2020 listing will not work.

sprrwhwk commented 4 months ago

ok nevermind @jabby09 something unrelated got broken in the meantime

sprrwhwk commented 4 months ago

@Atmosfearful merge request for fiat backend is ready:

https://gitlab.com/brendanmc6/fiat/-/merge_requests/45

Once that's merged this should be working as expected.