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.

paypal Sucess attribute

Home Forums Community Forum paypal Sucess attribute

This topic contains 8 replies, has 2 voices. Last updated by  Cristián Lávaque 3 years, 6 months ago.

Topic Author Topic
Posted: Monday Jun 17th, 2013 at 11:07 am #52036

HI,Read through all articles…sent in request..still having problems with the auto return sucess attribute> i want visually bypass the s2 auto return generated page to any standard page on my site.

this is the code:

[s2If is_user_logged_in()][s2Member-PayPal-Button level="1" ccaps="hgvdriver" desc="HGV Driver Course" ps="paypal" lc="" cc="EUR" dg="0" ns="1" custom="www.scitrans.ie" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="L" rr="BN" rrt="" rra="1" image="default" output="button" success="https://www.scitrans.ie/wp/thank-you/?subscr_id=%%subscr_id%%"/][/s2If][s2If !is_user_logged_in()] You must be logged in to purchase this course.[/s2If

Can you advise???

List Of Topic Replies

Viewing 8 replies - 1 through 8 (of 8 total)
Author Replies
Author Replies
Posted: Tuesday Jun 18th, 2013 at 6:46 am #52087

Please enable logging and do the test purchase again. I’d like to see the log entries created from it, to see if any errors are mentioned (x’ing out any private info from the entries if you post them here). [hilite path]Dashboard -› s2Member® -› Log Files (Debug) -› Logging Configuration[/hilite]

Or you can submit your site’s info after generating the logs from the test, so I can view them there. Just let me know here after you sent the email, thanks! s2Member® » Private Contact Form

Posted: Tuesday Jun 18th, 2013 at 6:48 am #52088

log here

LOG ENTRY: Tue Jun 18th, 2013 @ precisely 9:33 am UTC
PHP v5.3.26 :: WordPress® v3.5.1 :: s2Member® v130617 :: s2Member® Pro v130617
Memory 5.85 MB :: Real Memory 6.00 MB :: Peak Memory 5.97 MB :: Real Peak Memory 6.25 MB
http://www.XXX.ie/wp/?s2member_paypal_return=1&s2member_paypal_return_tra=fnIyOlVNNWtlN3F5dDJhRXNZbGE4dG9JcXdITmNqNFV5RkFyOjNmNmFjZTYzYWIxYzY2Y2M1N2Q4ZmVjYjY2YWQyN2JjfLT18giVWbkqS2h6be3pk5m-Duy7tc8zsqssbGjFGurVooTurV3vO2B5Hvd7kxUcGOghlg7h6nLNL_OviTV4e79FadNGdwdAqNTfdPZrhtON200A5UKq26iEAoXuLexLftNLXPXkYIY9Wn6my94uy9tFgKjlezUY-s71TMHWhCf-xiFt-338lkIcjtpQb0nXX1WI44WKdnOSSa-L7Z7eVpzQ8STz-7Nqe3aHDDQxjyrWZQlZ2rJGR1mtQDSTQAs1aPrzPZ2Xi1Z96wM70phV_5rX43cdG8_FCL48BDZsqRcL2FD0HoLSJgng1OSoPYsFz0CG7JFJJqGymMiOdBuObWP-1tiK7so5bgZXPkQurB9RFcDrbxpizlIcz4LXQ7nstg&s2member_paypal_return_success=https%3A%2F%2Fwww.scitrans.ie%2Fwp%2Fthank-you%2F%3Fsubscr_id%3D%25%25subscr_id%25%25&tx=54904560XY1513347&st=Completed&amt=0.01&cc=EUR&cm=www%2escitrans%2eie&item_number=1:hgvdriver
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
array (
‘mc_gross’ => ‘0.01’,
‘invoice’ => ’51c02932df94b~193.1.82.90′,
‘protection_eligibility’ => ‘Ineligible’,
‘payer_id’ => ‘YV5BBGU6CW3U8’,
‘tax’ => ‘0.00’,
‘payment_date’ => ’02:32:54 Jun 18, 2013 PDT’,
‘payment_status’ => ‘Completed’,
‘charset’ => ‘windows-1252’,
‘first_name’ => ‘simon’,
‘option_selection1′ => ’12’,
‘option_selection2’ => ‘193.1.82.90’,
‘mc_fee’ => ‘0.01’,
‘custom’ => ‘www.XXXXX.ie’,
‘payer_status’ => ‘verified’,
‘business’ => XXX@XXX.ie’,
‘quantity’ => ‘1’,
‘payer_email’ => ‘XXX@XXXXie’,
‘option_name1’ => ‘Referencing Customer ID’,
‘option_name2’ => ‘Customer IP Address’,
‘txn_id’ => ‘54904560XY1513347’,
‘payment_type’ => ‘instant’,
‘last_name’ => ‘XXX’,
‘receiver_email’ => ‘XXX@XXX.ie’,
‘receiver_id’ => ‘KTJ5T9AULLHZ2’,
‘txn_type’ => ‘web_accept’,
‘item_name’ => ‘HGV Driver Course’,
‘mc_currency’ => ‘EUR’,
‘item_number’ => ‘1:hgvdriver’,
‘residence_country’ => ‘IE’,
‘handling_amount’ => ‘0.00’,
‘transaction_subject’ => ‘www.XXXX.ie’,
‘shipping’ => ‘0.00’,
‘s2member_log’ =>
array (
0 => ‘Return-Data received on: Tue Jun 18, 2013 9:33:03 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|subscr_payment` ).’,
4 => ‘s2Member `txn_type` identified as ( `web_accept|subscr_signup|subscr_payment` ) w/ update vars.’,
5 => ‘s2Member Level/Capabilities updated w/ advanced update routines.’,
6 => ‘Transient Tracking Cookie set on ( `web_accept|subscr_signup|subscr_payment` ) w/ update vars.’,
7 => ‘Redirecting Customer to the Login Page (after displaying a quick thank-you message). They need to log back in.’,
),
‘subscr_gateway’ => ‘paypal’,
‘subscr_id’ => ‘54904560XY1513347’,
‘eotper’ => NULL,
‘ccaps’ => ‘hgvdriver’,
‘level’ => ‘1’,
‘ip’ => ‘193.1.82.90’,
‘period1’ => ‘0 D’,
‘mc_amount1’ => ‘0.00’,
‘period3’ => ‘1 L’,
‘mc_amount3’ => ‘0.01’,
‘initial_term’ => ‘0 D’,
‘initial’ => ‘0.01’,
‘regular’ => ‘0.01’,
‘regular_term’ => ‘1 L’,
‘recurring’ => ‘0’,
‘s2member_paypal_return_success’ => ‘https://www.scitrans.ie/wp/thank-you/?subscr_id=%%subscr_id%%’,
‘s2member_paypal_return_tra’ => ‘fnIyOlVNNWtlN3F5dDJhRXNZbGE4dG9JcXdITmNqNFV5RkFyOjNmNmFjZTYzYWIxYzY2Y2M1N2Q4ZmVjYjY2YWQyN2JjfLT18giVWbkqS2h6be3pk5m-Duy7tc8zsqssbGjFGurVooTurV3vO2B5Hvd7kxUcGOghlg7h6nLNL_OviTV4e79FadNGdwdAqNTfdPZrhtON200A5UKq26iEAoXuLexLftNLXPXkYIY9Wn6my94uy9tFgKjlezUY-s71TMHWhCf-xiFt-338lkIcjtpQb0nXX1WI44WKdnOSSa-L7Z7eVpzQ8STz-7Nqe3aHDDQxjyrWZQlZ2rJGR1mtQDSTQAs1aPrzPZ2Xi1Z96wM70phV_5rX43cdG8_FCL48BDZsqRcL2FD0HoLSJgng1OSoPYsFz0CG7JFJJqGymMiOdBuObWP-1tiK7so5bgZXPkQurB9RFcDrbxpizlIcz4LXQ7nstg’,
)

Posted: Tuesday Jun 18th, 2013 at 6:49 am #52090

and here

LOG ENTRY: Tue Jun 18th, 2013 @ precisely 9:32 am UTC
PHP v5.3.26 :: WordPress® v3.5.1 :: s2Member® v130617 :: s2Member® Pro v130617
Memory 6.02 MB :: Real Memory 6.25 MB :: Peak Memory 6.11 MB :: Real Peak Memory 6.25 MB
http://www.XXX.ie/wp/?s2member_paypal_notify=1
User-Agent:
array (
‘mc_gross’ => ‘0.01’,
‘invoice’ => ’51c02932df94b~193.1.82.90′,
‘protection_eligibility’ => ‘Ineligible’,
‘payer_id’ => ‘YV5BBGU6CW3U8’,
‘tax’ => ‘0.00’,
‘payment_date’ => ’02:32:54 Jun 18, 2013 PDT’,
‘payment_status’ => ‘Completed’,
‘charset’ => ‘windows-1252’,
‘first_name’ => ‘simon’,
‘option_selection1′ => ’12’,
‘option_selection2’ => ‘193.1.82.90’,
‘mc_fee’ => ‘0.01’,
‘notify_version’ => ‘3.7’,
‘custom’ => ‘www.XXX.ie’,
‘payer_status’ => ‘verified’,
‘business’ => ‘XXX@XXX.ie’,
‘quantity’ => ‘1’,
‘verify_sign’ => ‘AvS4yPiuKVcZEcpO0Qqb0rOAmA24AoHMr-YUDlPWfplGzBpFpN4-YBsv’,
‘payer_email’ => ‘XXXX@XXX.ie’,
‘option_name1’ => ‘Referencing Customer ID’,
‘option_name2’ => ‘Customer IP Address’,
‘txn_id’ => ‘54904560XY1513347’,
‘payment_type’ => ‘instant’,
‘last_name’ => ‘mccabe’,
‘receiver_email’ => ‘XXX@XXX.ie’,
‘payment_fee’ => ”,
‘receiver_id’ => ‘KTJ5T9AULLHZ2’,
‘txn_type’ => ‘web_accept’,
‘item_name’ => ‘HGV Driver Course’,
‘mc_currency’ => ‘EUR’,
‘item_number’ => ‘1:hgvdriver’,
‘residence_country’ => ‘IE’,
‘handling_amount’ => ‘0.00’,
‘transaction_subject’ => ‘www.XXX.ie’,
‘payment_gross’ => ”,
‘shipping’ => ‘0.00’,
‘ipn_track_id’ => ’54f1d77166021′,
‘s2member_log’ =>
array (
0 => ‘IPN received on: Tue Jun 18, 2013 9:32:57 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/ update vars.’,
5 => ‘s2Member Level/Capabilities updated w/ advanced update routines.’,
6 => ‘Modification Confirmation Email sent to Customer, with a URL that provides them with a way to log back in.’,
7 => ‘User exists. Handling `payment` for Subscription via ( `web_accept` ).’,
8 => ‘Storing IPN signup vars now. These are associated with a User\’s account record; for future reference.’,
),
‘subscr_gateway’ => ‘paypal’,
‘subscr_id’ => ‘54904560XY1513347’,
‘eotper’ => NULL,
‘ccaps’ => ‘hgvdriver’,
‘level’ => ‘1’,
‘ip’ => ‘193.1.82.90’,
‘period1’ => ‘0 D’,
‘mc_amount1’ => ‘0.00’,
‘period3’ => ‘1 L’,
‘mc_amount3’ => ‘0.01’,
‘initial_term’ => ‘0 D’,
‘initial’ => ‘0.01’,
‘regular’ => ‘0.01’,
‘regular_term’ => ‘1 L’,
‘recurring’ => ‘0’,
)

Posted: Tuesday Jun 18th, 2013 at 7:04 am #52094

Hi Cristian,
Just discovered that the success attribute works with a pro form button but not standard paypal button. Any ideas why?

Trying to hide aspects of the paypal pro form (username etc) with style sheet, getting nothing on that.

Posted: Tuesday Jun 18th, 2013 at 7:11 am #52096

I see, it’s an upgrade, not a signup. The success attribute only works with signups, not existing users. See: [hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> success[/hilite]

Trying to hide aspects of the paypal pro form (username etc) with style sheet, getting nothing on that.

If the user is not logged in, then the pro-form is just for payment, doesn’t show profile fields. Could you show me the shortcode of the pro-form you’re trying?

Posted: Tuesday Jun 18th, 2013 at 8:54 am #52100

HI Cristian,
That seems a little confusing; at the minute if a subscriber is logged in they can use the pro form button (to get L1 access) and they can (as desired) bypass the auto return page.
Are you saying that if they purchase something else to give them additional custom capabvilities they will have to go through the autoreturn page?

For i’d like to look like a standard paypal button (i.e. minus username etc.

[s2Member-Pro-PayPal-Form level="1" ccaps="hgvdriver" desc="$0.01 EUR / One Time (for lifetime access, non-recurring, no trial)" ps="paypal" lc="" cc="EUR" dg="0" ns="1" custom="www.xxx.ie" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="L" rr="BN" rrt="" rra="2" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" success="https://www.scitrans.ie/wp/thank-you/?subscr_id=%%subscr_id%%" /]

Two last things… the s2 login widget always sends the user to thankyou even if ‘previous page is selected, any thoughts?
Finally…. any way to bypass wp-login and just go to the site page with login widget?

Posted: Wednesday Jun 19th, 2013 at 4:20 am #52171

Hi,
Anything more on this?

Posted: Thursday Jun 20th, 2013 at 12:43 am #52262

That seems a little confusing; at the minute if a subscriber is logged in they can use the pro form button (to get L1 access) and they can (as desired) bypass the auto return page.
Are you saying that if they purchase something else to give them additional custom capabvilities they will have to go through the autoreturn page?

With the [hilite mono]success[/hilite] attribute for PayPal Standard buttons, yes. [hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> success[/hilite]

For i’d like to look like a standard paypal button (i.e. minus username etc.
[[s2Member-Pro-PayPal-Form level="1" ccaps="hgvdriver" desc="$0.01 EUR / One Time (for lifetime access, non-recurring, no trial)" ps="paypal" lc="" cc="EUR" dg="0" ns="1" custom="www.xxx.ie" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="L" rr="BN" rrt="" rra="2" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" success="https://www.scitrans.ie/wp/thank-you/?subscr_id=%%subscr_id%%" /]]

I understand now what you meant earlier. Since the success attribute works for upgrades in the pro-form, you want to use it, but have it look like a PayPal Standard button. Is that it?

Well, you can edit the template, and style it too. Not sure how far you can take it, though, haven’t tried. This should help: http://www.s2member.com/kb/pro-forms/#customizing-pro-forms

the s2 login widget always sends the user to thankyou even if ‘previous page is selected, any thoughts?

Did you verify the setting in the widget’s admin? And what page is the widget you’re logging in from? I’d need to try this myself to see how it’s behaving in your site. s2Member® » Private Contact Form

Finally…. any way to bypass wp-login and just go to the site page with login widget?

The person would be taken to wp-login.php if the login failed, or he clicks the signup link, or the forgotten password link. If it’s after login, instead of the Login Welcome Page or the page where the widget is (depending on your setting), then I’d check for a plugin or the theme overriding it. See: Video » s2Member (Login Welcome Page Conflicts?)

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