ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Simple Commerce subscriptions - IPN refused

August 18, 2013 9:51am

Subscribe [1]
  • #1 / Aug 18, 2013 9:51am

    lonelytraveller

    38 posts

    I’m trying to use Simple Commerce module to sell yearly memberships on a client’s site running on EE 2.6.1 (Build 20130506). I’m testing the whole subscription process using two real PayPal accounts (both verified) and 0,01c payments, no encryption. Also the merchant account is set to accept payments automatically. Also I’m testing everything while logged-in as a customer.

    The problem is: when I buy a membership PayPal seems to send two different IPNs, the first one for the subscription (txn_type=subscr_signup) and one for the actual payment (txn_type=subscr_payment). If I have a look at the cronology in my PayPal merchant’s account I can see that while txn_type=subscr_signup IPN gets through, subscr_payment can’t make it to my notification url - the error code I get from paypal is 500.
    As a result the purchase is not registered and the buyer doesn’t get any email - except the one from PayPal.

    I have already disabled a 3rd party plugin - VZ Bad Behavior - which was making the notification URL unavailable to PayPal. But if the 1st IPN is sent successfully, why not the second? If the listener can receive the first message, it should receive the second too… or am I wrong?

    Any suggestion would be much appreciated. 

    ==========
    EDIT: I cloned my install on a staging server, different host (the live site is hosted on OVH, the staging on Dreamhost) and changed the listener url accordingly: the ipn’s to the staging server are sent successfully, but Simple Commerce doesn’t record the purchase.
    If I understand the docs correctly, SC won’t handle the recurring payment - which is handled by PayPal - but does handle the purchase, which should be recorded in the “Purchase” page and all related events - that is send mail to customers, change member groups - should be fired as soon as the ipn is received.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases