Mangopay / mangopay

MANGOPAY API Known Issues
3 stars 2 forks source link

Wallet with multiple owners #48

Closed VivienCormier closed 6 years ago

VivienCormier commented 6 years ago

Hi,

I discovered recently that when an User do a CardDirectPayin to a wallet, the User is added to the list of the owners of the wallet.

So you can have a wallet with multiple owners but unfortunately the actual version of the api doesn’t work with multiple owners.

Now I have several wallets that are “broken” because they have multiple owners (Impossible to used it from the dashboard, etc.).

I think, it would be a good idea to indicate in your documentation that doing a CardDirectPayin has a side-effect that add the user to the list of the owner.

If your api doesn’t work when a wallet have more than one owner, it would be also nice to block the CardDirectPayin if the user isn’t the owner?

Do this side-effect also appear in another action than the CardDirectPayin?

Regards

mickaelpois commented 6 years ago

Hi @VivienCormier and thanks for your feedback. I'm very surprised to hear that, could you give me more details, especially:

Mickaël

VivienCormier commented 6 years ago

Hi @mickaelpois

Little story for more context: We have contacted your technical support, because of a bug in the dashboard. We wasn't able to generate a report from a wallet. So the support told us that the report doesn't work because we have multiple owners to this wallet. According to the support we have multiple owners to this wallet because we're doing a Card Direct Payin (from many users) directly to this wallet instead of the wallet of the user.

Little exemple: User1 with Wallet1 and User2 with Wallet2. If User1 do CardDirectPayin to Wallet2. The User1 become owner to the Wallet2. According to your support to avoid this behavior we should always do: User1 do CardDirectPayin to Wallet1 and do a Transfert from Wallet1 to Wallet2.

Are you aware of this side-effect?

I'm little bit surprised that this side-effect isn't documented.

mickaelpois commented 6 years ago

I cannot reproduce this behaviour on our Sandbox env. It's clearly not something we want, even if multiple owners was a feature we though about previously, our API is not supposed to support it yet.

Could you contact me directly by mail (mickael@mangopay.com) to share extra informations, especially some IDs of your "buggy" wallets?

Thanks.

Mickaël