Edward Robertshaw
asked this on May 16, 2011 12:47 pm
If I visit:
https://x.chargify.com/update_payment/secret/token
On successfully processing a credit card I want to redirect the
user back to our site. In the same way as I can if I used the new
option:
https://x.chargify.com/h/secret/subscriptions/new
Am I missing something?
Kind regards,
Edward
Comments
Hello Edward,
Thank you for contacting Chargify.
The following link to Chargify's documentation on Return URLs may be of assistance:
http://docs.chargify.com/hosted-page-settings
They are configured on a per-product basis per this link to Product Options:
http://docs.chargify.com/product-options
I hope that this addresses your question. I am closing this ticket for now. It will reopen should you reply with additional questions.
Regards,
Jay G.
Jay,
The return URL only seams to work on the new products page and not on the update credit card page.
I am asking about the same functionality on the update product page. I can't tell if its possible to do on the update product page.
I have attempted this and thus far failed to get the desired outcome.
Edward
Hi Edward,
Thanks for your reply.
I am forwarding your message to our technical sales team for their review.
Regards,
Jay G.
Hi Jay
Is there any update on this?
Regards
Mohd Farid
I haven't heard back. Not sure if that last message was intended for me though, with it being addressed at Jay :)
I'm also seeing the same problem. Does anyone at Chargify have any news?
Hey guys, there's no built in functionality for this, but I agree there should be. This is probably a feature you'll see pop up sometime.
The current default behavior is to re-display the edit form with the message "Your payment information was successfully updated. It is now safe to leave this page.". This is a bit kludgy, but you could use javascript to redirect, if the URI path includes "/update_payment" AND that success string (or part of it) was on the page. I think I actually remember someone telling me they were doing that.
Michael,
Thanks for the reply.
Ouch but still good to know.
Edward
Would you happen to have a cut and paste example of that javascript?
just tried:
if (document.getElementsByClassName("message")[0] != null)
window.location = "http://www.google.com";
Seams to do the trick....
@Edward, what event are you listening to?
Update, I couldn't get this to work with jquery load, but an old school onload did the trick.
Still following, yes.
I just enter the block above into the config box, no events.