Succesful with Drupal/Verotel/Amember

Discussion in 'Testimonials' started by erald, Oct 29, 2009.

  1. erald

    erald aMember Pro Customer

    Joined:
    Jul 23, 2009
    Messages:
    20
    I do love Amember which is an excellent basis to work from with quite some nice features build in.

    The support is good and we were able to solve some issues we had with the script.

    We are using Drupal in combination with the Verotel payment processor. And have changed several templates extensively which was quite a challenge to figure out how Amember was doing some things, but have a smooth working solution.

    The Verotel plugin is according to my idea not quite worked out since we had to make several changes in the IPN to avoid charge backs and refunds. Main problem is that the Verotel message handling is dead simple and amember needs to do some extra checking and processing to make it work smoothly.

    With now a week life and over 150 members (only one refund due to some messages which went into bit heaven (this is solved now) and one charge back (user claimed never been on the website)) we can say things are running smoothly.

    Have a look at : http://www.mistresst.net (beware this is an adult site)
  2. runchman

    runchman aMember Pro Customer

    Joined:
    Oct 8, 2009
    Messages:
    16
    Well a most, um, 'interesting' site!

    A minor point: reocurring is actually 'recurring'.

    Not that your viewers are probably critiquing the English on the site :)

    Looks nice (very polished looking to me),

    John
  3. markkoncewicz

    markkoncewicz New Member

    Joined:
    May 4, 2009
    Messages:
    3
    Can you please post these changes...

    Thanks
  4. erald

    erald aMember Pro Customer

    Joined:
    Jul 23, 2009
    Messages:
    20
    Well I used recurring as is used almost everywhere. But some native speakers told me it should be reoccurring. Looking it up I see it is both used and since I am not a native English speaker, the customer decides. (he is)
  5. erald

    erald aMember Pro Customer

    Joined:
    Jul 23, 2009
    Messages:
    20
    Well I think you mean the verotel ipn the rest is a bit much
    Basically I replace the code after the add.
    (needs still some polishing and optimization)

    PHP:
    $payment $db->get_payment($payment_id); 
        if(
    $payment[amount] != $amount){
            foreach(
    $db->get_products_list() as $pr){
                if(
    $pr[price]==$amount){
                    
    $payment[product_id] = $pr[product_id];

                    
    $product get_product($pr[product_id]);
                    
    $begin_date    $product->get_start();
                    if (
    $product->config['is_recurring']) {
                        
    $expire_date '2012-12-31';
                    } else {
                        
    $expire_date $product->get_expire($begin_date);  
                    }
                    
    $payment[begin_date] = $begin_date;
                    
    $payment[expire_date] = $expire_date;    
                    
    $payment[amount] = $amount
                    
    $db->update_payment($payment_id$payment);
                }
            }
        } 
        
    $err $db->finish_waiting_payment($payment_id'verotel'
        
    $pnref''$vars);
        if (
    $err AND (!$err == 'Payment is already completed')) {
            
    verotel_error("finish_waiting_payment error: $err");
        }

        
    // set expire date to infinite
        
    $p $db->get_payment($payment_id);    
        
    $product $db->get_product($p['product_id']);
        if (
    $product['is_recurring'])
            
    $p['expire_date'] = '2012-12-31';
        
    $db->update_payment($payment_id$p);
  6. amy66

    amy66 Member

    Joined:
    Apr 9, 2009
    Messages:
    33
    Very nice design.

Share This Page