mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 21:08:07 +01:00
Cancel play subscriptions when replacing them
This commit is contained in:
committed by
ravi-signal
parent
e9b3e15556
commit
0e552bd602
@@ -420,6 +420,10 @@ public class SubscriptionController {
|
||||
|
||||
After calling this method, the payment is confirmed. Callers must durably store their subscriberId before calling
|
||||
this method to ensure their payment is tracked.
|
||||
|
||||
Once a purchaseToken to is posted to a subscriberId, the same subscriberId must not be used with another payment
|
||||
method. A different playbilling purchaseToken can be posted to the same subscriberId, in this case the subscription
|
||||
associated with the old purchaseToken will be cancelled.
|
||||
""")
|
||||
@ApiResponse(responseCode = "200", description = "The purchaseToken was validated and acknowledged")
|
||||
@ApiResponse(responseCode = "402", description = "The purchaseToken payment is incomplete or invalid")
|
||||
|
||||
Reference in New Issue
Block a user