Updating user's group
I've a question about updating user's group. I'm integrating a shop that's integrated with paypal ipn, that's going to be integrated into ElkArte (makes sense). Are there any precautions, when updating the group field in database? This would be equivalent to - payment validated, give this user a Premium status. For obvious reasons I wouldn't force to change it if a user has already a "higher rank".
Will this require only changing id_group from elkarte_members table? Or should I add it to additional_groups?
PS. I'm still finishing up the shop, so this isn't urgent yet.
Re: Updating user's group
Reply #4 –
Hmmm, I got to the add members to group phase, however there is some weird paypal behaviour. If I require once the SSI.php in my ipn.php, the paypal ipn won't get verified and won't receive the handshake.
Re: Updating user's group
Reply #5 –
Well... it's difficult to guess.
Elk itself uses SSI for subscriptions.php, so it should work.
It may be almost any thing, so some more context would be useful, for example what code are you using for your IPN?