Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

automate bitcoins payins #1963

Closed
sim6 opened this issue Jan 30, 2014 · 11 comments
Closed

automate bitcoins payins #1963

sim6 opened this issue Jan 30, 2014 · 11 comments

Comments

@sim6
Copy link
Contributor

sim6 commented Jan 30, 2014

Please add support for automate bitcoins payins.

Did you help close this issue? Go claim the $15 bounty on Bountysource.

This was referenced Jan 30, 2014
@knocte
Copy link
Contributor

knocte commented Jan 30, 2014

@sim6
Copy link
Contributor Author

sim6 commented Jan 30, 2014

@knocte Maybe the bounty is for automate payins and payouts #1964

@knocte
Copy link
Contributor

knocte commented Jan 30, 2014

Bounty's title says "pre-pay". I don't think you can pre-pay a payout ;)

@sim6
Copy link
Contributor Author

sim6 commented Jan 30, 2014

@knocte I am sorry, OK, you are right.

@pjf
Copy link
Contributor

pjf commented Feb 11, 2014

+1

@chadwhitacre
Copy link
Contributor

+1 from @campadrenalin via support@gittip.com.

@xnyhps
Copy link
Contributor

xnyhps commented Apr 27, 2014

I don't have any prior experience with Conbase's API, but just from looking at it, I think this would be relatively straightforward to do. Coinbase has a "payment button" API to create buttons, which open an iframe that requests payment. The payment can make the amount editable (which I think makes sense for a payin).

screen shot 2014-04-27 at 12 12 55

The suggested amounts are editable (with configurable suggestions), and the currency can be specified (so there can be a separate button for paying in EUR, GBP, etc.). Downside of everything but USD is that Coinbase doesn't show you how much that will be in USD, so unless you look up the exchange rate yourself, you won't know by how much your Gittip balance will increase until after you pay. Coinbase can be configured to deposit the received payments in USD automatically, for 1% + $0.15 fee. (Deposits happen only once a day, so the $0.15 fee is only charged once for all payins on one day.)

After the payment, Coinbase will post the payment information to a callback that you specify. It receives JSON encoded data that describes the order, including the amount of USD, so it can then be used to update the user's Gittip balance.

Open issues:

  • I don't understand exactly how Coinbase handles mispaid orders. The callback page states:

    mispaid_native Total amount received in your local currency in cents (1 unit = 100 cents). This will be equal to the price you set when creating the button.

    This sentence seems to contradict itself: if the order was mispaid, the amount received won't be equal to the price set. May not be really important, as users can set their price anyway.

  • I'm not sure how the fees should be handled. Subtracting 1% + $0.15 from the amount paid sounds fair, but what would happen if a user tries to deposit $0.14?

@clone1018
Copy link
Contributor

#2053

@xnyhps
Copy link
Contributor

xnyhps commented Apr 27, 2014

Ah, I hadn't seen that PR (it wasn't linked from this ticket before). I do think being able to do a one-off payin in BTC is a different use case from repeated payments (which require a Coinbase account), but I guess repeated payments take priority for Gittip.

@rohitpaulk rohitpaulk self-assigned this Mar 30, 2015
@rohitpaulk rohitpaulk mentioned this issue Apr 5, 2015
14 tasks
@rohitpaulk rohitpaulk removed their assignment May 16, 2015
@rohitpaulk
Copy link
Contributor

No more bitcoin, closing this.

@sim6
Copy link
Contributor Author

sim6 commented Oct 11, 2015

More info at gratipay/inside.gratipay.com#201 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants