AlertPay Recurring subscription issue?

Discussion in 'Payments processing' started by shahg12, Jul 19, 2010.

  1. shahg12

    shahg12 New Member

    Joined:
    Oct 11, 2007
    Messages:
    24
    Hi,

    I had setup alertpay recurring subscription and a few of my members subscribed!

    Today a recurring payment came through BUT it wasn't added to member's account automatically!

    I have used PayPal recurring subscription and when ever a payment came through it was added to member's account immediately!

    This is the error I got in error log:

    Code:
    ALERTPAY ERROR: Transaction declined (%s) (Details: PNREF:121212-CA2E6-65C1A, invoice:12345) 
    Can someone please help?

    Thanks
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Please contact us in helpdesk and provide access info. We will fix this.
  3. shahg12

    shahg12 New Member

    Joined:
    Oct 11, 2007
    Messages:
    24
    I have opened a ticket

    # HRT-98836-428

    What could be the issue sir?

    Thanks
  4. shahg12

    shahg12 New Member

    Joined:
    Oct 11, 2007
    Messages:
    24
    Hi I have opened the ticket but it doesn't appear in the "Open Tickets" page!

    Can you please post the solution here??

    Thanks
  5. shahg12

    shahg12 New Member

    Joined:
    Oct 11, 2007
    Messages:
    24
    I have managed to fix the recurring payment activation issue myself...

    In the alertpay folder edit /ipn.php

    replace:

    Code:
    if ($status != 'Success')
        alertpay_error(_PLUG_PAY_ALERTPAY_ERROR2);

    with:

    Code:
     if ($status != 'Success' && $status != 'Subscription-Payment-Success' && $status != 'Subscription-Canceled')
        alertpay_error(_PLUG_PAY_ALERTPAY_ERROR2);
    Have tested it and all seems OK now! FIXED

    Thanks

Share This Page