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.

Letting users register right after Paypal

Home Forums Community Forum Letting users register right after Paypal

This topic contains 5 replies, has 3 voices. Last updated by  Sacha Greif 4 years, 10 months ago.

Topic Author Topic
Posted: Tuesday Feb 28th, 2012 at 3:42 pm #6682
Sacha Greif
Username: sachag

My current S2Member workflow looks like this:

  1. Click Paypal button
  2. Sign up with Paypal
  3. View page saying to check your inbox
  4. Click on link in email
  5. Complete WordPress registration

The problem with this is that many users never receive that email for some reason (spam filter, gets lost, etc.). So how could I set things up to skip this step? i.e., have the workflow become this:

  1. Click Paypal button
  2. Sign up with Paypal
  3. Complete WordPress registration

If that’s not possible, I also vaguely recall coming across an option to let people register on WP before paying, but that was discouraged because it lowers conversion. But I’d take that over the current workflow, so could you remind me where that option is located? (I looked everywhere and couldn’t find it again…).

Thanks in advance for your help!

EDIT: it seems that my Paypal integration had a couple problems… my basic question still stands, but I’m in the process of going through the logs which might help me answer some of my own questions.

  • This topic was modified 4 years, 10 months ago by  Sacha Greif.
  • This topic was modified 4 years, 10 months ago by  Sacha Greif.

List Of Topic Replies

Viewing 5 replies - 1 through 5 (of 5 total)
Author Replies
Author Replies
Posted: Wednesday Feb 29th, 2012 at 4:58 am #6747
Sacha Greif
Username: sachag

Any clue why I’m not seeing the registration form after being returned from Paypal? Here’s the screen I get instead:

http://cl.ly/Ecw4

Posted: Wednesday Feb 29th, 2012 at 5:14 am #6750

Hi Sasha.

You should be shown the registration form after checkout, but if s2Member doesn’t get all the info it needs from PayPal soon enough, it’ll show that message and have the user wait for the email, which would be sent after getting PayPal’s info.

The logs would definitely help. If you could post the log entries related to the transaction with the problem, x’ing out any private info, it’d be great.

Have you double checked all the integration settings? [hilite path]Dashboard -› s2Member® -› PayPal® Options[/hilite]

Posted: Wednesday Feb 29th, 2012 at 5:30 am #6753
Sacha Greif
Username: sachag

The logs say that in case you’re offering a free trial (which I am) Paypal does not supply any data after checkout and the sign up page might be skipped… any way to prevent this?

Anyway here’s the IPN log:

PHP v5.3.2-1ubuntu4.14 :: WordPress® v3.3.1 :: s2Member® v120219 :: s2Member® Pro v120219
Memory 33.65 MB :: Real Memory 34.00 MB :: Peak Memory 33.70 MB :: Real Peak Memory 34.00 MB
www.nrfight.tv/?s2member_paypal_notify=1
User-Agent: 
array (
  'txn_type' => 'subscr_signup',
  'subscr_id' => 'XXXXXXXXXXXX',
  'last_name' => 'Greif',
  'option_selection1' => 'www.nrfight.tv',
  'option_selection2' => '10.210.51.79',
  'residence_country' => 'FR',
  'mc_currency' => 'EUR',
  'item_name' => 'Accès aux vidéos Ceinture Blanche',
  'business' => 'info@XXXXXX.com',
  'recurring' => '8.00',
  'verify_sign' => 'ASvHPHf5fYCy1KL-lfORww4CaUbuAYtddYENqFxoIIDObYgEm5v6wAQM',
  'payer_status' => 'verified',
  'payer_email' => 'payments@XXXXXX.me',
  'first_name' => 'Sacha',
  'receiver_email' => 'info@XXXXXX.com',
  'payer_id' => 'XXXXXXXXXXXX',
  'option_name1' => 'Originating Domain',
  'invoice' => '4f4dfcc44b9dd~10.210.51.79',
  'option_name2' => 'Customer IP Address',
  'reattempt' => '1',
  'item_number' => '1',
  'subscr_date' => '02:24:22 Feb 29, 2012 PST',
  'custom' => 'www.nrfight.tv',
  'charset' => 'windows-1252',
  'notify_version' => '3.4',
  'period1' => '1 W',
  'mc_amount1' => '0.00',
  'period3' => '1 M',
  'mc_amount3' => '8.00',
  'ipn_track_id' => 'a4ed90a85XXXX',
  's2member_log' => 
  array (
    0 => 'IPN received on: Wed Feb 29, 2012 10:24:37 am UTC',
    1 => 's2Member POST vars verified through a POST back to PayPal®.',
    2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
    3 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ).',
    4 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ) w/o update vars.',
    5 => 'Signup Confirmation Email sent to: "Sacha Greif" <payments@XXXXXX.me>.',
    6 => 'Storing IPN signup vars into a Transient Queue. These will be processed on registration.',
  ),
  'subscr_gateway' => 'paypal',
  'eotper' => NULL,
  'ccaps' => NULL,
  'level' => '1',
  'ip' => '10.210.51.79',
  'initial_term' => '1 W',
  'initial' => '0.00',
  'regular' => '8.00',
  'regular_term' => '1 M',
)

And here’s the RTN log:

