PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

debugging s2member pro payment notification urls

s2Member Plugin. A Membership plugin for WordPress®.

debugging s2member pro payment notification urls

Postby dackert » December 16th, 2010, 3:22 pm

I'm working on integrating s2member with WP Affilliate. I've followed the instructions here http://www.tipsandtricks-hq.com/wordpre ... ftware-368 and verified that calling the notification url directly DOES talk to WP Affiliate.

However, when I do a test purchase, WP Affiliate does not track the sale. Does s2member not fire those URLs when it's in sandbox mode?

How can I debug s2member to determine if it's attempting to fire the payment notification url?

Specs:
My site is in paypal sandbox mode.
s2member: 3.3.2
s2member pro: 1.3.2
WP Affiliate: 4.2.1
User avatar
dackert
Registered User
Registered User
 
Posts: 5
Joined: December 10, 2010

Re: debugging s2member pro payment notification urls

Postby dackert » December 20th, 2010, 12:42 pm

Any feedback on this? I have to go live in a couple weeks and this one issue will kill the project. Help!
User avatar
dackert
Registered User
Registered User
 
Posts: 5
Joined: December 10, 2010

Re: debugging s2member pro payment notification urls

Postby dackert » December 23rd, 2010, 10:21 am

In case anyone else runs into this, I discovered the answer.

When I create an s2member pro form with zero days free, paypal actually processes the charge on the day after I sign up. When it finally processes the payment, it notifies s2member which then processes its payment notification urls.

In my case, the steps to integrate with WP Affiliate were correct. I was just expecting an instant notification from paypal when my form was set to zero days free. But apparently, paypal doesn't do that with recurring subscriptions.

Jason, dev team, is that accurate?
User avatar
dackert
Registered User
Registered User
 
Posts: 5
Joined: December 10, 2010

Re: debugging s2member pro payment notification urls

Postby wiseeyesmedia » January 30th, 2011, 10:32 pm

I, too, noticed that with S2Member Pro, PayPal subscription forms with zero free days do not actually process subscription orders that day. In the wp-content/plugins/s2member-logs/paypal-pro-api.log file you will see the transaction process with an 'initial_payment_amount' of $0.00 and the 'next_payment_date' set to the following day.

I think this is a big problem with S2Member Pro. We need to be able to have PayPal Pro subscriptions with immediate billing.
User avatar
wiseeyesmedia
Experienced User
Experienced User
 
Posts: 11
Joined: January 30, 2011

Re: debugging s2member pro payment notification urls

Postby wiseeyesmedia » January 30th, 2011, 11:31 pm

Doing some additional research from the PayPal API shows that this is a generic issue with subscriptions that are initiated late in the day:

https://www.x.com/thread/42204

The solution seems to be charging an initial payment with the same amount as the recurring payment and setting the next PROFILESTARTDATE to be + 1 month. S2Member Pro does not allow an initial payment to be the same as the recurring one. Even making the charge 1 cent less with an initial Payment will not register the same day.

The only way I have found to make this work is to manually go into PayPal and modify the subscription payment so that it take effect on the current date. This will result in an immediate charge to the user, and S2Member Pro will pick up the changes and allow the user to access the content.

IMHO, this is a significant problem for us S2Member Pro users. Can the devs take a look at this? I would be happy to help test.
User avatar
wiseeyesmedia
Experienced User
Experienced User
 
Posts: 11
Joined: January 30, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron