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

LIP-8 Recepient VASP can't send pre approval request to a sender VASP it is not aware of #71

Open
udirom opened this issue Oct 6, 2020 · 2 comments

Comments

@udirom
Copy link

udirom commented Oct 6, 2020

In the recurring payments scenario recipient VASP (some merchant acquirer) should ask sending VASP (some consumer wallet) for a FundPullPreApprovalCommand (request for consumer consent for a recurring charge by the merchant). After such a request has been submitted the recipient VASP can now use "out-of-band methods" (Some interaction with the wallet user) to approve/reject the pull pre-approval request.

According to my understanding of the process, we may encounter a problem.
Let's say a merchant consumer wants to add Libra as a payment method (i.e to his favorite transportation app who wants to charge him for every trip).

The merchant app will ask it's Libra acquirer service to generate a request for a recurring charge consent. Problem is,
at that point in time nor the merchant or the acquirer can know who is the consumer VASP and who is the specific user (subaddress?) inside the VASP to whom the pre-approval request should be sent to.

Alternative flow might be:

  1. Acquirer provides a QR/link at the checkout page with the scope of the consent request (amount, currency, etc...), the acquirer VASP address, and the merchant user id.
  2. consumer scans the QR / opens the link with his Libra wallet.
  3. The Libra consumer wallet asks for consumer consent (approve/reject).
  4. Consumer wallet opens a channel to the requesting VASP (the merchant acquirer) and creates the FundPullPreApprovalObject with the consumer desition.

Thoughts?

@udirom udirom changed the title Recepient VASP can't send pre approval request to a sender VASP he is not aware of Recepient VASP can't send pre approval request to a sender VASP it is not aware of Oct 6, 2020
@kphfb
Copy link
Contributor

kphfb commented Oct 7, 2020

Great question. The LIP should be updated to make it agnostic to who the creating party is (sender or receiver) and should instead allow either party to create the FundPullPreApprovalObject. I do think that there are times when both will be applicable - for example, a merchant could simply ask you to enter your bech32 address identifier and then it initiates the pull pre-approval. Or you could do one payment and then the merchant could initiate this, etc. But I agree that the LIP shouldn't be indicating that the flow is unidirectional. I'll update to change that, thanks for the input!

@dahliamalkhi
Copy link
Contributor

@udirom could you please indicate in issues which LIP you are referring to?

@udirom udirom changed the title Recepient VASP can't send pre approval request to a sender VASP it is not aware of LIP-8 Recepient VASP can't send pre approval request to a sender VASP it is not aware of Oct 10, 2020
@kphfb kphfb mentioned this issue Nov 4, 2020
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

No branches or pull requests

3 participants