WebAPI/WebPaymentProvider: Difference between revisions

→‎Overview: document new global object per https://bugzilla.mozilla.org/show_bug.cgi?id=877103
(→‎Completion: documented new global object per https://bugzilla.mozilla.org/show_bug.cgi?id=877103)
(→‎Overview: document new global object per https://bugzilla.mozilla.org/show_bug.cgi?id=877103)
Line 8: Line 8:
* Process a payment from the customer
* Process a payment from the customer
* Dispurse funds to the merchant
* Dispurse funds to the merchant
* When payment processing is finished, call <code>window.paymentSuccess()</code> or <code>window.paymentFailed()</code>
* When payment processing is finished, call <code>mozPaymentProvider.paymentSuccess()</code> or <code>mozPaymentProvider.paymentFailed()</code>
* Send server notifications to the merchant about the payment
* Send server notifications to the merchant about the payment


Confirmed users
324

edits