I want to add some checks at /checkout.php.
I can't do this in the /cart. I'm using PayPal so need to wait until /checkout. Maybe later in checkout after they have signed into foxycart also so I have their real email address.
I want to check back via our db or api if the person checking out already has a subscription then do some extra checks and warn about creating duplicate subscriptions.
We have problems with folks renewing multiple times manually when they are about to be automatically renewed. They get the renewal notice and they can cancel now, but instead the go and sign up again. It clearly says it's going to automatically renew but people don't read.
I'm not sure where to jump into the flow. document.ready might be too early.
Any suggestions? (I do AJAX just don't know what object/event to hook on).