PriMoThemes — now s2Member® (official notice)
This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™
I don't see anything wrong with that approach. It's not ideal, but probably the closest you'll get at this time, given the current limitations of Authorize.Net integration in this regard. Your custom API script should be able to handle the promotion back to Level #1 automatically though.As far as the EOT handling, do you have any suggestions? I was thinking of letting the system downgrade the user upon receiving a notification from Auth.net, but then using the s2member notification API to send myself a message, where I'd then make them a Level1 member again. Does that approach make sense?
<?php
$user_id = 123;
$user = new WP_User($user_id);
$user->set_role("s2member_level1");
?>
Users browsing this forum: Exabot [Bot], Google [Bot] and 2 guests