w3c / payment-method-credit-transfer

http://w3c.github.io/webpayments-methods-credit-transfer-direct-debit/
Other
11 stars 13 forks source link

Brittle bank-2-merchant flows #41

Closed cyberphone closed 7 years ago

cyberphone commented 7 years ago

If step 5 or 6 in the sequence diagram fails reaching their destination, the Bank will have a different opinion than the Merchant about the status of the payment. How are you going to deal with that?

ianbjacobs commented 7 years ago

Payment Request API includes a paymentRequestID that serves to help merchants and payment service providers reconcile their views of payments.

cyberphone commented 7 years ago

Yes, but it is the user that will have clear up this mess and that won't be fun or easy. Effectively this method presumes that this situation [almost] never happens which may be correct.

mattsaxon commented 7 years ago

I'm not clear that there is anything to "clear-up" apart from better communication of the failure. That is because when step 5 starts, the transaction has been completed and the rest of the flow from step 7 should complete as expected resulting in the contract being fulfilled.

However, there is risk here that the user will restart the transaction, perhaps resulting in duplicate charges and service delivery.

A typical way that such issue are handled today is that there is an additional notification (usually to an email address, but it could be an SMS message for example) to the payer on transfer. This could be shown as coming from the Payer's Bank (which typically has the necessary information already, e.g. email address or phone number of the payer). It is also possible for the Payee to provide such notification.

I suggest we add an extra, optional, step after both step 7 and step 8 for notifications to the payer fromn the Bank and Payer respectively.

ianbjacobs commented 7 years ago

@mattsaxon, that seems fine. Would you produce the new diagram? Thanks!

Ian

mattsaxonwp commented 7 years ago

I would be happy to do so, please assign to me (@mattsaxonwp) and can you add me as an admin to this repo please? I can't guarantee when I'll do it though, sorry, I'll try to prior to the f2f or at least during it.

ianbjacobs commented 7 years ago

Hi @mattsaxon,

Sorry for the delay...apparently my notification settings were not correct and I did not see this until now. :(

You are already Admin for this repo.

Please consider that you have the action: https://github.com/w3c/webpayments-methods-credit-transfer-direct-debit/milestones

Ian

mattsaxon commented 7 years ago

Notifications added (to Push only at this stage) in PR https://github.com/w3c/webpayments-methods-credit-transfer-direct-debit/pull/54

mattsaxon commented 7 years ago

Closed via PR #56.