Changeset 17240 for main


Ignore:
Timestamp:
24 Dec 2022, 09:23:42 (2 years ago)
Author:
Henrik Bettermann
Message:

Now it works!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/branches/uli-paypal/src/kofacustom/nigeria/paypal/applicantsbrowser.py

    r17239 r17240  
    124124        if response.get("status", None) == "COMPLETED":
    125125            self.context.p_state = u'paid'
    126         if not RRR:
     126        if not response:
    127127            self.flash(_('Paypal Order ID not found.'), type='danger')
    128128            return
     
    180180            return _("Paypal order failed: %s") % err_msg
    181181        self.context.r_payment_link = payment_link
     182        self.context.r_pay_reference = order_id
    182183        self.context.r_company = u'paypal'
    183184        self.customer = self.context.__parent__
Note: See TracChangeset for help on using the changeset viewer.