spadebuilders / community

Repo for community activities across @SPADEBuilders projects
https://waffle.io/spadebuilders/community
Apache License 2.0
5 stars 0 forks source link

Write a payment provider plugin for pretix to accept ETH #30

Closed bmann closed 5 years ago

bmann commented 5 years ago

From discussions at EthMagicians we're going to be using pretix to run registration for Council of Paris 2019.

For now, we're going to use the fully hosted version and use their manual payment system to instruct people to donate to the EthMagicians wallet --> https://donations.ethereum-magicians.org.

For future events, it would be great to run our own instance -- e.g. tickets.ethereumevents.global -- that has an ETH payment provider plugin installed. There will be a separate issue for doing the initial install and some maintenance.

pretix is written in Django and has good instructions on how to write a payment provider. The Bitpay payment provider plugin may prove helpful to refer to.

The initial scope will be:

Aside from building the feature, the bounty builder will be responsible for

Future feature requests and additional bounties will be listed in the new repo for this payment provider plugin. Feel free to use this thread to brainstorm future features (e.g. DAI and arbitrary ERC20 token support, NFT "tickets", etc.).

Update

The MakerDAO team have stepped up with a 500DAI bounty, to include DAI in the initial release.

bmann commented 5 years ago

Here's a link to our Discord pretix channel if you'd like to chat live https://discord.gg/S7vVpfn

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 0.25 ETH (33.56 USD @ $134.23/ETH) attached to it as part of the EthMagicians fund.

swapnildey94 commented 5 years ago

Interested - Familiar with Python and integrating Payment gateways related to blockchain. Have integrated similar platforms in other projects.

Unable to apply through gitcoin.

bmann commented 5 years ago

@techswappy oh, what’s the issue with Gitcoin? Let me know what problems you’re having.

swapnildey94 commented 5 years ago

@bmann I think they have a restriction on how many issues you can apply to (i used up my 3 issues) before I stumbled upon this work.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 9 months, 2 weeks from now. Please review their action plans below:

1) uivlis has applied to start work _(Funders only: approve worker | reject worker)_.

Let me try this one out, even though I can't guarantee NFT tickets right from the start.

Learn more on the Gitcoin Issue Details page.

2) vic-en has been approved to start work.

I can pretty much get this done in 2 weeks max. Firstly, I'll clone the pretix repo and install on my server to ensure I have a working installation. I'll then proceed to develop an API compatible with ETH using the official doc and bitpay code as reference. After the code is done, I'll test on initial server and test on another server to ensure I don't miss anything out.

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 5 years ago

💰 A crowdfund contribution worth 500.00000 DAI (500.0 USD @ $1.0/DAI) has been attached to this funded issue from @nanexcool.💰

Want to chip in also? Add your own contribution here.

uivlis commented 5 years ago

Hi @bmann! Just to know, is the bounty still active? If it is, I kindly suggest you pick somebody to work on it. The application to work on this bounty is stopping me from completing other bounties since one can only work on 3 at most.

nanexcool commented 5 years ago

Hey, I just want to add that the 500 Dai bounty that I added is to also include Dai as a payment method, in addition to ETH. I don't think this is reflected yet in the description.

bmann commented 5 years ago

@uivlis sorry about that, getting used to how Gitcoin works. It is still active. There are some people who are already working on code outside of Gitcoin, so I'm unclear how to handle this. I may need to make this an "open" bounty and go from there.

bmann commented 5 years ago

@vic-en has provided me with a demo link through chat, see https://github.com/vic-en/pretix-eth-payment-plugin for further development

gitcoinbot commented 5 years ago

@vic-en Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

bmann commented 5 years ago

Working on this in a separate repo, so snoozing.

gitcoinbot commented 5 years ago

@vic-en Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 5 years ago

@vic-en Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

bmann commented 5 years ago

I have attempted to snooze Gitcoin Bot for 10 days :)

vic-en commented 5 years ago

Work in progress.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 0.25 ETH (35.4 USD @ $141.6/ETH) has been submitted by:

  1. @vic-en

@bmann please take a look at the submitted work:


vic-en commented 5 years ago

Hi @bmann , can you kindly review the project so the fund can be released soon? I've been waiting for a response on discord for days now. Thanks in anticipation.

gitcoinbot commented 5 years ago

⚡️ A tip worth 0.05000 ETH (6.89 USD @ $137.9/ETH) has been granted to @vic-en for this issue from @bmann. ⚡️

Nice work @vic-en! To redeem your tip, login to Gitcoin at https://gitcoin.co/explorer and select 'Claim Tip' from dropdown menu in the top right, or check your email for a link to the tip redemption page.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


The funding of 0.25 ETH (34.47 USD @ $137.9/ETH) (plus a crowdfund of 500.0 DAI worth 500.0 USD) attached to this issue has been approved & issued to @vic-en.

Thanks to @nanexcool, @nanexcool for their crowdfunded contributions to this bounty.

Additional Tips for this Bounty:


ligi commented 5 years ago

did anyone try the PR? I just tried it out and am getting: https://github.com/vic-en/pretix-eth-payment-plugin/issues/11

bmann commented 5 years ago

@ligi I don’t have time to clean this up right now but my intent is to fork and get it done in a repo I maintain. Thanks for filing those issues - they are a good starting point.