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.

Multiple Silent Post URLs

Home Forums Community Forum Multiple Silent Post URLs

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

Topic Author Topic
Posted: Wednesday Mar 20th, 2013 at 12:21 pm #45239

I am using s2 membership (auth.net pro forms) and events manager pro. Both require an IPN url.

Is there a way to test for a unique s2 post variable so set up IPN url broadcasting.

I have a PHP file that I can set seperate IPN. here is an excample

/* Fingerprints */

  if ( /* My Store IPN Fingerprint */
    preg_match( '#^d+|[a-f0-9]{32}$#', $_POST['custom'] ) /* Custom hash */
    
  ) $urls []= $ipns['mystore']; /* Choose this IPN URL if all conditions have been met */
  

I noticed there is a s2 invoice number. How would I use that?

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Thursday Mar 21st, 2013 at 4:50 pm #45397
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

I’m trying to understand what this custom code is to accomplish? Are you attempting to redirect from the IPN URL that s2Member’s data is being sent to, because you had to set it to something different?

If that’s the case, this shouldn’t be necessary. From the docs
(Dashboard -› s2Member® -› PayPal® Options -› PayPal® IPN Integration -› More Information):

*Quick Tip* In addition to the default IPN settings inside your PayPal® account, the IPN URL is also set on a per-transaction basis by the special PayPal® Button Code that s2Member provides you with. In other words, if you have multiple sites operating on one PayPal® account, that’s OK. s2Member dynamically sets the IPN URL for each transaction. The result is that the IPN URL configured from within your PayPal® account, becomes the default, which is then overwritten on a per-transaction basis. In fact, PayPal® recently updated their system to support IPN URL preservation. One PayPal® account can handle multiple sites, all using different IPN URLs.

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.