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

Pull changes from master #4

Open
wants to merge 76 commits into
base: feature/upgrade-rn
Choose a base branch
from

Conversation

rbabel
Copy link

@rbabel rbabel commented Aug 5, 2019

No description provided.

Andreyco and others added 30 commits December 5, 2017 10:04
* Update `braintree_ios` dependency to latest version.
Current versions fails to parse tokenization key in production environment.

* Update `braintree_ios` again to fix failing builds
Fails because the Platform.OS constant is not passed to the method.
#37)

* Fix issue when `paymentToken` is not present on real iOS device.
Other changes:
- this commit unifies responses for iOS simulator and real iOS device
- `serializedPaymentData` is no longer present. Data is always deserialised.
- add some Flow types and fix some (e.g `object` -> `Object`)

* Move type definition into dedicated file.

* [Docs] Mention `paymentData` inconsistencies when running Apple Pay on device vs simulator

* [Docs] Add `Testing Payments` section and advise user to test in production and real device.
* [iOS] Don't use unavailable payment networks.
Check for iOS version before accessing `PKPaymentNetwork{network}` constants. Payment networks are introduced incrementally, not available in previous iOS versions.

* Fix: correct version for PKPaymentNetworkCarteBancaires.
Original `PKPaymentNetworkCarteBancaire` network is deprecated and replaced with `PKPaymentNetworkCarteBancaires`. Help user handle this inconvenience.
This also allow us to display PKPaymentAuthorizationViewController over modal!
Doing this, underlying button view sets its frame from parent's frame.
- create "manager" + "rendering view" hierarchy (will be required for on press handler)
- handle subview layout updates
barbieri and others added 30 commits June 7, 2018 02:04
For example, when running in a JavaScript test runner, the native addons do not exist, but a simple import of the module should not fail.
Fixed broken android-pay link.
* Add cornerRadius prop

* Add native support for cornerRadius

* Update docs
* allow 0 as a total for payment

* also allow 0 for things like tax/etc.
#133)

* Add ios react native directory to header search paths (for pods)

* Make the ios search path recursive

* Bump to 0.7.2

* Update ReactNativePayments.m

Add support for MADA payment Saudi Arabia

Co-authored-by: rkaartikeyan <[email protected]>
* Add billingContact and shippingContact to paymentResponse on iOS

Require billing address with additional option 'requireBilling'

* Add name to billingContact and shippingContact

Remove billingContact and shippingContact reference that
is in the wrong place and is always undefined. It
should only be in the details field.
Correctly pass on promise failure of NativePayments.show()
* Add ios react native directory to header search paths (for pods)

* Make the ios search path recursive

* Bump to 0.7.2

* Update ReactNativePayments.m

Add support for MADA payment Saudi Arabia

* sync from react-native-easy-payments

* fixed this on the intents branch which isn’t quite ready yet, so I’ll commit here

* bugfix - incompatible export of PKPaymentButton

* update readme linking to iOS example project

* update organization name format

* delete old stripe project so people don't get confused

* also delete braintree, the iOS example project explains clearly how to use it

Co-authored-by: rkaartikeyan <[email protected]>
Thanks for contributing!
* Added paymentMethod field to applepay details

* fix compilation error

* Added static canMakePaymentsUsingNetworks method

* Add billingContact and shippingContact to paymentResponse on iOS

Require billing address with additional option 'requireBilling'

* Add name to billingContact and shippingContact

Remove billingContact and shippingContact reference that
is in the wrong place and is always undefined. It
should only be in the details field.

* bump version to 0.7.2

* Add license

* remove unnecessary json parsing; uniform method names; fix activation state

* Revert "Add license"

This reverts commit 1f1e6d8.

* fix podspec

* fix billing/shipping stuff

* Zero Amount (#5)

* validate ios version to authorize amount = 0 only for version greater or equal to 12.0
* bump version

* Zero price payments (#6)

* validate ios version to authorize amount = 0 only for version greater or equal to 12.0

* bump version

* change name of the method to validate the support of zero amount and change if condition

* bump version

* support for androidx

* remove packages folder

* remove conflicts with xcode projects and tabs v whitespace

* weird whitespace / tab conflicts

* weird whitespace / tab conflicts

* deleted package lock by mistake

* adds Truphone to the list of organizations

Co-authored-by: ACOSW <[email protected]>
Co-authored-by: Mitch Martin <[email protected]>
Co-authored-by: nricardo <[email protected]>
Co-authored-by: ThasMe,Joana <[email protected]>
* Update broken links

* Use relative links

Co-authored-by: Rakesh Arunachalam <[email protected]>
…ly a ShippingOption change (#290)

* Do not trigger a ShippingOption reset if the original event is actually a ShippingOption change

* Add missing &&
* fix: make abort method on PaymentRequest actually return a Promise<void>, thereby properly cancelling event listeners

* chore: use single quotes

* chore: fix accidental removal of get shippingAddress getter
👍 Done, but it might be a while before this gets released in an official version. Feel free to install against the commit or master branch. (and check out the README on front page)
More information about the future of the repo and available alternatives
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.