Comments (5)
@stephenmcd, @JlUgia Could you have a look at this, please? Or is it better to raise this ticket somewhere else?
from react-native-make-payment.
Hi @stephenmcd. Thanks for the prompt response!
In the scenario you mentioned, everything is fine, but please check this commit with my changes and comments, which will help you reproduce the issue: 9120b25
Just for a demo, I've replaced the image link, as the previous one wasn't working.
from react-native-make-payment.
Thank you so much for the code sample. I was able to reproduce the error and I just released version 0.1.1 to NPM with the fix: e1a35f0
from react-native-make-payment.
Thanks for the report, this is definitely the correct place for it. We'll update here once we have a resolution.
from react-native-make-payment.
Hi, I wasn't able to reproduce the error, although there's no doubt you're somehow getting it.
You'll need to provide more info (preferably some code to try) showing how you're creating and reusing the paymentMethods
arg in PaymentRequest(paymentMethods, paymentDetails)
.
Here's what I tried by editing the included demo app, but it did not produce the error:
// this line is in the demo app
const paymentRequest = new PaymentRequest(paymentMethods, paymentDetails);
// added these, but no error
const paymentMethodsSameObj = [paymentMethods[0]];
const paymentRequestObj = new PaymentRequest(paymentMethodsSameObj, paymentDetails);
const paymentMethodsNewObj = [Object.assign({}, paymentMethods[0])];
const paymentRequestNewObj = new PaymentRequest(paymentMethodsNewObj, paymentDetails);
What you're doing must differ from this.
from react-native-make-payment.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-make-payment.