def sample_inapp_receipt(self, contribution):
     return create_receipt_data(contribution.addon,
                                contribution.user,
                                'some-uuid',
                                flavour='inapp',
                                contrib=contribution)
 def sample_app_receipt(self):
     return create_receipt_data(self.app, self.user, 'some-uuid')
Beispiel #3
0
 def sample_inapp_receipt(self, contribution):
     return create_receipt_data(contribution.addon,
                                contribution.user,
                                'some-uuid',
                                flavour='inapp',
                                contrib=contribution)
Beispiel #4
0
 def sample_inapp_receipt(self, contribution):
     return create_receipt_data(
         contribution.webapp, contribution.user, "some-uuid", flavour="inapp", contrib=contribution
     )
Beispiel #5
0
 def sample_app_receipt(self):
     return create_receipt_data(self.app, self.user, 'some-uuid')