vanwalj / node-mangopay-sdk Goto Github PK
View Code? Open in Web Editor NEWNon official node mangopay SDK, promise flavoured.
License: MIT License
Non official node mangopay SDK, promise flavoured.
License: MIT License
After getting the user (https://api.sandbox.mangopay.com/v2.01/xxxxxx//users/9499412)
When i made
return user.Transactions.list({
page: 1,
per_page: 100
});
The request is https://api.sandbox.mangopay.com/v2.01/xxxxxxx//users/undefined/transactions (no user id).
It's because when _bindUser is called the id of the user is Id and not id. (I think that it's same for all other methods).
Did I do something wrong?
Hi,
I try to call user.BankAccount.create to create a bank account and i have an error because the IBAN is invalid.
Unfortunately the error doesn't return the object that i can use to return the error to the client.
console.error(body);
return reject(new Error(`Mangopay client error: ${ body.Message }`, body));
The second parameter isn't used and can't be read.
I think that it's possible to do :
console.error(body);
var error = new Error(`Mangopay client error: ${ body.Message }`);
error.body = body;
return reject(error);
Thanks,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.