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.

log out after paypal

Home Forums Community Forum log out after paypal

This topic contains 3 replies, has 3 voices. Last updated by  Eduan 4 years ago.

Topic Author Topic
Posted: Tuesday Dec 11th, 2012 at 6:02 pm #34304

Hi,

Thanks for this plugin – it’s really going to save my bacon.

I’ve added a paypal button to my site to pay for a one-off ccap addition:

[s2Member-PayPal-Button level="*" ccaps="chocolatetest" desc="Entry to the 2013 International Street Photography Awards test" ps="paypal" lc="" cc="GBP" dg="0" ns="1" custom="fotoura.com" ra="0.03" rp="1" rt="L" rr="BN" image="default" success="http://fotoura.com/my-account/enter-the-international-street-photography-awards-2013/entry-success/" output="button" /]

Which works great, apart from two things…

Firstly, it logs the user out so they have to log back in. Secondly it doesn’t send them to the success page.

They instead get the Auto return page template….

“Thank you! You now have access to:
Entry to the 2013 International Street Photography Awards test
Please Log Back In ( Click Here )”

Any ideas?

Thanks, Rich

Please see log below:

PHP v5.3.3 :: WordPress® v3.5 :: s2Member® v121204 :: s2Member® Pro v121204
Memory 43.62 MB :: Real Memory 43.75 MB :: Peak Memory 43.73 MB :: Real Peak Memory 43.75 MB
fotoura.com/?s2member_paypal_return=1&s2member_paypal_return_success=%2Fmy-account%2Fenter-the-international-street-photography-awards-2013%2Fentry-success%2F&tx=7DN07639U5458172D&st=Completed&amt=0.02&cc=GBP&cm=fotoura%2ecom&item_number=*:chocolate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11
array (
‘mc_gross’ => ‘0.02’,
‘invoice’ => ’50c7b85846763~46.65.33.46′,
‘protection_eligibility’ => ‘Ineligible’,
‘payer_id’ => ‘2GRY4ZUB2EEKY’,
‘tax’ => ‘0.00’,
‘payment_date’ => ’14:50:07 Dec 11, 2012 PST’,
‘payment_status’ => ‘Completed’,
‘charset’ => ‘windows-1252’,
‘first_name’ => ‘Richard’,
‘option_selection1’ => ‘133’,
‘option_selection2’ => ‘46.65.33.46’,
‘mc_fee’ => ‘0.02’,
‘custom’ => ‘fotoura.com’,
‘payer_status’ => ‘verified’,
‘business’ => ‘rich@fotoura.com’,
‘quantity’ => ‘1’,
‘payer_email’ => ‘rich@miune.com’,
‘option_name1’ => ‘Referencing Customer ID’,
‘option_name2’ => ‘Customer IP Address’,
‘txn_id’ => ‘7DN07639U5458172D’,
‘payment_type’ => ‘instant’,
‘last_name’ => ‘Garner’,
‘receiver_email’ => ‘rich@fotoura.com’,
‘receiver_id’ => ‘PCD6FSR8FLMLG’,
‘txn_type’ => ‘web_accept’,
‘item_name’ => ‘Entry to the 2013 International Street Photography Awards test’,
‘mc_currency’ => ‘GBP’,
‘item_number’ => ‘*:chocolate’,
‘residence_country’ => ‘GB’,
‘handling_amount’ => ‘0.00’,
‘transaction_subject’ => ‘fotoura.com’,
‘shipping’ => ‘0.00’,
‘s2member_log’ =>
array (
0 => ‘Return-Data received on: Tue Dec 11, 2012 10:49:24 pm 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` ) w/ update vars for Capabilities w/o Level.’,
4 => ‘s2Member Custom Capabilities updated w/ advanced update routines.’,
5 => ‘Transient Tracking Cookie set on ( `web_accept` ) w/ update vars for Capabilities w/o Level.’,
6 => ‘Redirecting Customer to the Login Page. They need to log back in.’,
),
‘subscr_gateway’ => ‘paypal’,
‘subscr_id’ => ‘7DN07639U5458172D’,
‘eotper’ => NULL,
‘ccaps’ => ‘chocolate’,
‘level’ => ‘*’,
‘ip’ => ‘46.65.33.46’,
‘s2member_paypal_return_success’ => ‘/my-account/enter-the-international-street-photography-awards-2013/entry-success/’,
)

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Wednesday Dec 12th, 2012 at 2:22 pm #34399
Bruce
Username: Bruce
Staff Member

Hi Richard,

I’m sending this to our development team to look at. For now, can you try adding this line of code to a Must Use Plugin, by copying this code to a .php file, and adding it to your /wp-content/mu-plugins/ directory (create it if you don’t have it)?

http://fotoura.com/my-account/enter-the-international-street-photography-awards-2013/entry-success/’;
}
[/hilite]

  • This reply was modified 4 years ago by  Eduan. Reason: Fixed folder name
Posted: Wednesday Dec 12th, 2012 at 2:58 pm #34407

Hi, would love to, but unfortunately creating plugins is a little beyond me.

I will wait to hear what the development team say! Unless you have an idiot’s guide…

thanks
Rich

Posted: Wednesday Dec 12th, 2012 at 8:51 pm #34443
Eduan
Username: Eduan
Moderator

Hello Richard,

I think Bruce meant a must-use plugin, which is basically a hack, not an entire plugin.

I fixed the folder name in his post. :)

– Eduan

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