Skip to content
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

Remove Bitcoin source support #931

Merged
merged 1 commit into from Apr 26, 2018
Merged

Conversation

joeydong-stripe
Copy link
Contributor

@joeydong-stripe joeydong-stripe commented Apr 24, 2018

  • Remove Bitcoin source support because Stripe no longer processes Bitcoin payments: https://stripe.com/blog/ending-bitcoin-support
    • Sources can no longer have a "STPSourceTypeBitcoin" source type. These sources will now be interpreted as "STPSourceTypeUnknown".
    • You can no longer createBitcoinParams. Please use a different payment method.

@joeydong-stripe joeydong-stripe self-assigned this Apr 24, 2018
@joeydong-stripe joeydong-stripe force-pushed the joeydong/removeBitcoin branch 6 times, most recently from 239999d to 1443eff Compare April 25, 2018 21:38
@joeydong-stripe joeydong-stripe changed the title [WIP] Remove native Bitcoin code Remove Bitcoin source support Apr 25, 2018
@joeydong-stripe joeydong-stripe force-pushed the joeydong/removeBitcoin branch 3 times, most recently from 51bac3d to 702fee0 Compare April 25, 2018 21:56
Copy link
Contributor

@danj-stripe danj-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -1,3 +1,4 @@
// Source: https://stripe.com/docs/sources/ideal
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK comments are illegal in JSON, so I think this should be removed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😉 I added this feature a long time ago to the STPTestUtils: e27d40d#diff-048bbc1b680ccc6bc67023bfe39032b4R44

This procedure does still break if comments are inline with JSON. Also seems like STPTestUtils and STPFixtures should be combined eventually.

@joeydong-stripe joeydong-stripe merged commit 6e0cadc into master Apr 26, 2018
@danj-stripe danj-stripe mentioned this pull request Apr 26, 2018
10 tasks
danj-stripe added a commit that referenced this pull request Jul 6, 2018
danj-stripe added a commit that referenced this pull request Jul 9, 2018
@danj-stripe danj-stripe deleted the joeydong/removeBitcoin branch August 3, 2018 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants