Circumventing s2Member PayPal Return URL
Posted: September 1st, 2011, 12:15 pm
I'm seeking a slight clarification to this: viewtopic.php?f=4&t=10300#p22105
Somewhere I read (but I can't find the reference) that s2Member can use PayPal PDT payment return data to provisionally and immediately set a member's new level, without having to await the IPN message.
That is, suppose a user buys a Level0-to-Level1 (upsell) subscription. Using button code return URL (or AutoReturn), with PDT configured, and if the URL contains /?s2member_paypal_return=1, then s2Member can interpret the PDT data to determine if the transaction was a success. If so, then s2Member can immediately set the user's level to Level1.
(Notice that this scenario does not include a PayPal Free Trial period, because PayPal does not provide PDT data when no payment was actually made... which is unfortunate, but true.)
If I do not use a URL with /?s2member_paypal_return=1, then s2Member won't see the PDT, and cannot immediately set the user to Level1 (and I must await the IPN, which could be seconds or minutes depending on various issues).
Many thanks for any additional insight.
Somewhere I read (but I can't find the reference) that s2Member can use PayPal PDT payment return data to provisionally and immediately set a member's new level, without having to await the IPN message.
That is, suppose a user buys a Level0-to-Level1 (upsell) subscription. Using button code return URL (or AutoReturn), with PDT configured, and if the URL contains /?s2member_paypal_return=1, then s2Member can interpret the PDT data to determine if the transaction was a success. If so, then s2Member can immediately set the user's level to Level1.
(Notice that this scenario does not include a PayPal Free Trial period, because PayPal does not provide PDT data when no payment was actually made... which is unfortunate, but true.)
If I do not use a URL with /?s2member_paypal_return=1, then s2Member won't see the PDT, and cannot immediately set the user to Level1 (and I must await the IPN, which could be seconds or minutes depending on various issues).
- Am I correct that s2Member will use PDT information to set a user's Level (before IPN comes through)?
- By not using /?s2member_paypal_return=1, am I losing this capability (such that IPN is then the ONLY way level will be upgraded)?
Many thanks for any additional insight.