latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Saving PayPal Shipping address in WP userdata

Home Forums Community Forum Saving PayPal Shipping address in WP userdata

This topic contains 1 reply, has 2 voices. Last updated by  Bruce 3 years, 11 months ago.

Topic Author Topic
Posted: Tuesday Feb 5th, 2013 at 7:38 am #40851

I thought this was a pre-sale question but was told no so hoping that also means the answer is that s2member supports this. So I’ve purchased a site license specifically for this one item of support.

I already know about using ns=”2″ so it forces paypal to ask for shipping address and sends it to me in an email. But how do I integrate that with s2member/wordpress so it will save the shipping address automatically in the new user account it makes after successful payment?

My product is a reoccuring physical print magazine. It’s not just an online magazine but an actual PHYSICAL print magazine so I need their shipping address and I wanted to get it from PayPal and not have to ask for it afterwards after they leave paypal. Also I want to use Paypal standard payments not paypal Pro payments.

If PayPal is set to ns=”2” is there anyway through IPN or something to get the shipping address saved in the wordpress user info?

I looked at http://www.primothemes.com/forums/viewtopic.php?f=36&t=699 and http://www.primothemes.com/forums/viewtopic.php?f=36&t=15901 but neither seem to say how to do that.

I purchased s2member pro specifically for support on this. Also I’d prefer to keep on using PayPal web payments standard with reoccuring payments and not PayPa website payments Pro because Pro has an extra montly cost.

Is this possible through any IPN / s2member coding/changes??

Jason Caldwell mentioned (in one of the threads above)

In the Shortcode that is generated by s2Member, make this change:
Code: Select all[s2Member-PayPal-Button ... ns="2" /]Setting ns=”2″ will force the Customer to enter a shipping address during checkout, and it also enables shipping details via IPN responses that are received by s2Member.

Excerpt from the Changelog ( v3.2.4 ):
– New Shortcode Attribute. s2Member now accepts another PayPal® Button Shortcode attribute ( ns=”1″ ) is s2Member’s default setting. This controls the `no_shipping` variable in your PayPal® Button.
`0` – to prompt for a shipping address, but NOT require one ( enables shipping details via IPN ).
`1` – to NEVER prompt for a shipping address ( this is the default for s2Member ).
`2` – to prompt for a shipping address, AND require one ( enables shipping details via IPN ).

….but s2member seems to be ignoring/not doing anything with the shipping address details it’s getting back from paypal via IPN. How do I get s2member to save that shipping address with the new wordpress user account it asks the user to create?

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Thursday Feb 7th, 2013 at 3:57 pm #41047
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry. We appreciate your patience.

s2Member is not designed to support shipping of physical goods normally, as s2Member is an eCommerce application. The No Shipping (ns) attribute in s2Member only prompts for a Shipping Address that is then sent to and stored securely by PayPal.

s2Member does not store any shipping or billing information on-site. s2Member only collects this information and sends it to PayPal to store. This allows site owners to then go to PayPal transactions within PayPal, and use the information provided by the Customer to send your physical goods. If you’d like to access this information on-site, you will need to set up an external handler for the POST vars that are sent by PayPal.

s2Member’s PayPal® IPN Handler is packaged within /s2member/includes/classes/paypal-notify-in.php. You can hook into this handler through the ws_plugin__s2member_before_paypal_notify hook created in this file.

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.