PHP v5.3.2-1ubuntu4.14 :: WordPress® v3.3.1 :: s2Member® v120219 :: s2Member® Pro v120219
Memory 31.81 MB :: Real Memory 32.00 MB :: Peak Memory 31.89 MB :: Real Peak Memory 32.00 MB
www.nrfight.tv/?s2member_paypal_return=1&s2member_paypal_return_tra=fnIyOms5c1lTRnA2UE1TVkRJM1E1OTVZeENiblI0UFViMEhROjU3NzhlNmVhNGE5YTg2Yjc2Yjc3NTA1M2JkYjVkN2UwfDQoCFyp_euvPCQAftjOVNoTWS-hzBDV1vcRCGFc2sAuxJZs0fWZ1XRPCZh9K8eGAnkrqCylqjVblej3erMLZHmbhcnXrcY3MRDkr59XNKyyKcKKtxUg9-kJz_G3i4DL2gzHlch3PsnVNymIMgihlS0IwjMfOR1ZDtHL4AfO8A1a-DyVlob61UAvP5VccvGUdDXTFMj7UuHiomHUNc_ZtVntaJlahRZeAECPv3GG1ZGx2IFy7nV2hfAOG8JRYgjA7aGnzkmrf4PxmrioI_2IiWoNC7dYNYolnN69ic1n38qBFisMjZEcRmLm5eYWcQGW10LxXTidmO6LRmEmLbbtJH5q83VUY-JzE2QNim6flHNPcX1ormsfXEUFkC0S1XRC6A
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11
array (
  'subscr_gateway' => 'paypal',
  's2member_log' => 
  array (
    0 => 'No Return-Data. Customer must wait for Email Confirmation.',
    1 => 'Redirecting Customer to the Home Page. Customer must wait for Email Confirmation.',
    2 => 'Note. This can sometimes happen when/if you are offering a free Trial Period. There are times when a Payment Gateway will NOT supply s2Member with any data immediately after checkout. When/if this happens, s2Member must process the transaction via IPN only ( i.e. behind-the-scene ), and the Customer must wait for Email Confirmation in these cases.',
    3 => 'array (
  's2member_paypal_return' => '1',
  's2member_paypal_return_tra' => 'fnIyOms5c1lTRnA2UE1TVkRJM1E1OTVZeENiblI0UFViMEhROjU3NzhlNmVhNGE5YTg2Yjc2Yjc3NTA1M2JkYjVkN2UwfDQoCFyp_euvPCQAftjOVNoTWS-hzBDV1vcRCGFc2sAuxJZs0fWZ1XRPCZh9K8eGAnkrqCylqjVblej3erMLZHmbhcnXrcY3MRDkr59XNKyyKcKKtxUg9-kJz_G3i4DL2gzHlch3PsnVNymIMgihlS0IwjMfOR1ZDtHL4AfO8A1a-DyVlob61UAvP5VccvGUdDXTFMj7UuHiomHUNc_ZtVntaJlahRZeAECPv3GG1ZGx2IFy7nV2hfAOG8JRYgjA7aGnzkmrf4PxmrioI_2IiWoNC7dYNYolnN69ic1n38qBFisMjZEcRmLm5eYWcQGW10LxXTidmO6LRmEmLbbtJH5q83VUY-JzE2QNim6flHNPcX1ormsfXEUFkC0S1XRC6A',
)',
  ),
  's2member_paypal_return_tra' => 'fnIyOms5c1lTRnA2UE1TVkRJM1E1OTVZeENiblI0UFViMEhROjU3NzhlNmVhNGE5YTg2Yjc2Yjc3NTA1M2JkYjVkN2UwfDQoCFyp_euvPCQAftjOVNoTWS-hzBDV1vcRCGFc2sAuxJZs0fWZ1XRPCZh9K8eGAnkrqCylqjVblej3erMLZHmbhcnXrcY3MRDkr59XNKyyKcKKtxUg9-kJz_G3i4DL2gzHlch3PsnVNymIMgihlS0IwjMfOR1ZDtHL4AfO8A1a-DyVlob61UAvP5VccvGUdDXTFMj7UuHiomHUNc_ZtVntaJlahRZeAECPv3GG1ZGx2IFy7nV2hfAOG8JRYgjA7aGnzkmrf4PxmrioI_2IiWoNC7dYNYolnN69ic1n38qBFisMjZEcRmLm5eYWcQGW10LxXTidmO6LRmEmLbbtJH5q83VUY-JzE2QNim6flHNPcX1ormsfXEUFkC0S1XRC6A',
)

(let me know if I left in any sensitive info, btw)

  • This reply was modified 4 years, 10 months ago by  Raam Dev. Reason: Obfuscated private info (email addresses)
Posted: Wednesday Feb 29th, 2012 at 12:36 pm #6772
Raam Dev
Username: Raam
Staff Member

Hi Sacha,

If you can use the Pro-Forms (WP Admin -> s2Member -> PayPal Pro Forms) in place of your single PayPal button, then you can have your users create their s2Member account before checking out at PayPal (their account won’t be given the necessary access until they’ve finished paying and s2Member has received confirmation via the IPN).

If you don’t want to use Pro-Forms, you could use the success= attribute in your PayPal button shortcode (see Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes (Explained)) to send the user to a specific page after checkout. I believe you can point that at your registration page so that’s the first thing users see after paying.

Using the success= attribute this way would require having Open Registration enabled in Dashboard -› s2Member® -› General Options -› Open Registration, otherwise the user will need to wait for the email; the link in that email is configured to allow access to the registration page when Open Registration is disabled, so if you want to avoid using that email you’ll need to turn Open Registration on.

For problems with email, please see Knowledge Base » Troubleshooting Email Delivery Problems. Configuring an SMTP server for delivering email usually solves problems with email going to spam.

Posted: Wednesday Feb 29th, 2012 at 4:58 pm #6813
Sacha Greif
Username: sachag

Thanks for your answer. But if I used the success attribute method, how would the new account that users create be linked up to their Paypal payment? (for example, if they use a different email address).

So I think I will keep the current system in place for now, and switch to the pro forms at a later stage, since I meant to do it anyway.

Viewing 5 replies - 1 through 5 (of 5 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.