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.
http://www.elkarte.net/community/index.php?topic=831.msg5942#msg5942 O:-)
Welp, he does have a point, that topic is from 3 years ago O:-)
This seems to be what I needed and it looks like all logical issues are included in that as well :D Thanks!
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.
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?
Ehhhhh, next time please remind me to use ssi_shutdown() at the end. Everything gets verified now :D
lol