-
Notifications
You must be signed in to change notification settings - Fork 12
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
example usage in react-native #3
Comments
@login2tech https://github.com/Kottidev/react-native-oppwa/blob/master/android/build.gradle#L35 |
im facing the same issue here, how can we use this package , we already contacted hyperpay and got all needed info , but there's no example how to use it , can you update the usage section @Kottidev or give us a simplified example of how to use it. |
Hello @Kottidev, I am trying to use this, but I cannot figure out how. Do you have a sample app or an example were it is used? Did somebody else here figured this out? Thanks a lot! |
hi @CatalinaG you can try this:
then on click of a button you need to call some server side code to generate the payment ID and then use
this will initiate the payment then in componentDidMount use DeviceEmitter to listen to the transactionstatus change event:
|
Thanks a lot @vasuchawla! This makes sense :) |
Hi,
I am getting hard times trying to make it to work in react native.
is there any example implementation or snippet?
Anything would be really helpful.
The text was updated successfully, but these errors were encountered: