def _prepare_submission_payload(self, request, transaction, mobile, valid_card_number, callback):
    if (callback is None):
        raise ValueError('You need to specify a path name as the callback for your transactions.')
    return {'api': self.api_key, 'amount': transaction.amount, 'redirect': request.build_absolute_uri(reverse(callback)), 'mobile': mobile, 'factorNumber': transaction.id, 'description': transaction.description, 'validCardNumber': valid_card_number}
def _prepare_submission_payload(self, request, transaction, mobile, valid_card_number, callback):
    if (callback is None):
        raise ValueError('You need to specify a path name as the callback for your transactions.')
    return {'api': self.api_key, 'amount': transaction.amount, 'redirect': request.build_absolute_uri(reverse(callback)), 'mobile': mobile, 'factorNumber': transaction.id, 'description': transaction.description, 'validCardNumber': valid_card_number}