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

Fiat on Ramp: Payments #1666

Merged
merged 138 commits into from
Aug 18, 2020
Merged

Conversation

wachunei
Copy link
Member

@wachunei wachunei commented Jul 1, 2020

Description

This PR includes Fiat on Ramp feature using different providers such as Wyre (Apple Pay integration) and Transak.

Checklist

  • There is a related GitHub issue
  • Tests are included if applicable
  • Any added code is fully documented

Copy link
Contributor

@ibrahimtaveras00 ibrahimtaveras00 left a comment

Choose a reason for hiding this comment

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

QA Passed 👍

@ibrahimtaveras00 ibrahimtaveras00 added QA Passed A successful QA run through has been done and removed QA'd - Issues Found QA has been complete, however issues have been discovered that need to be addressed labels Aug 18, 2020
@estebanmino estebanmino merged commit d143039 into MetaMask:develop Aug 18, 2020
@EtDu EtDu mentioned this pull request Aug 26, 2020
@wachunei wachunei deleted the feature/rn-payments branch November 13, 2020 20:39
rickycodes pushed a commit that referenced this pull request Jan 31, 2022
* Add react-native-payments

* Initial apple pay screen

* Add Transak order updates and notifications

* Hide debug view

* Add quick amounts and keypad behavior

* Add 0. case to keypad

* Add some more details about transak

* enable-apple-pay

* Add initial apple pay processing

* Add react-native-payments

* Initial apple pay screen

* Add Transak order updates and notifications

* Hide debug view

* Add quick amounts and keypad behavior

* Add 0. case to keypad

* Add some more details about transak

* Add initial apple pay processing

* Reorganize components and variables

* analytics only on not dev

* startwatcher

* Add Wyre Apple Pay processing

* Move images to images folder

* dev

* Optimize for small devices

* Add Android Purchase Method Screen

* Make Wyre Apple Pay depend on selected network

* Remove react-native-dotenv

* Fix env vars, babel plugin replaces string, is not an object

lol

* Add i18n for fiat orders ui and notifications

* Add missing i18n to apple pay amount screen

* Fix i18n argument for failed fiat order placement

* Add home graphic

* Add Logger to Fiat Orders creation and processing

* Add Aborted apple pay check

* env.

* Add wyre rates to apple pay amount screen

* add react-native-payments from fork

* Add Logger.message

* circleci

* Add AppConstants

* Add requestbin debugging

* Fix apple pay attempt

* Limit card payment to debit cards

* Fix wyre transfer fees and update order always in state

* Format amount in Fiat Order notification

* Deactivate Wyre promotion

* Add alert when trying to buy in incorrect network

* Add some missing translations

* Add buy eth to SendTo balance 0 warning

* Change credit card to debit card and transfer

* Remove home graphic and change display rules

* Fix margins

* Add allowedToBuy function to control by device and network

* Improve paymentMethod Modal for small screens

* Add Analytics

* Add improved Receive Drawer

* Remove logger.messages and add errors to track

* Remove logger.messages and add errors to track

* Move Fiat Orders polling frequency to AppConstants

* Fix duplicated proptypes for transak webview

* Remove .env from .gitignore

* Add marginVertical and documentation to props in Base text component

* Add marginVertical and documentation to props in base Title component

* Use same disabled style for text and logo in apple pay button

* Remove code used for debugging

* Add apple pay UI i18n

* Add propTypes comments to Apple Pay Payment Method screen

* Remove comments from network alert

* Remove Roboto font usage

* Add createdAt property to FiatOrder

* Add cryptoAmount to transakOrderRedirect handler

* Add Fiat Orders List View

* Remove unnecessary fragment

* Add toLocaleString to Order summary

* Prevent duplicate add order

* Fix summary displaying NaN values

* bump CURRENT_PROJECT_VERSION:
:

* Update merchant ids

* Add error logger when apple pay fails

* merchantids

* publish-pre-release-android:

* npx jetify

* Conditionally show account name

Fixes QA Issue #3

* Add ScrollView hack to modal

Solves QA Issue#4

* Fix apple pay keypad for small device

Fixes QA Issue #5

* Fix transak logo for iphone 5

Fixes QA Issue #6

* issue 7

* Improve heading title in iphone5s

* bump 514

* Update countries list

* bump 515

* :protectWalletModalVisible:

* centeredTitle

* more protectWalletModalVisible

* 516

* protectWalletModalVisible

* send android to browser

* circleci

* Revert "circleci"

This reverts commit 89b348a.

* react-native-webview

* Revert "send android to browser"

This reverts commit 6e49761.

* iuse react-native-webview-forked

* 517

* circleci

* 518

* mocks and snaps

Co-authored-by: Esteban Mino <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next release QA Passed A successful QA run through has been done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants