redirect after user creation

Sebastien Mignot's Avatar

Sebastien Mignot

15 May, 2012 05:24 PM

Hi,
I just finished setting up everything, and it works well. A little detail whould help me though :

Would it be possible to add the custom_code as a param when redirecting the customer after he gave his CB numbers ? I mean that I'm using the "Return Locations" in "Hosted Page" config, instead of sending the user back to http://app.360learning.com/blablaba, you could send him to http://app.360learning.com/blablaba?code=xxxx. I'm asking this because I have some setting up to do after a user has paid, so instead of checking on cheddargetter if a user has paid every time he comes through the loggin page, I can do the settup only when this url is called with his code (and then only will this user be marked as "paid" on my end, and i'll have to check each times he logs in if he hasn't canceled his CB or whatever).

Thank's in advance for your help !

  1. Support Staff 1 Posted by Marc Guyer on 16 May, 2012 12:38 PM

    Marc Guyer's Avatar

    Hi Sebastien -- We don't do this due to security issues. The recommended way to accomplish that is using the API (or the quick status lookup). You can do this only once and flag the customer as verified in your db or some other mechanism. Also, we are in final testing of a shiny new hook system that you could use for this purpose. Here's the documentation on that:

    http://support.cheddargetter.com/kb/operational-how-tos/web-hooks-s...

    We're planning to make it available to everyone in a week or so.

    Even if you use the hook, it is recommended to check a customers status periodically since it could change at any time. Otherwise, you could be providing service to customers who have stopped paying.

  2. 2 Posted by Sebastien Migno... on 16 May, 2012 12:50 PM

    Sebastien Mignot's Avatar

    Ok thank's, I'll look at the hooks.

    (btw, I don't quite get the security issue, since the customer can already get the custom code param when we send him to the payment page. as long as i understand that blablaba?code=xxx can be called by anyone on the net, and make the necessary verification of course)

  3. Support Staff 3 Posted by Marc Guyer on 16 May, 2012 12:59 PM

    Marc Guyer's Avatar

    Correct, the main issue is that anyone can guess the ?code=xxx. However, when a person is signing up, they're signing up as themselves so changing ?code=xxx to ?code=yyy has no effect. The risk arrises since the redirection could be highjacked and replayed by someone else, effectively stealing the real user's account.

  4. 4 Posted by Sebastien Migno... on 16 May, 2012 01:05 PM

    Sebastien Mignot's Avatar

    The service hook for the event user creation will do exactly what I need, that's prefect, thank's!
    Is there somewhere I can "subscribe for update" to get a mail when the hooks will be available ?

  5. 5 Posted by adam on 16 May, 2012 02:29 PM

    adam's Avatar

    Hi Sebastien, we'll send out a newsletter when this is released next week. Since you are a CheddarGetter user you will automatically receive it.

    Thanks,
    Adam

  6. Dean closed this discussion on 22 Jan, 2013 10:36 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM