Jamie Lentin
Jamie Lentin
Okay, the above mega-commit should switch everything I could think of over to keying on username. You may want to look closer at ``modules/usernames.py`` and decide if I'm doing the...
Remaining TODOs: - [x] Renewal request for invalid e-mail address should just display "An e-mail was sent if this valid", like an actual send (and certainly not error) - [x]...
The above hides the "unknown e-mail address" error, but only when ``is_testing = False``. This way we don't confuse ourselves excessively.
Seems eminently sensible. Would be nice to avoid the special-case lists though, could you do something like... * If a 400 is raised, try again with an OTT and see...
We definitely go with server-side templating here.
Okay, the above mega-commit reworks the entire Tour-rendering pipeline. The most interesting part is probably the converted tutorial: https://github.com/OneZoom/OZtree/blob/issue-537-templating-engine/views/tour/tutorial_MD.html - I'm pretty happy that the new format is an improvement...
Also, PayPal have a [cancel_return](https://developer.paypal.com/api/nvp-soap/paypal-payments-standard/integration-guide/Appx-websitestandard-htmlvariables/#cancel_returnoptionala-url-to-which-paypal-redirects-the-buyers'-browsers-if-they-cancel-checkout-before-completing-their-payments.-for-example,-specify-a-url-on-your-website-that-displays-the-payment-canceled-page.by-default,-paypal-redirects-the-browser-to-a-paypal-webpage.character-length:-1,024) option, to send users back somewhere if the payment process doesn't finish. This should point to the same location to allow users to try again.
To make this work we need to know we're dealing with the right person (i.e. they have the ``form_reservation_code``). Rather than invent a new state I'm thinking that "unverified waiting...
Rats. That was the hard part of this :) They'd know how much you paid (well, promised to pay), no other detail. We don't tell paypal anything other than OTT...
> Also, what if we have the call from PP, but our call back to them is blocked (like the 503 errors I was getting). I guess in this case...