---
title: "Comment by Eldar Ahmadov on \"Tokenised Subscriptions on Algorand\" | Hashnode"
description: "Great work, as usual. I have a question, what if the redeemer misses a cycle. Would he be able to redeem 2 (or whatever he missed + 1 ) tokens at once? I assume"
url: "https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/662177983f4bfb2f3b4eeb39"
---

[Discussion](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e)

Comment [Tokenised Subscriptions on Algorand](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e)

[Eldar Ahmadov](https://hashnode.com/@EldarAhmadov)

[Apr 18, 2024](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/662177983f4bfb2f3b4eeb39)

Great work, as usual. I have a question, what if the redeemer misses a cycle. Would he be able to redeem 2 (or whatever he missed + 1 ) tokens at once? I assume Payment tx with amount equal to = (cycle\_number - current\_balance) \* payment\_amount would cover that scenario.

[Alexander Codes](https://hashnode.com/@alexandercodes)

[Apr 19, 2024](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/662177983f4bfb2f3b4eeb39#reply-6622ea8a6d6a4cfee174a64e)

Thanks Eldar!

In this particular design, only one token can be redeemed at a time (there is a check in the claim\_payment() method to make sure the asset amount is 1).

The would stop someone claiming more than one payment at a time.

They also can't catch up on old payments one by one, because I doubt that would be possible in most real life subscription scenarios either.

The payment receiver does have the full cycle interval time to claim a payment - which could be an entire month, for example.

[Eldar Ahmadov](https://hashnode.com/@EldarAhmadov)

[Apr 19, 2024](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/662177983f4bfb2f3b4eeb39#reply-6622ee6891bb369541b882b7)

Thanks for the reply, Alex.

If I miss a payment, wouldn't I be able to catch up one by one? It would return 0 until I have caught up to hit the next\_balanace == cycle\_number, and then I'd get paid. Or am I missing something?

[Alexander Codes](https://hashnode.com/@alexandercodes)

[Eldar Ahmadov](https://hashnode.com/@EldarAhmadov)

[Apr 19, 2024](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/662177983f4bfb2f3b4eeb39#reply-6622ef85b1019c7c0e629941)

Oh, I forgot that returning 0 means Reject ). [Eldar Ahmadov](https://hashnode.com/@EldarAhmadov)

[Alexander Codes](https://hashnode.com/@alexandercodes)

[Apr 19, 2024](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/662177983f4bfb2f3b4eeb39#reply-6622eff34127c4c011cc5c15)

[Eldar Ahmadov](https://hashnode.com/@EldarAhmadov)

You would be able to keep depositing tokens until next\_balance == cycle\_number, but you'd only receive a payment for the last one (when next\_balance == cycle\_number).

So for example if it's currently cycle 3 and you haven't claimed any payments yet, you could either:

1.  Transfer 2 tokens to the contract without calling the claim\_payment() method, and then call the claim\_payment method sending an additional token and receive one payment.

or

2.  Call the claim\_payment() method three times, transferring a single token each time. You would only receive a payment for the last one (token/cycle 3).

[Eldar Ahmadov](https://hashnode.com/@EldarAhmadov)

[Apr 19, 2024](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/662177983f4bfb2f3b4eeb39#reply-6622f403188985039391d21b)

Got it, thanks again!

You should definitely consider making courses, you have an excellent way of explaining. I'd happily support that! I'm learning python itself in parallel (dotnet developer here) so your posts are a HUGE help!

Keep those posts coming!

[Alexander Codes](https://hashnode.com/@alexandercodes)
