Closed
Bug 981102
Opened 12 years ago
Closed 11 years ago
[tracking] Allow developers to simulate a server-less in-app payment
Categories
(Marketplace Graveyard :: Payments/Refunds, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kumar, Assigned: kumar)
References
Details
(Whiteboard: [qa-])
Developers can use Marketplace to make server-less in-app payments (bug 944480). However, until their app is approved they'll only be able to *simulate* in-app purchases. That process is detailed here: https://developer.mozilla.org/en-US/Marketplace/Monetization/In-app_payments#Simulating_payments
Let's support simulating in-app payments.
A developer needs this feature so they can get their app working before submitting the app to the Marketplace.
I'm leaving some details here vague because this requires some thought and design. For example, the in-app product manager UI would need to be accessible somehow on devhub outside of an app.
Updated•12 years ago
|
Priority: -- → P2
| Assignee | ||
Comment 1•12 years ago
|
||
In a discussion we thought it might be easiest just to add "stub products" to this page: https://marketplace.firefox.com/developers/in-app-keys/
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → kumar.mcmillan
| Assignee | ||
Comment 2•11 years ago
|
||
Per discussion: https://groups.google.com/d/msg/mozilla.dev.marketplace/C4H_dEfJV5Q/l1A6VMmaP60J
proposal:
fxpay.configure({fakeProducts: true})
or
fxpay.configure({fakeProducts: [{name: 'The Product', ...}]})
This would create and return fake products when fxpay.getProducts() is called. These products can be purchased in simulation mode which will generate a test receipt and allow the developer to implement all their callbacks.
For developing on a public app, the dev could do:
fxpay.configure({simulate: true})
and this would put their existing production products into simulation mode.
| Assignee | ||
Updated•11 years ago
|
Summary: Allow developers to simulate a server-less in-app payment → [tracking] Allow developers to simulate a server-less in-app payment
| Assignee | ||
Comment 3•11 years ago
|
||
note to self: I got as far as trying to start a simulated payment. That needs fixing next: bug 1045905
Comment 4•11 years ago
|
||
All tracking bugs closed.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•