mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 13:17:42 +00:00
Merge pull request #78 from christianselig/bugs/autorenew_off
Fix issue with not allow non-autorenewing subs
This commit is contained in:
commit
b763e6f875
1 changed files with 1 additions and 1 deletions
|
@ -533,7 +533,7 @@ func (iapr *IAPResponse) currentlyActiveTimedSubscription() string {
|
||||||
timedStatus := ""
|
timedStatus := ""
|
||||||
|
|
||||||
for _, info := range iapr.PendingRenewalInfo {
|
for _, info := range iapr.PendingRenewalInfo {
|
||||||
if info.SubscriptionExpirationIntent != "" || info.SubscriptionAutoRenewStatus == "0" {
|
if info.SubscriptionExpirationIntent != "" {
|
||||||
timedStatus = ""
|
timedStatus = ""
|
||||||
} else if info.SubscriptionAutoRenewProductID == "com.christianselig.apollo.sub.monthly" {
|
} else if info.SubscriptionAutoRenewProductID == "com.christianselig.apollo.sub.monthly" {
|
||||||
timedStatus = SubscriptionMonthly
|
timedStatus = SubscriptionMonthly
|
||||||
|
|
Loading…
Reference in a new issue