User Activity Delay Upon Payment Completion?

Hello,

I've been testing out a cc payment system I wrote and I am noticing a delay in the user accessing Activities they should be able to do when the user is returned to the site. The user needs to log out and log back in before their allowed Activities kick in and they can use things like chat, etc...

The payment system is a big and nasty hack of the paypal module but everything works and does as it should as far as I can tell.

Am I missing anything here?

Some Details:

Before I start the payment process I always go into "profiles" and change the test users "Status to "Active" after joining since I am using bogus email accounts for testing. I am using a different browser for the user functions than when I do the admin work.I'm using 2 different profile instances of Firefox Aurora18.0a2.

Even when I look in the users cache page the value:

$aUser[2797]['Status'] = 'unconfirmed';

is there after I change the status in the profile table.  I check it again after payment completion and the status is still "unconfirmed" and when I log out/back in as the user the cache page will still say "unconfirmed". At this point the user can do the allowed activities and it isn't until some time later that I see in the change users cache page status to: $aUser[2797]['Status'] = 'Active';

Even if I delete the users cache page after I finish paying it will come back with the status still "unconfirmed".

This leads to to think that the users status in the cache doesn't have anything to do with it and is not related to the real cause. Could it be that there was some function that I missed in ripping the paypal module apart?

I would love to make it so my users can comeback from paying and hit the ground running and not have to do browser gymnastics to start using their account.

I can not seem to find any info on this in the forums or on google.

What could be going on here? How can I fix this?

Thanks

Jessica

 

Quote · 18 Oct 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.