from ._builtin import Page, WaitPage from otree.api import Currency as c, currency_range from .models import Constants class PaymentInfo(Page): def vars_for_template(self): participant = self.participant return dict(redemption_code=participant.label or participant.code) self.player.get_pgg_payoff() page_sequence = [PaymentInfo]