Page 1 of 1

Existing members and billing address in s2member pro

PostPosted: June 7th, 2011, 10:46 am
by enextns
Dear S2member community,

We just recently upgraded to S2member pro (1.5.8) and after a few trials we got DPRP to work.
Now I've got two questions in regard to the members:

1. What happens to the existing members on S2member? And is there a way to import them into Salesforce?
2. When I want to update the billing information as a new user who signed up using a credit card on S2M Pro, I can't see my current billing address. Is there a way to change that?

Thank you very much for the help!

Re: Existing members and billing address in s2member pro

PostPosted: June 7th, 2011, 12:41 pm
by Cristián Lávaque
s2Member Pro has an Export tool that'd output a CSV file you can use to import into SalesForce. New members could be added repeating that on a schedule, or you could create a script to use the s2Member Notifications API to get them into SalesForce at the same time. WP Admin -> s2Member -> API / Notifications

Is the billing address entered into their WordPress profile or PayPal?

Re: Existing members and billing address in s2member pro

PostPosted: June 7th, 2011, 1:49 pm
by enextns
Thanks for the info on the API.

The billing address is (probably) not part of the wordpress profile. I check the users and user_meta tables, and didn't find any reference to that. Is it possible to access that information through the paypal API? Or is there an option in S2Member to save it locally?

Re: Existing members and billing address in s2member pro

PostPosted: June 7th, 2011, 2:17 pm
by Cristián Lávaque
Hmm... I'm not sure there's a way to store it locally other than creating Custom Registration Fields that you can populate in their profiles. I don't know if s2Member Pro Form's billing fields can work with the custom profile fields to share that data. I'll email Jason to have his input.

Re: Existing members and billing address in s2member pro

PostPosted: June 13th, 2011, 11:06 pm
by Jason Caldwell
Thanks for the excellent question.
~ and thanks for the heads up Cristián.

s2Member does not store any financial information within WordPress®, and that includes the billing address. That is, the billing address is NOT stored within WordPress, and that is a feature, for security and consumer protection.

That being said, if you're running s2Member Pro, you can seek assistance from a developer, who can pull details about each Customer through the PayPal Pro API. To make this easier, s2Member Pro provides an easy API wrapper that allows data to be retrieved from PayPal.

See this class method: paypal_api_response

I posted a code sample here showing how to retrieve a Recurring Profile from PayPal.
viewtopic.php?f=4&t=2062#p7407