'Attempt to retrieve the contribution id
from the storedata in the receipt.'

def get_contribution_id(self):

    try:
        return int(self.get_storedata()['contrib'])
    except Exception as e:
        log_info('Invalid    store    data    for    contrib    id:    {err}'.format(err=e))
        raise InvalidReceipt('WRONG_STOREDATA')
