Cancellation of accounts in 1shoppingcart? How to..

Discussion in 'Payments processing' started by ljmora501, Nov 10, 2009.

  1. ljmora501

    ljmora501 aMember Pro Customer

    Joined:
    Nov 2, 2009
    Messages:
    8
    Hi everyone,

    I'm curious as to how people who have membership websites using amember/1shoppingcart go about cancellations of accounts. Is this something you take care of manually (if a user submits a request via a form or something on your site, you then manually remove them in 1shoppingcart)? Or is there an automated solution for doing this?

    Would love some insight. Thanks again in advance.
  2. karlpalachuk

    karlpalachuk New Member

    Joined:
    Jul 22, 2008
    Messages:
    14
    1SC Cancellations Unsupported via 1SC API

    Hello ljmora,

    The only way I've been able to do this is manually since 1SC doesn't support this in their API. Basically setup a link on the member page for unsubscribing that calls another php file that sends an email to your accounting department and sends a message to the user that their request will be processed in xxx days. Then accounting logs in to 1sc and suspends the recurring payment. I'm working on a link in the email that accounting would be able to click after suspending the account in 1SC to update aMember.

    P.S.
    What I did was in the template member_main.html under the Useful Links section was to add a mailto unsubscribe link such as

    <li><a href="mailto:user@domain.com?from={$user.email}&bcc=webmaster@domain.com&subject=Subscription Cancellation Request&body=Please cancel {$user.name_f} {$user.name_l} subscription to Domain.com.">Subscription Cancellation Request</a></li>

    Of course I added all the text to my en-custom.php language file and used the macros.

    You could enhance this even further by using the Smarty mailto function instead but you get the idea.

    John Wicks
    on behalf of....

Share This Page