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™

PayPal Pro Form - Prefill Update Form?

s2Member Plugin. A Membership plugin for WordPress®.

PayPal Pro Form - Prefill Update Form?

Postby blewis » November 26th, 2011, 11:56 pm

I am using s2member pro with PayPal Recurring. So far my setup seems to be working just fine. However, I was curious about one thing. I have a "Billing Update" form as part of my user profile section which will allow members to update their card info should it be about to expire. When they click on the page, it just shows the empty form. Should this form be pre-filled with existing PayPal profile information? If not, why not? Wouldn't it make a lot more sense to prefill existing info, since the most common update is only an expiration date change? I can understand if they have to enter all of the credit card info again, but the address? That's easily pulled from the PP profile.

Thanks,
Bryan
User avatar
blewis
Registered User
Registered User
 
Posts: 19
Joined: June 25, 2011

Re: PayPal Pro Form - Prefill Update Form?

Postby Cristián Lávaque » November 28th, 2011, 8:38 pm

Pro-form gets prefilled with the profile info when the user is logged in. Make sure you show it to a logged in user only. You can do it with simple conditionals or a page restriction.

WP Admin -> s2Member -> Restriction Options -> Page
WP Admin -> s2Member -> API / Scripting -> Simple/Shortcode Conditionals
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: PayPal Pro Form - Prefill Update Form?

Postby blewis » November 28th, 2011, 8:52 pm

The user is logged inn but the update form is blank. The only unusual thing is that this user was migrated from an older membership system (not s2Member). So I manually set their gateway to PayPal and entered their recurring PayPal subscriber ID in the admin 9and manually assigned them Level #1). Could this cause the issue?

Thanks,
Bryan
User avatar
blewis
Registered User
Registered User
 
Posts: 19
Joined: June 25, 2011

Re: PayPal Pro Form - Prefill Update Form?

Postby Cristián Lávaque » November 30th, 2011, 6:35 pm

It shouldn't be causing a problem. The user still has a profile, it's stored just as any other, and this should populate the pro-form's profile fields. Do other users have the pro-form populated when the are logged in at the time they load it?

Maybe you have a JavaScript problem. As a test, could you change the theme to the default TwentyEleven and see if the pro-form now works? If it still doesn't, could you deactivate the other plugins one by one and check the form after each? This way you could identify what's causing the problem and get it fixed or replace it with an alternative.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: PayPal Pro Form - Prefill Update Form?

Postby blewis » November 30th, 2011, 6:47 pm

None of the users are showing update data pre-filled.

Because the site is now live, I would have to wait to do this sort of thing in an off time. I can tell you that the error console does not show any JS errors. I will try the theme switch as soon as possible

Thanks,
Bryan
User avatar
blewis
Registered User
Registered User
 
Posts: 19
Joined: June 25, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 2 guests

cron