mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 11:56:47 +00:00
Set off_session=true when creating subscriptions
This commit is contained in:
1 parent
bd69905f2e
commit
102992b095
1 file changed
+1
+1
@@ -210,6 +210,7 @@ public class StripeManager implements SubscriptionProcessorManager {
|
||||
return CompletableFuture.supplyAsync(() -> {
|
||||
SubscriptionCreateParams params = SubscriptionCreateParams.builder()
|
||||
.setCustomer(customerId)
|
||||
.setOffSession(true)
|
||||
.addItem(SubscriptionCreateParams.Item.builder()
|
||||
.setPrice(priceId)
|
||||
.build())
|
||||
|
||||
Reference in new issue
Block a user