Closed Bug 993661 Opened 11 years ago Closed 11 years ago

Expose supported payment providers in JWT for app purchases

Categories

(Marketplace Graveyard :: Payments/Refunds, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 998975

People

(Reporter: kumar, Unassigned)

References

Details

When an app is purchased, Webpay needs to know which payment providers that app is configured for (see bug 987857). App purchases are a bit hacky in that data like this is stuffed into the productData field of the JWT. The easiest thing here is to add a new productData field to say which payment providers are supported. Webpay currently parses product_data here: https://github.com/mozilla/webpay/blob/6a27a77992fd5667a7165c38f743e9de55c0ad98/webpay/pay/tasks.py#L135 This is different than how in-app purchases will work (that's bug 993658).
Blocks: 987661
Blocks: 993691
Priority: -- → P2
we have a more concrete idea of how to do this in bug 998975
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.