WebAPI/WebPayment: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 270: Line 270:
=== Marketplace refunds for application purchases ===
=== Marketplace refunds for application purchases ===
The Marketplace must keep a purchase history allowing the user to cancel the latest transactions and request a refund for it.
The Marketplace must keep a purchase history allowing the user to cancel the latest transactions and request a refund for it.
The way the Marketplace would handle the refund requests from the user would depend on the Payment Provider used for each specific transaction. Currently, the Marketplace is supporting two different Payment Providers: PayPal and Telefónica BlueVia. The PayPal case is out of the scope of this document.
The way the Marketplace would handle the refund requests from the user would depend on the Payment Provider used for each specific transaction. Currently, the Marketplace is only supporting one Payment Provider: Telefónica BlueVia. The PayPal case got out of the scope of v1 release.


For the BlueVia use case, in order to request refunds for application purchases the Marketplace would use the <code>navigator.mozPay</code> API. Just like for the Marketplace payment flow via BlueVia Payment Provider, the only difference to in-app refunds is that the Marketplace use the app as the issuer, instead of itself.
For the BlueVia use case, in order to request refunds for application purchases the Marketplace would use the <code>navigator.mozPay</code> API. Just like for the Marketplace payment flow via BlueVia Payment Provider, the only difference to in-app refunds is that the Marketplace use the app as the issuer, instead of itself.
Confirmed users
483

edits

Navigation menu