"is_sandox" request parameter for subscription revoking
complete
V
Vitaliy Rusinov
Hi!
Recently I've found out that it is possible to grant/prolong subscription with is_sandbox parameter in the request body. It works brilliantly for me (except that API responds "Not a valid string" on the boolean "is_sandbox" parameter, but if I pass it as a string "true" all works fine :))
I see an expected event from Sendbox environment on every granting with is_sandbox flag. But when I want to revoke a granted subscription I can't find how to specify the environment of the transaction.
When revoking a subscription I always see Production environment in event feed.
Could you please make it possible to specify the environment for revoking the subscription?
Respectfully,
Vitaliy
a
adapty access
Hi there! Thank you for reaching out.
There was indeed a minor bug on our side, where the "is_sandbox" parameter was incorrectly set as a String instead of a Boolean.
We fixed it last week, so please check it out. Kindly let us know if you have any further questions or concerns. :)
Adapty Support
complete
V
Vitaliy Rusinov
Hello, I'm glad to hear that the bug has been fixed! Thank you!
I have one remaining concern. Is it possible to specify the environment when revoking a subscription as well? Currently, there is no such option as there is with granting a subscription. As a result, I always receive events with the "Production" environment, even on my development environment.
Respectfully,
Vitaliy
a
adapty access
Hi there! Thank you for reaching out.
There was indeed a minor bug on our side, where the "is_sandbox" parameter was incorrectly set as a String instead of a Boolean.
We fixed it last week, so please check it out. Kindly let us know if you have any further questions or concerns. :)