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.

Unconfirmed Address Transactions sent by Paypal IPN not being recognized by Simple Commerce Module

July 06, 2011 1:39pm

Subscribe [3]
  • #1 / Jul 06, 2011 1:39pm

    MasonH

    15 posts

    Hi there,

    I have a site setup on EE v2.1.3 build 20101220 using Simple Commerce Module v2.0. Most of the time, the module works great and my transactions are successfully recorded. However, every once in awhile the transactions are not recorded. I check my Paypal IPN history and the messages were sent and marked successful. Based on a forum search a few days ago (that I can’t seem to find again), I’m pretty sure that the Simple Commerce Module isn’t registering the transactions because the address_status is unconfirmed. The error happens repeatedly when the same customer comes back and tries to purchase different items. We sell downloads, so we don’t care if the address is confirmed or not.

    Question is, is there a way to get the Simple Commerce Module to not filter these transactions out? Or am I chasing the wrong problem?

    My preliminary searching around the Simple Commerce Module didn’t seem to contain the IPN-reading process. Thanks in advance!

  • #2 / Jul 07, 2011 6:50am

    John Henry Donovan

    12339 posts

    MasonH,

    I believe the SCM should not filter these transactions out. address_status as you are aware is an IPN variable but is accounted for in the SCM.

    Can I get you to upgrade to the most recent version EE2.2.1 and see if that makes a difference please
    We can then troubleshoot from the same version.
    can you also give us some idea of the set-up in your templates please?

  • #3 / Jul 18, 2011 6:42pm

    MasonH

    15 posts

    Hey there, upgrading to 2.2.1 on this system isn’t really an option at the moment. After some extensive tests, I discovered that the transactions that were failing all had a blank “address_state”. I pinpointed the location in the Simple Commerce Module to be this line:

    (stristr($result, 'VERIFIED'))

    I changed that line to

    (1 == 1)

    and my system now accepts and confirms purchases. I just wanted to update this thread with that information so that if anyone else experiences the issue they’ll see what I did, and also so that I can hopefully remember for when I do upgrade to the newer version of EE and need to figure out exactly what I changed to the core files.

    Thanks for taking a look.

  • #4 / Jul 19, 2011 5:06pm

    Brandon Jones

    5500 posts

    Hi MasonH,

    Glad you were able to make that work. Can I suggest a Feature Request for an option to allow unverified addresses? Thanks!

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

ExpressionEngine News!

#eecms, #events, #releases