Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/q/u/qualitio-HEAD/qualitio/payments/views.py   qualitio(Download)
 
    elif request.POST.get('txn_type') == 'recurring_payment_profile_created':
        profile.status = Profile.PENDING
 
    profile.save()
            payment.valid_time = valid_time
            payment.paypal_id = paypal_response['PROFILEID']
            payment.status = Profile.PENDING
 
            payment.save()
    def get(self, request, *args, **kwargs):
        payment = self.request.organization.payment
 
        if payment.status in (Profile.PENDING, Profile.ACTIVE):
            try:
                    raise e
 
        if payment.status == Profile.PENDING:
            payment.status = Profile.INACTIVE
            payment.strategy = Strategy.get_default()